You are not logged in.
Pages: 1
Topic closed
Hello,
After a long time without using it, I'm trying GNOME again.
I started to get the problem that, when I plug any USB devices, I get 'Unable to mount <device label>: not authorized'.
Googling suggests me to use 'exec ck-launch-session gnome-session' on my .xinitrc, but I already have done that and the problem still persists.
If I use Openbox + Thunar as daemon, to automount, it works OK.
Any suggestions?
Thanks.
Offline
What groups does your user belong to?
Offline
Sounds like a permissions problem to me.
In order to find out what group you may need to be in, you can try these steps:
1. Plug in your usb device
2. Go into /dev/disk/ and find your device in any of the sub-directories in there.
3. Use ls -l on that device.
4. Since those are links to the actual device, you will get the real device that it's linked to.
5. Use ls -l on that device, and it will tell you what group it is set up to use, as well as permissions and such.
6. Add yourself to that group and relogin.
HTH
Knute
Offline
Sounds like a permissions problem to me.
In order to find out what group you may need to be in, you can try these steps:
1. Plug in your usb device
2. Go into /dev/disk/ and find your device in any of the sub-directories in there.
3. Use ls -l on that device.
4. Since those are links to the actual device, you will get the real device that it's linked to.
5. Use ls -l on that device, and it will tell you what group it is set up to use, as well as permissions and such.
6. Add yourself to that group and relogin.HTH
I tried that. The device (sdb1) is in the group 'storage', which I'm already a member of.
renan@sanctuary /dev/disk/by-label % ls -la RENAN
lrwxrwxrwx 1 root root 10 Sep 20 14:32 RENAN -> ../../sdb1
renan@sanctuary /dev/disk/by-label % ls -la /dev/sdb1
brw-rw---- 1 root storage 8, 17 Sep 20 14:32 /dev/sdb1Offline
If your device is a usb harddisk, then perhaps you need to go into your /etc/fstab and add the user option to your sdb1 options property, just like you would for a cdrom or dvd device.
Knute
Offline
Have you tried using a udev rule?
Offline
Try this:
exec ck-launch-session dbus-launch gnome-sessionMore info: https://wiki.archlinux.org/index.php/HA … rmal_users
Offline
Hello,
Googling suggests me to use 'exec ck-launch-session gnome-session' on my .xinitrc, but I already have done that and the problem still persists.
You shouldn't have to do "ck-launch-session" with GDM since it ought to implement this automatically. Did you check your session with "ck-list-sessions"?
I laugh, yet the joke is on me
Offline
The problem is present on my arch (slim+xfce ) too, after a recent update. I tried to use another login environment but it is not causing the problem as it was still present. I also can't shutdown or reboot instead those buttons just logout. Were the privileges of my user lowered somehow??
Offline
mesziman: please don't necrobump https://wiki.archlinux.org/index.php/Fo … Bumping.27
A search of the forums would tell you that a) there are a lot of recent threads with your issue and fixes, and b) consolekit is not longer necessary with systemd.
Closing
Offline
Pages: 1
Topic closed