Date: Sat, 17 Apr 2010 18:47:18 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Nick Date <nickdate@yahoo.co.uk> Cc: freebsd-gnome@freebsd.org Subject: Re: GDM refuses to shutdown. Message-ID: <1271544438.18212.50.camel@shumai.marcuscom.com> In-Reply-To: <4BCA2DE2.4030809@yahoo.co.uk> References: <4BCA2DE2.4030809@yahoo.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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 > <?xml version=3D"1.0" encoding=3D"UTF-8"?> <!-- -*- XML -*- --> >=20 > <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration=20 > 1.0//EN" > "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> >=20 > <!-- See the manual page PolicyKit.conf(5) for file format --> >=20 > <config version=3D"0.1"> > <match user=3D"root"> > <return result=3D"yes"/> > </match> > <define_admin_auth group=3D"wheel"/> > </config> >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1271544438.18212.50.camel>