From owner-freebsd-gnome@FreeBSD.ORG Tue Jul 13 16:24:46 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 450A01065674; Tue, 13 Jul 2010 16:24:46 +0000 (UTC) (envelope-from jilingshu@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8738FC1A; Tue, 13 Jul 2010 16:24:45 +0000 (UTC) Received: by pzk7 with SMTP id 7so1608951pzk.13 for ; Tue, 13 Jul 2010 09:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:references :subject:message-id:organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=LlJrUyffo8DXYQaWuJ6J2MThyf9f/NJ89GsGO0Ox9no=; b=B5lhJukG3f7AUdR2ik3XC/KBmdtyFXIgjLoVmNI/SwzDg5O1H2+U+mAEG3mYgJC3HF lc5DSS02i6gsvkungb3vtMWflvNZkbenWDSf4tqUMdsJmXab4bedPGVJD0q9EXK9z/Yo oOWuJVmmqndFcu97QxyY6Q+lQi99ojP9WCegg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:references:subject:message-id:organization:x-mailer :mime-version:content-type:content-transfer-encoding; b=TRM9R+JFmHXllNwmeLD10h+/nB6j5KmBHIW0uJUSN77VqVtdCjHZ0hzvkwJ5/6sb6Y qNbP9BXz3hBLsEPfvb184iR+xdW3EJ5UV0f4WpVuh2pa94YCA+e6+a6tllUyuBChl1DK e8uW1KPkOqODh7DEsj4EUnZX9E9FvI+hrxJFI= Received: by 10.142.157.8 with SMTP id f8mr1490187wfe.85.1279038285412; Tue, 13 Jul 2010 09:24:45 -0700 (PDT) Received: from Bear-PC ([183.32.185.155]) by mx.google.com with ESMTPS id x18sm6324313wfd.20.2010.07.13.09.24.42 (version=SSLv3 cipher=RC4-MD5); Tue, 13 Jul 2010 09:24:44 -0700 (PDT) Date: Wed, 14 Jul 2010 00:24:39 +0800 From: Bear To: "Joe Marcus Clarke" , "Kevin Oberman" References: <20100713124704.C5E331CC44@ptavv.es.net> Message-ID: <201007140024356275537@Gmail.com> Organization: Freebear Develop Group X-mailer: Foxmail 6, 15, 201, 22 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: FreeBSD GNOME Users Subject: Re: Re: SUMMARY: GNOME startup issues 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: Tue, 13 Jul 2010 16:24:46 -0000 hi, Thanks for your patch! Your patch actually solved the problem on gnome-panel but I must say, I dont think this patch fix the source of this problem. The gnome-panel slow responding is only a hand, not the whole thing. Why not install a Linux such as Debian and do a comparation? In Linux, I can run gnome-session without ck-launch-session without any problem. The only thing I cant do is to shutdown my computer(no that menu) or mount a device(show a error messsagebox instantly with "Not authorized"). But in FreeBSD, although I applied your patch and use ck-launch-session to run my gnome-session, if I click on a non-freebsd partition, it would say nothing. Maybe you would say this is a problem related to hal, but I think this is related to dbus. Dbus denied transferring the "not authorized" message and so many other messages, also include the "cannot shutdown" message. According to my analysis, I still believe the dbus default policy is the source of these problem. I think the only thing your patch did is to make ck-launch-session give more priviages like shutting down to gnome-session to prevent the error. But in truth, this is not the correct way to solve the problem. The source is dbus or policy, not other module. ------------------ Bear 2010-07-14 ------------------------------------------------------------- From:Joe Marcus Clarke Send Date:2010-07-13 23:06:35 To:Kevin Oberman CC:Bear; FreeBSD GNOME Users Subject:Re: SUMMARY: GNOME startup issues On 7/13/10 8:47 AM, Kevin Oberman wrote: >> Date: Tue, 13 Jul 2010 16:21:09 +0800 >> From: Bear >> >> hi, >> Er... A very fool question... Could you tell me the correct steps to >> patch your patch? It seems like that I did something wrong on this... >> > > Here is what I did (and it was probably not the correct thing): > 1. Save patch to ck-patch > 2. cd /usr > 3. patch < ck-patch > 4. mv patch-tools_ck-collect-session-info.c /usr/ports/sysutils/consolekit/files > 5. rm patch-tools_ck-collect-session-info.c.orig > > Then re-build and re-install consolekit and re-boot your system. I actually updated the patch to make it more commit-ready. Can you try the new version? It's at the same URL. For it, you just need to do: cd /usr/ports/sysutils/consolekit/files patch -p < /path/to/consolekit.diff That should update one file, and create a second. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome