You are not logged in.

#1 2010-09-20 15:24:54

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

"Unable to mount <device>: not authorized"

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

#2 2010-09-20 15:35:59

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,681

Re: "Unable to mount <device>: not authorized"

What groups does your user belong to?

Offline

#3 2010-09-20 15:42:44

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Re: "Unable to mount <device>: not authorized"

renan@sanctuary ~ % groups
uucp games hal video audio optical storage power users vboxusers networkmanager

Offline

#4 2010-09-20 19:08:22

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: "Unable to mount <device>: not authorized"

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

#5 2010-09-20 19:30:36

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Re: "Unable to mount <device>: not authorized"

Knute wrote:

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/sdb1

Offline

#6 2010-09-21 21:24:38

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: "Unable to mount <device>: not authorized"

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

#7 2010-09-22 15:25:22

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Re: "Unable to mount <device>: not authorized"

It's an USB flash drive, and has no entry on the /etc/fstab.

Offline

#8 2010-09-22 15:31:23

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: "Unable to mount <device>: not authorized"

Offline

#9 2010-09-23 23:37:35

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Re: "Unable to mount <device>: not authorized"

It is a good idea, too. Strange is that, with another user, automounting under GNOME works normally...

Offline

#10 2011-03-21 18:37:49

sistematico
Member
From: Campo Grande / MS / Brasil
Registered: 2008-07-26
Posts: 97
Website

Re: "Unable to mount <device>: not authorized"

Try this:

exec ck-launch-session dbus-launch gnome-session

More info: https://wiki.archlinux.org/index.php/HA … rmal_users


Lucas Saliés Brum
blog | medium | vk | twitter | github | .share
Forgive the spelling and grammar, English is not my native language.

Offline

#11 2011-03-22 02:05:27

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: "Unable to mount <device>: not authorized"

Renan Birck wrote:

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

#12 2012-11-21 17:15:40

mesziman
Member
Registered: 2012-10-05
Posts: 7

Re: "Unable to mount <device>: not authorized"

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

#13 2012-11-21 17:56:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: "Unable to mount <device>: not authorized"

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


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB