<div dir="ltr">On Wed, Mar 14, 2012 at 23:59, Rohan Jain <span dir="ltr">&lt;<a href="mailto:crodjer@gmail.com">crodjer@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
A similar issue exists for me too. It works if I use gdm3 or lightdm as my<br>
desktop manager, but there are some other issues these window managers pose,<br>
which make them not worth switching to. So, I use xdm. I start xsession using,<br>
<br>
    ck-launch-session dbus-launch xmonad<br>
<br>
But I still get &quot;Not Authorized&quot; errors with udisks. How do others handle this?<br></blockquote><div><br></div><div>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 session.</div>
<div><br></div><div>$ mv .xsession .xsession-real</div><div>$ cat &gt; .xsession<br></div><div>#! /bin/sh</div><div>exec ck-launch-session dbus-launch $HOME/.xsession-real</div><div>^D</div><div>$ chmod +x .xsession .xsession-real</div>
<div><br></div><div>And xmonad and any additional programs are then run from .xsession-real.</div><div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>
wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br><br>
</div>