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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-DTcA7Kxaj46PIo54AELc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-08-11 at 13:38 +0400, Denis Shaposhnikov wrote: > Hello, >=20 > On Mon, 10 Aug 2009 15:26:27 -0400 > Joe Marcus Clarke <marcus@freebsd.org> wrote: >=20 > > > [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? >=20 > From /usr/local/lib/X11/xdm/Xsession: >=20 > # The startup script is not intended to have arguments. >=20 > startup=3D$HOME/.xsession > resources=3D$HOME/.Xresources >=20 > if [ -s "$startup" ]; then > if [ -x "$startup" ]; then > exec ck-launch-session "$startup" > else > exec ck-launch-session /bin/sh "$startup" > fi > else >=20 > > If you run this command from within your .xsession > > script, what output do you get? >=20 > I've found nobody executes /usr/local/libexec/ck-get-x11-display-device > during ck-launch-session. I've added >=20 > echo XXX > /tmp/123 >=20 > 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=3D321652 It should add CK support to xdm natively assuming you define USE_CONSOLEKIT when building it. Joe >=20 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-DTcA7Kxaj46PIo54AELc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkqEHpwACgkQb2iPiv4Uz4cCzACgka5dnSu55+gULJr8Jx2YdEoV fasAn0mQeIWlS3gs9Kaz+2u9Tegs6Prm =zmsn -----END PGP SIGNATURE----- --=-DTcA7Kxaj46PIo54AELc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1250172573.77213.24.camel>