View previous topic :: View next topic |
Author |
Message |
Galumph Tux's lil' helper
Joined: 15 Jul 2010 Posts: 122 Location: Israel
|
Posted: Mon Aug 23, 2010 11:08 am Post subject: Not authorized to mount flash drive in gnome |
|
|
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 |
|
|
paulusbrand Tux's lil' helper
Joined: 20 May 2009 Posts: 111
|
Posted: Mon Aug 23, 2010 11:43 am Post subject: |
|
|
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 |
|
|
Galumph Tux's lil' helper
Joined: 15 Jul 2010 Posts: 122 Location: Israel
|
Posted: Mon Aug 23, 2010 12:27 pm Post subject: |
|
|
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 |
|
|
paulusbrand Tux's lil' helper
Joined: 20 May 2009 Posts: 111
|
Posted: Mon Aug 23, 2010 1:52 pm Post subject: |
|
|
Month or two? Your gnome is pretty old then
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 |
|
|
bear24rw n00b
Joined: 17 Aug 2010 Posts: 28
|
Posted: Tue Aug 24, 2010 12:33 am Post subject: |
|
|
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 |
|
|
paulusbrand Tux's lil' helper
Joined: 20 May 2009 Posts: 111
|
Posted: Tue Aug 24, 2010 6:25 am Post subject: |
|
|
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 |
|
|
|