From: Paul Colquhoun <paulcol@andor.dropbear.id.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: automounting usb drives
Date: Sun, 27 Feb 2011 11:32:52 +1100 [thread overview]
Message-ID: <201102271132.52892.paulcol@andor.dropbear.id.au> (raw)
In-Reply-To: <20110226220441.3f408411@acme7.acmenet>
On Sun, 27 Feb 2011 11:04:41 luis jure wrote:
> on 2011-02-26 at 14:44 walt wrote:
> >xfce4-session also recognizes the policykit and consolekit USE flag, and
> >those two things seem to be the way of the future (until tomorrow, anyway)
> >for desktop managers like kde and gnome.
> >
> >xfce has always been closely related to gnome, and it still uses the gnome
> >USE flag, I see. I'd suggest setting the three USE flags I've mentioned
> >and see what happens.
>
> OK, i undid everything i had been trying and decided to try this path. i
> recompiled xfce4-session with policykit, consolekit and gnome.
>
> i don't have a graphical login manager, i start X with startx from the
> console, and my .xinitrc is simply:
>
> exec ck-launch-session startxfce4
>
> if i start X as root things work in a more or less satisfactory way: pen
> drives appear on the side bar on thunar and i can mount and eject them
> (not umount).
>
> but if i start X as a normal user, i get a "not authorized" message from
> thunar and i can't mount the devices.
>
> now, i belong to just about every group out there:
>
> root disk lp wheel audio cdrom video cdrw usb users lpadmin portage
> plugdev lj vboxusers scanner
>
> any ideas why i don't have permissions to mount the usb drives?
> (also, after doing these changes i can't shutdown or reboot form xfce)
>
> anyway, it seems i'm getting closer... a big thank you to all that have
> been following this thread, i hope i'll be able to resolve this last
> issue...
If it involved PolicyKit, that may be the cause. Look in
/etc/PolicyKit/PolicyKit.conf and see if that is blocking your access. I had
to add/modify mine to allow user mounts. This is the relevent section I had to
change:
<match action="org.freedesktop.hal.storage.*">
<return result="yes" />
</match>
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.
next prev parent reply other threads:[~2011-02-27 1:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-26 1:31 [gentoo-user] automounting usb drives luis jure
2011-02-26 1:42 ` Dale
2011-02-26 11:43 ` luis jure
[not found] ` <ik9tsu$l8q$1@dough.gmane.org>
2011-02-26 11:40 ` [gentoo-user] " luis jure
2011-02-26 22:44 ` walt
2011-02-27 0:04 ` luis jure
2011-02-27 0:32 ` Paul Colquhoun [this message]
2011-02-27 2:10 ` luis jure
2011-02-27 2:51 ` Paul Colquhoun
2011-02-27 12:54 ` [gentoo-user] Re: automounting usb drives [SOLVED] luis jure
2011-02-27 19:18 ` walt
2011-02-26 12:42 ` [gentoo-user] automounting usb drives Marc Joliet
2011-02-26 13:30 ` luis jure
2011-02-26 14:46 ` luis jure
2011-02-26 14:53 ` [gentoo-user] " Nikos Chantziaras
2011-02-26 15:09 ` luis jure
2011-02-26 15:35 ` Nikos Chantziaras
2011-02-26 14:47 ` [gentoo-user] " Marc Joliet
2011-02-26 15:14 ` luis jure
2011-02-26 16:47 ` Marc Joliet
2011-02-26 15:17 ` Christoph Brendes
2011-02-26 15:27 ` luis jure
2011-02-26 15:41 ` Christoph Brendes
2011-02-27 3:20 ` Duong "Yang" Ha Nguyen
2011-02-27 11:13 ` luis jure
2011-02-27 12:39 ` Stéphane Guedon
2011-02-27 16:58 ` Stéphane Guedon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201102271132.52892.paulcol@andor.dropbear.id.au \
--to=paulcol@andor.dropbear.id.au \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox