From owner-freebsd-gnome@FreeBSD.ORG Sun Apr 18 22:14:09 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 575881065688 for ; Sun, 18 Apr 2010 22:14:09 +0000 (UTC) (envelope-from nickdate@yahoo.co.uk) Received: from smarthost4.mail.uk.easynet.net (smarthost4.mail.uk.easynet.net [212.135.6.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2312E8FC1B for ; Sun, 18 Apr 2010 22:14:08 +0000 (UTC) Received: from bb-87-80-43-62.ukonline.co.uk ([87.80.43.62] helo=bobby.blowfish.homeunix.net) by smarthost4.mail.uk.easynet.net with esmtp (Exim 4.69) (envelope-from ) id 1O3ckh-000O05-Sn; Sun, 18 Apr 2010 23:14:07 +0100 Message-ID: <4BCB842D.9040803@yahoo.co.uk> Date: Sun, 18 Apr 2010 23:14:05 +0100 From: Nick Date User-Agent: Thunderbird 2.0.0.24 (X11/20100401) MIME-Version: 1.0 To: Joe Marcus Clarke References: <4BCA2DE2.4030809@yahoo.co.uk> <1271544438.18212.50.camel@shumai.marcuscom.com> In-Reply-To: <1271544438.18212.50.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 18 Apr 2010 22:14:09 -0000 Joe Marcus Clarke wrote: > On Sat, 2010-04-17 at 22:53 +0100, Nick Date wrote: > >> Hi, >> >> Having been through various attempts at fixing this problem on the >> forums here http://forums.freebsd.org/showthread.php?t=12087 I believe >> that there may be a bug in GDM/Gnome. >> >> Attempts from a 'normal' user to shutdown or restart the system whilst >> logged into Gnome (via GDM) cause the xserver to restart and cause the >> following message to be displayed in /var/log/messages ... >> >> Apr 17 22:11:47 bobby console-kit-daemon[1263]: GLib-GObject-CRITICAL: >> g_object_unref: assertion `G_IS_OBJECT (object)' failed >> >> Attempts to shut down from the GDM login screen also cause the above >> message but the xserver does not restart. >> >> - Both the user 'gdm' and login 'gdm' exist. I have tried making the gdm >> user a member of both operator and wheel to no avail. >> >> - My 'normal' user can shutdown fine from a Terminal by doing a >> 'shutdown -p now' >> >> - The system shuts down cleanly when the front power button is pressed. >> Pressing [CTRL], [ALT] + [DEL] on a console causes a clean reboot. >> >> - avahi, hald and dbus are running. gnome is started from rc.conf using >> 'gnome_enable="YES"' >> >> - /usr/local/etc/PolicyKit/PolicyKit.conf is as follows ... >> >> >> >> > 1.0//EN" >> "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> >> >> >> >> >> >> >> >> >> >> >> - I have tried adding the following to /usr/local/etc/gdm/custom.conf ... >> >> [daemon] >> HaltCommand=/sbin/shutdown -r now >> RebootCommand=/sbin/shutdown -r now >> >> - procfs is mounted on /proc >> >> >> Any help / confirmation of whether this is a bug or just my computer >> would be greatly appreciated. >> > > Force a rebuild/reinstall of sysutils/polkit and sysutils/polickit. > Reboot, and you should be set. > > Joe > > Joe, Thank you so much - that worked a treat. I will post a message on the forums letting them know that this issue is now resolved so they can close the thread. Thanks again! :) Nick.