using xdm with ck-launch-session (PolicyKit/ConsoleKit)
Denis Shaposhnikov
dsh at wizard.volgograd.ru
Tue Aug 11 09:38:42 UTC 2009
Hello,
On Mon, 10 Aug 2009 15:26:27 -0400
Joe Marcus Clarke <marcus at freebsd.org> wrote:
> > [xxx at localhost ~]% /usr/local/libexec/ck-get-x11-display-device
> > /dev/ttyv1
>
> Clearly not when it's run when CK starts up. How exactly are you
> launching CK?
From /usr/local/lib/X11/xdm/Xsession:
# The startup script is not intended to have arguments.
startup=$HOME/.xsession
resources=$HOME/.Xresources
if [ -s "$startup" ]; then
if [ -x "$startup" ]; then
exec ck-launch-session "$startup"
else
exec ck-launch-session /bin/sh "$startup"
fi
else
> If you run this command from within your .xsession
> script, what output do you get?
I've found nobody executes /usr/local/libexec/ck-get-x11-display-device
during ck-launch-session. I've added
echo XXX > /tmp/123
into the begin of this script and didn't found /tmp/123 file after
login.
More information about the freebsd-gnome
mailing list