You are not logged in.
I updated Arch linux yesterday and the update went off without any errors. However, now I cannot access other partitions on the computer (whether ext4/ntfs/fat32). The error is as follows:
An error occurred while accessing 'partition-name'. the system responded: An unspecified error has occurred: Not authorized to perform operation.
What could be the reason and how can I solve this? Thanks for your help.
Last edited by rnarch (2013-09-12 03:20:51)
Offline
Have you tried googling around?
https://bbs.archlinux.org/viewtopic.php … 7#p1064737
Does this error occur when you mount by hand?
Offline
@karol: Thanks for pointing me in the right direction. I am away from my main computer and will let you know the progress later.
Offline
I am able to mount using command line (mount /dev/sda5 /mnt/mydir) without any problem.
My .xinitrc contains:
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xset +fp /usr/share/fonts/local
xset fp rehashAnd the folder /etc/X11/xinit/xinitrc.d contains:
$ ls -l /etc/X11/xinit/xinitrc.d
total 12288
-rwxr-xr-x 1 root root 180 Jun 13 18:03 30-dbus*
-rwxr-xr-x 1 root root 398 Jun 7 23:48 40-libcanberra-gtk-module*
-rwxr-xr-x 1 root root 301 Jun 7 22:42 pulseaudio*There was an /etc/slim.conf.pacsave file which I renamed as /etc/slim.conf and rebooted, but it did not solve the problem. The slim.conf file is as follows (without comments):
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
xauth_path /usr/bin/xauth
authfile /var/run/slim.auth
login_cmd exec /bin/bash -login ~/.xinitrc %session
sessions kde,xfce4,icewm,wmaker,blackbox
screenshot_cmd import -window root /slim.png
welcome_msg Welcome to %host
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
current_theme default
lockfile /var/lock/slim.lock
logfile /var/log/slim.logI am not sure how to proceed.
Offline
What does your xinitrc and slim.conf have to do with mounting a filesystem? I am really quite confused as to what your actual problem is after that post. Do you have an issue with X? Or is it a mounting issue? What exactly is the output from the command line if it is a mounting problem?
Offline
My problem is clearly stated in my first post. The link given to me by @karol discussed .xinitrc and slim.conf, hence I posted that information here. I am not sure what is the exact issue. As I mentioned in my post above (#4), there is no problem if I mount from the command line. It is only when I try to mount from Dolphin or Thunar file manager, I get the error that I mentioned in my first post. I am using LXDE as my desktop and usually I get graphic login on booting. Earlier I was getting command line on boot and I had to give command 'sudo lxdm' to start the graphic login.
Last edited by rnarch (2013-09-11 07:19:06)
Offline
Are you logged into the correct session?
There was a lxdm update yesterday that (nearly) had me scratching my head as it unset my default session without warning (how rude!).
If you are using lxdm as your DM a slim.conf isn't gonna help... have a look and see if you have an /etc/lxdm/lxdm.conf.pacnew that needs merging with your existing /etc/lxdm/lxdm.conf.
Is the lxdm service still enabled after the update?
If you are logged into the wrong session you may have the wrong permissions to mount... "sudo lxdm" doesn't sound too clever to me as lxdm is run as a service...
Offline
There is no pacnew file for lxdm.conf, which is given below:
[base]
greeter=/usr/lib/lxdm/lxdm-greeter-gtk
[server]
[display]
gtk_theme=Clearlooks
bottom_pane=1
lang=1
keyboard=0
theme=Industrial
[input]
[userlist]
disable=0
white=
black=lxdm.service is enabled and running and I am getting graphic login at boot without any problem:
$ systemctl status lxdm
lxdm.service - LXDE Display Manager
Loaded: loaded (/usr/lib/systemd/system/lxdm.service; enabled)
Active: active (running) since Wed 2013-09-11 21:57:04 IST; 6min ago
Main PID: 166 (lxdm-binary)
CGroup: name=systemd:/system/lxdm.service
229 /usr/bin/X :0 vt07 -nolisten tcp
166 /usr/bin/lxdm-binaryOffline
What's the location of that lxdm.conf?
$ cat /etc/lxdm/lxdm.conf
[base]
## uncomment and set autologin username to enable autologin
# autologin=dgod
## uncomment and set timeout to enable timeout autologin,
## the value should >=5
# timeout=10
## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde
## uncomment and set to set numlock on your keyboard
# numlock=0
## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp
# not ask password for users who have empty password
# skip_password=1
## greeter used to welcome the user
greeter=/usr/lib/lxdm/lxdm-greeter-gtk
[server]
## arg used to start xserver, not fully function
arg=/usr/bin/X -background vt1
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou
# reset=1
[display]
## gtk theme used by greeter
gtk_theme=Clearlooks
## background of the greeter
# bg=/usr/share/backgrounds/default.png
## if show bottom pane
bottom_pane=1
## if show language select control
lang=1
## if show keyboard layout select control
keyboard=0
## the theme of greeter
theme=Industrial
[input]
[userlist]
## if disable the user list control at greeter
disable=0
## whitelist user
white=
## blacklist user
black=Offline
The lxdm.conf is in /etc/lxdm/ folder. I again updated my system and there was a lxdm.conf.pacnew now, which I renamed to lxdm.conf and rebooted. However, still the problem persists.
Offline
and what about
/etc/pam.d/lxdm.pacnewThere may be some manual merging required ![]()
EDIT::
It may be useful to you to have a look and see what other "pacnew" files you have overlooked recently...
cat /var/log/pacman.log | grep 'pacnew'Last edited by satanselbow (2013-09-11 13:32:49)
Offline
@satanselbow
There's e.g. pacdiff:
$ pacdiff -h
pacdiff : a simple pacnew/pacorig/pacsave updater
Usage : pacdiff [-l]
-l/--locate makes pacdiff use locate rather than find
DIFFPROG variable allows to override the default vimdiff
DIFFSEARCHPATH allows to override the default /etc path
Example : DIFFPROG=meld DIFFSEARCHPATH="/boot /etc /usr" pacdiff(I'm using [testing])
Offline
Do you have polkit-gnome installed? If so how did you handle the update?
The agent is no longer autostarted by default except in GNOME Flashback.
For Xfce, LXDE etc., "lxpolkit" is the suggested lightweight alternative.
See https://wiki.archlinux.org/index.php/Polkit#Authentication_agents for
more detailsOffline
There is no /etc/pam.d/lxdm.pacnew. The /etc/pam.d/lxdm is as follows:
$ cat /etc/pam.d/lxdm
#%PAM-1.0
auth include system-login
-auth optional pam_gnome_keyring.so
account include system-login
password include system-login
session include system-login
-session optional pam_gnome_keyring.so auto_startThere is a /etc/pam.d/login.pacnew:
$ cat /etc/pam.d/login.pacnew
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
account include system-local-login
session include system-local-loginThe /etc/pam.d/login file is as follows:
$ cat /etc/pam.d/login
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth required pam_unix.so nullok
auth required pam_tally.so onerr=succeed file=/var/log/faillog
# use this to lockout accounts for 10 minutes after 3 failed attempts
#auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
account required pam_access.so
account required pam_time.so
account required pam_unix.so
#password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
#password required pam_unix.so sha512 shadow use_authtok
session required pam_unix.so
session required pam_env.so
session required pam_motd.so
session required pam_limits.so
session optional pam_mail.so dir=/var/spool/mail standard
session optional pam_lastlog.so
session optional pam_loginuid.so
-session optional pam_ck_connector.so nox11
-session optional pam_systemd.soThe command "cat /var/log/pacman.log | grep 'pacnew'" produced many pacnew files since I have not merged any of those for a long time.
"henk" wrote: Do you have polkit-gnome installed? If so how did you handle the update?
Yes, I had polkit-gnome installed but not lxpolkit. On installing lxpolkit and restarting, the problem is solved. Many thanks for your help. Can I now remove polkit-gnome?
Do any of the pacnew files need urgent attention?
Last edited by rnarch (2013-09-12 09:05:44)
Offline
You haven't merged any of those?!
Offline
You haven't merged any of those?!
Thread just went epic...
Offline
WonderWoofy wrote:You haven't merged any of those?!
Thread just went epic...
About that pacdiff thing...
Offline
Frankly, I have been using Arch only as a rescue system on my computer now for quite some time and working mainly on another distro which is more user-friendly for non-geeks like me. However, my Arch system had been working all right after intermittent updates and I had used 'fix it only if it is broken' approach. I am now going through the wiki page on pacnew (https://wiki.archlinux.org/index.php/Pacnew_and_Pacsave_Files ) and have tried pacdiff which seems very straight forward. Thank you all for your help. I have marked this thread as solved.
Offline
Don't delete information from your posts like that. It may briefly ease your sense of embarrassment, but it removes important context from the thread.
Offline