Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not authorized to mount flash drive in gnome
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Galumph
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2010
Posts: 122
Location: Israel

PostPosted: Mon Aug 23, 2010 11:08 am    Post subject: Not authorized to mount flash drive in gnome Reply with quote

When plugging in a flash drive I get "Unable to mount 1.0 GB filesystem: Not authorized."

I've added myself to both plugdev and usb, is there another group I should be in for this to work?
Code:
ron@Tux ~ $ groups
wheel audio cdrom video games usb plugdev vboxusers ron

I've compiled the gnome-volume-manager using the automount flag as well.

Edit: mounting with mount works, but I'd like it to automount.
Back to top
View user's profile Send private message
paulusbrand
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2009
Posts: 111

PostPosted: Mon Aug 23, 2010 11:43 am    Post subject: Reply with quote

What version of gnome or gnome-light are you using. Big chance you don't need gnome-volume manager, gnome uses gnome-disk-utily nowadays. You have to authorize yourself for udisks it's a policykit rule you need to edit. I can't find the details right now. But google should help finding it.
Back to top
View user's profile Send private message
Galumph
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2010
Posts: 122
Location: Israel

PostPosted: Mon Aug 23, 2010 12:27 pm    Post subject: Reply with quote

How do I check which version I have? I had gnome installed when I first installed my system, which was maybe a month or two ago, so it should be pretty recent.
I tried emerging udisks, if that's what you meant, but I get this error and a lot of red text:
Code:
ron@Tux ~ $ emerge -vp udisks

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-fs/udisks-1.0.1-r1  USE="nls -bash-completion -debug -doc -remote-access" 698 kB
[blocks B     ] sys-apps/devicekit-disks ("sys-apps/devicekit-disks" is blocking sys-fs/udisks-1.0.1-r1)

Total: 1 package (1 new), Size of downloads: 698 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'sys-apps/devicekit-disks-009', 'nomerge') pulled in by
    >=sys-apps/devicekit-disks-007 required by ('installed', '/', 'sys-apps/gnome-disk-utility-2.28.1', 'nomerge')

  ('ebuild', '/', 'sys-fs/udisks-1.0.1-r1', 'merge') pulled in by
    udisks


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

I'm guessing this isn't what you meant.
Back to top
View user's profile Send private message
paulusbrand
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2009
Posts: 111

PostPosted: Mon Aug 23, 2010 1:52 pm    Post subject: Reply with quote

Month or two? Your gnome is pretty old then :wink:

Do:

emerge --sync

emerge -pvuDN world

check the list. Make sure automount useflag is enabled for gnome.
If you get blocks, try to unmerge the packages that cause the block, "sys-apps/devicekit-disks" would be one. But don't unmerge stuff that breaks portage!
Also check for libpng if you come from 1.2 and update to 1.4 it can cause some problems. Search forum for answer.

emerge -uDN world

to update all your packages.

reboot or logout and in to check if automount works.

Good luck

PS. Dont try to manually merge udisks. Udisks wil be a dependency of gnome and therefore emerged automatically when updating gnome with automount useflag.
Back to top
View user's profile Send private message
bear24rw
n00b
n00b


Joined: 17 Aug 2010
Posts: 28

PostPosted: Tue Aug 24, 2010 12:33 am    Post subject: Reply with quote

try this:

user@user-gentoo ~ $ cat .xinitrc
export XDG_MENU_PREFIX=gnome-
exec ck-launch-session gnome-session

then restart x

if that doesnt fix it, then remove automount from use flags and -uDNav world and then reboot to be safe

if that doesnt fix it, try rc-update add consolekit default, reboot to be safe
Back to top
View user's profile Send private message
paulusbrand
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2009
Posts: 111

PostPosted: Tue Aug 24, 2010 6:25 am    Post subject: Reply with quote

Consolekit should always be running if you do "export XDG_MENU_PREFIX=gnome-
exec ck-launch-session gnome-session". The command is useless without consolekit running.

And if you want to automount the proper way you enable the automount useflag and let portage resolve dependancies. Automount will work fine this way, but you need to update all your gnome packages first.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum