[Bug 285054] Re: Can't mount USB keys in xinit sessions

2008-10-21 Thread Steve Kowalik
No package, no closing bugs: ubuntu-mid-default-settings (0.10) intrepid; urgency=low * Unset XDG_SESSION_COOKIE just before we call startx so that we get a functional ConsoleKit session inside X. (LP: #285054) -- Steve Kowalik <[EMAIL PROTECTED]> Tue, 21 Oct 2008 19:22:28 +1100 ** Chan

[Bug 285054] Re: Can't mount USB keys in xinit sessions

2008-10-21 Thread Steve Kowalik
Looks like it doesn't get run in 90consolekit at all: if [ -z "$XDG_SESSION_COOKIE" ] && [ -x "$CK_LAUNCH_SESSION" ]; then And here is the environment at the time of 90consolekit: USER=ubuntu MAIL=/var/mail/ubuntu SHLVL=2 HOME=/home/ubuntu XDG_SESSION_COOKIE=28e155332bba7eb66e0b852448fd7006-1224

[Bug 285054] Re: Can't mount USB keys in xinit sessions

2008-10-17 Thread Loïc Minier
Will try that; I'm also thinking that it might the Xsession.d snippet disables itself then the xinit CK support is enabled, that last one being incomplete/broken; need to verify this theory as well. -- Can't mount USB keys in xinit sessions https://bugs.launchpad.net/bugs/285054 You received this

[Bug 285054] Re: Can't mount USB keys in xinit sessions

2008-10-17 Thread Martin Pitt
I think StevenK had the same problem this morning. However, he confirmed that a "ck-launch-session" in a running X session worked. My current guess is that $DISPLAY isn't defined at the time when /etc/X11/Xsession.d/90consolekit is ran. Can you please add some debug statements like "env > /tmp/env

[Bug 285054] Re: Can't mount USB keys in xinit sessions

2008-10-17 Thread Loïc Minier
This affects Ubuntu MID which uses startx. ** Changed in: ubuntu Importance: Undecided => High Target: None => ubuntu-8.10 -- Can't mount USB keys in xinit sessions https://bugs.launchpad.net/bugs/285054 You received this bug notification because you are a member of Ubuntu Bugs, which