From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 12 18:28:26 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 191FB106566C for ; Sat, 12 Apr 2008 18:28:26 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao106.cox.net (eastrmmtao106.cox.net [68.230.240.48]) by mx1.freebsd.org (Postfix) with ESMTP id 823558FC1C for ; Sat, 12 Apr 2008 18:28:25 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao106.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080412182819.QFOR15722.eastrmmtao106.cox.net@eastrmimpo02.cox.net>; Sat, 12 Apr 2008 14:28:19 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id CiUP1Z00G4iy4EG02iUPa3; Sat, 12 Apr 2008 14:28:24 -0400 Date: Sat, 12 Apr 2008 13:30:15 -0500 To: "Maxim Vetrov" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <1207584457.80953.13.camel@shumai.marcuscom.com> <47FDF612.10508@mail.ru> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <47FDF612.10508@mail.ru> User-Agent: Opera Mail/9.27 (Linux) Cc: Yar Tikhiy , freebsd-gnome@freebsd.org 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: Sat, 12 Apr 2008 18:28:26 -0000 On Thu, 10 Apr 2008 06:12:18 -0500, Maxim Vetrov wrote: > 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 It's a complete guess, I don't know if it's related or not. Does it has to do with libbonobo/files/patch-activation-server_object-directory-corba.c ? Will remove this make any different or not? Anyway, there is debug tip in ${WRKSRC}/activation-server/README that maybe will helping to find specific problem. It looks like it's a good idea to add WITH_DEBUG in libbonobo. Cheers, Mezz > If b-a-s complains that it can't find > /usr/local/etc/ConsoleKit/run-session.d, create this dir. > > Regards, > Muxas -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org