From owner-freebsd-gnome@FreeBSD.ORG Thu Apr 10 11:12:24 2008 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 22016106566B for ; Thu, 10 Apr 2008 11:12:24 +0000 (UTC) (envelope-from muxas@mail.ru) Received: from mx5.mail.ru (mx5.mail.ru [194.67.23.25]) by mx1.freebsd.org (Postfix) with ESMTP id D30798FC19 for ; Thu, 10 Apr 2008 11:12:23 +0000 (UTC) (envelope-from muxas@mail.ru) Received: from [80.243.71.203] (port=25447 helo=devel.muxas.net) by mx5.mail.ru with asmtp id 1JjuhY-0008he-00; Thu, 10 Apr 2008 15:12:20 +0400 Message-ID: <47FDF612.10508@mail.ru> Date: Thu, 10 Apr 2008 22:12:18 +1100 From: Maxim Vetrov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.1.13) Gecko/20080404 SeaMonkey/1.1.9 MIME-Version: 1.0 To: freebsd-gnome@FreeBSD.org References: <1207584457.80953.13.camel@shumai.marcuscom.com> In-Reply-To: <1207584457.80953.13.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Spam: Not detected Cc: Yar Tikhiy Subject: Re: Gnome pausing forever if restarted too soon? 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: Thu, 10 Apr 2008 11:12:24 -0000 Joe Marcus Clarke пишет: > On Mon, 2008-04-07 at 11:01 +0400, Yar Tikhiy wrote: > >> Hi all, >> >> Today I've got enough motivation to ask about a problem I've saw since >> my first days with Gnome in FreeBSD. When I quit my current Gnome >> session and start a new one in a moment, e.g., to test some new >> settings, Gnome won't fully start: It will show the initial logo, load >> some components, hide the logo, and then just pause with the empty >> desktop. It doesn't seem to matter if I use gdm or startx. The >> workaround I found is to kill Gnome-related processes left running >> after I quit Gnome, but doing so each time is a bit annoying. Is it a >> known issue? Sorry, I failed to find any references to it in the FAQs. >> > > The issue is with bonobo-activation-server. If it remains running > (i.e. some of its clients keep it running), GNOME will not restart. If > it alone is killed, GNOME will start right up. I haven't yet looked > into why these clients are not dying. > > Joe > > Just for those who might stuck with that issue as I. IMHO, there is a problem libbonobo if it's compiled with threading support (and it's the default setting in the port!). When it must cleanly quit after user logout it really doesn't because its thread is waiting for something... (see my previous posting on how to reveal that). I do not have enough technical expertise to find reason(s) of such behaviour. The workaround which worked for me is to disable threading. You can do it by putting BONOBO_ACTIVATION_DISABLE_THREADING=yes; export BONOBO_ACTIVATION_DISABLE_THREADING into /etc/profile. After login you must see confirmation from b-a-s in the /var/log/messages: Apr 10 21:41:55 devel bonobo-activation-server (muxas-3007): b-a-s running in non-threaded mode If b-a-s complains that it can't find /usr/local/etc/ConsoleKit/run-session.d, create this dir. Regards, Muxas