Date: Sat, 13 Jun 2009 21:47:14 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Gustau =?ISO-8859-1?Q?P=E9rez?= <gperez@entel.upc.edu> Cc: freebsd-gnome@freebsd.org Subject: Re: consolekit problem and CURRENT Message-ID: <1244944034.39104.6.camel@shumai.marcuscom.com> In-Reply-To: <4A2CFAC3.2060408@entel.upc.edu> References: <4A2CFAC3.2060408@entel.upc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-s8P/ofrfMNDei3wxjEAV Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Mon, 2009-06-08 at 13:49 +0200, Gustau P=E9rez wrote: > Hi, >=20 > I'm seeing problems with consolekit and CURRENT. When I start a > session with gnome (via gdm) I can't mount usb's, can't shutdown or > reboot, etc ... Reading the FAQ, it states that policykit will grant > those things to local and active sessions automatically (checking is > done via consolekit). >=20 > The faq says proc needs to be mounted (done) and the graphical > session must be started via gdm (got it). In a terminal ck-list-session, > shows : >=20 > Session6: > unix-user =3D '1002' > realname =3D 'Gustau Perez' > seat =3D 'Seat1' > session-type =3D '' > active =3D FALSE > x11-display =3D ':0' > x11-display-device =3D '/dev/rw' > display-device =3D 'ttyv1' > remote-host-name =3D '' > is-local =3D TRUE > on-since =3D '2009-06-08T11:05:22.366887Z' > login-session-id =3D '' >=20 > Looks like it is unable to detect the graphical session as a local > session. XDG_SESSION_COOKIE is set. GDM has this variable set too (I > checked it via ps auwwex). >=20 > I even tried (in text mode) the following : >=20 > # ck-launch-session /usr/local/bin/bash > # ck-list-sessions >=20 >=20 > I start gdm using gnome_enable=3D"YES" in rc.conf. >=20 > Any idea ? Looks like something is wrong with your fstat(1) executable. Run the following commands: /usr/local/libexec/ck-get-x11-display-device cat /tmp/.X0-lock fstat -p `cat /tmp/.X0-lock` | grep ttyv What about do you get? Joe > =20 >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-s8P/ofrfMNDei3wxjEAV 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) iEYEABECAAYFAko0VqEACgkQb2iPiv4Uz4d2pACgoonToTnV2MLqNnMYJZnmXnZt dTMAn3affh/p8ZUfIgb+h1+XvLutBgPn =h5pt -----END PGP SIGNATURE----- --=-s8P/ofrfMNDei3wxjEAV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1244944034.39104.6.camel>