From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 17 22:46:36 2010 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 625041065673 for ; Sat, 17 Apr 2010 22:46:36 +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 2D3B68FC14 for ; Sat, 17 Apr 2010 22:46:36 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.4/8.14.4) with ESMTP id o3HMlcrr031420; Sat, 17 Apr 2010 18:47:38 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Nick Date In-Reply-To: <4BCA2DE2.4030809@yahoo.co.uk> References: <4BCA2DE2.4030809@yahoo.co.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-RvBMLT/yDSD6sGFL9FCx" Organization: MarcusCom, Inc. Date: Sat, 17 Apr 2010 18:47:18 -0400 Message-ID: <1271544438.18212.50.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,HELO_NO_DOMAIN, MIME_QP_LONG_LINE autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on creme-brulee.marcuscom.com Cc: freebsd-gnome@freebsd.org Subject: Re: GDM refuses to shutdown. 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: Sat, 17 Apr 2010 22:46:36 -0000 --=-RvBMLT/yDSD6sGFL9FCx Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Sat, 2010-04-17 at 22:53 +0100, Nick Date wrote: > Hi, >=20 > Having been through various attempts at fixing this problem on the=20 > forums here http://forums.freebsd.org/showthread.php?t=3D12087 I believe=20 > that there may be a bug in GDM/Gnome. >=20 > Attempts from a 'normal' user to shutdown or restart the system whilst=20 > logged into Gnome (via GDM) cause the xserver to restart and cause the=20 > following message to be displayed in /var/log/messages ... >=20 > Apr 17 22:11:47 bobby console-kit-daemon[1263]: GLib-GObject-CRITICAL:=20 > g_object_unref: assertion `G_IS_OBJECT (object)' failed >=20 > Attempts to shut down from the GDM login screen also cause the above=20 > message but the xserver does not restart. >=20 > - Both the user 'gdm' and login 'gdm' exist. I have tried making the gdm=20 > user a member of both operator and wheel to no avail. >=20 > - My 'normal' user can shutdown fine from a Terminal by doing a=20 > 'shutdown -p now' >=20 > - The system shuts down cleanly when the front power button is pressed.=20 > Pressing [CTRL], [ALT] + [DEL] on a console causes a clean reboot. >=20 > - avahi, hald and dbus are running. gnome is started from rc.conf using=20 > 'gnome_enable=3D"YES"' >=20 > - /usr/local/etc/PolicyKit/PolicyKit.conf is as follows ... >=20 > >=20 > 1.0//EN" > "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> >=20 > >=20 > > > > > > >=20 > - I have tried adding the following to /usr/local/etc/gdm/custom.conf ... >=20 > [daemon] > HaltCommand=3D/sbin/shutdown -r now > RebootCommand=3D/sbin/shutdown -r now >=20 > - procfs is mounted on /proc >=20 >=20 > Any help / confirmation of whether this is a bug or just my computer=20 > would be greatly appreciated. Force a rebuild/reinstall of sysutils/polkit and sysutils/polickit. Reboot, and you should be set. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-RvBMLT/yDSD6sGFL9FCx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAkvKOnUACgkQb2iPiv4Uz4cXSwCfeJx0810CJuDKE48Xda3d81qd Ea0An0HMPbVxGZZTVGL6zD9ErAim6KJU =AsuN -----END PGP SIGNATURE----- --=-RvBMLT/yDSD6sGFL9FCx--