Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 13:38:32 +0400
From:      Denis Shaposhnikov <dsh@wizard.volgograd.ru>
To:        Joe Marcus Clarke <marcus@freebsd.org>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: using xdm with ck-launch-session (PolicyKit/ConsoleKit)
Message-ID:  <20090811133832.1a68b865@wizard.volgograd.ru>
In-Reply-To: <4A807463.7070901@freebsd.org>
References:  <20090810202102.3a2cf103@wizard.volgograd.ru> <4A805644.5020703@freebsd.org> <20090810220615.63b54b5c@wizard.volgograd.ru> <4A8070BB.6050105@freebsd.org> <20090810232225.4a0ea576@wizard.volgograd.ru> <4A807463.7070901@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On Mon, 10 Aug 2009 15:26:27 -0400
Joe Marcus Clarke <marcus@freebsd.org> wrote:

> > [xxx@localhost ~]% /usr/local/libexec/ck-get-x11-display-device
> > /dev/ttyv1
>=20
> Clearly not when it's run when CK starts up.  How exactly are you
> launching CK?

=46rom /usr/local/lib/X11/xdm/Xsession:

# The startup script is not intended to have arguments.

startup=3D$HOME/.xsession
resources=3D$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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090811133832.1a68b865>