Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2009 10:09:33 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Denis Shaposhnikov <dsh@wizard.volgograd.ru>
Cc:        freebsd-gnome@FreeBSD.org
Subject:   Re: using xdm with ck-launch-session (PolicyKit/ConsoleKit)
Message-ID:  <1250172573.77213.24.camel@shumai.marcuscom.com>
In-Reply-To: <20090811133832.1a68b865@wizard.volgograd.ru>
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> <20090811133832.1a68b865@wizard.volgograd.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, 2009-08-11 at 13:38 +0400, Denis Shaposhnikov wrote:
> 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
> > 
> > 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.

You may want to have a look at this patch:

https://bugzilla.redhat.com/attachment.cgi?id=321652

It should add CK support to xdm natively assuming you define
USE_CONSOLEKIT when building it.

Joe

> 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkqEHpwACgkQb2iPiv4Uz4cCzACgka5dnSu55+gULJr8Jx2YdEoV
fasAn0mQeIWlS3gs9Kaz+2u9Tegs6Prm
=zmsn
-----END PGP SIGNATURE-----
help

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