[xmonad] udiskie+consolekit and still unauthorized access

Brandon Allbery allbery.b at gmail.com
Thu Mar 15 05:04:31 CET 2012

On Wed, Mar 14, 2012 at 23:59, Rohan Jain <crodjer at gmail.com> wrote:

> A similar issue exists for me too. It works if I use gdm3 or lightdm as my
> desktop manager, but there are some other issues these window managers
> pose,
> which make them not worth switching to. So, I use xdm. I start xsession
> using,
>    ck-launch-session dbus-launch xmonad
> But I still get "Not Authorized" errors with udisks. How do others handle
> this?

How/where are you launching udiskie or whatever?  It needs to be within the
same ConsoleKit session; the display managers you mentioned arrange for the
entire user session to be in a CK session, but if you do it yourself you
may need to arrange for your whole .xsession or equivalent to be in a CK

$ mv .xsession .xsession-real
$ cat > .xsession
#! /bin/sh
exec ck-launch-session dbus-launch $HOME/.xsession-real
$ chmod +x .xsession .xsession-real

And xmonad and any additional programs are then run from .xsession-real.

brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120315/0c6fffec/attachment.htm>

More information about the xmonad mailing list