From owner-freebsd-gnome@FreeBSD.ORG Sun Jun 14 01:47:04 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71999106564A for ; Sun, 14 Jun 2009 01:47:04 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8248FC0A for ; Sun, 14 Jun 2009 01:47:03 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n5E1m0wo068672; Sat, 13 Jun 2009 21:48:00 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Gustau =?ISO-8859-1?Q?P=E9rez?= In-Reply-To: <4A2CFAC3.2060408@entel.upc.edu> References: <4A2CFAC3.2060408@entel.upc.edu> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-s8P/ofrfMNDei3wxjEAV" Organization: MarcusCom, Inc. Date: Sat, 13 Jun 2009 21:47:14 -0400 Message-Id: <1244944034.39104.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-gnome@freebsd.org Subject: Re: consolekit problem and CURRENT X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 01:47:04 -0000 --=-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--