Re: Re: Nothing turn up after I type "gnome-session"

2011-07-31 Thread 高飛
Sorry it prove to be my mistake. Maybe it is because I configured
GConf2 so carelessly (with --sysconfdir=/etc, which ought to be
--sysconfdir=/etc/gnome/2.30) that schemas should be in
/etc/gconf/schemas but all the Gnome's schemas were installed to
/etc/gnome/gconf/schemas. I reinstalled GConf2 and imported Gnome's
schemas to it with "gconftool-2 --install-schema-file=schemas".
Then all went as expected.
Thanks for your help!

> It seems dbus is not running on your system. What is the output of "ps
> -aux|grep -i dbus".have you configured to run dbus at system boot time ?

Yes, I got the dbus part of blfs-scriptsdbus installed, and dbus is running:
"18  11149  0.0  0.0   2608   368 ?  SNs  01:43   0:00
/usr/bin/dbus-daemon --system"


> Where did you install gnome? It's a while since I've installed it but I
> remember those 'org.freedesktop.ConsoleKit' warnings were harmless. I
> suspect that you've installed it to somewhere unusual. It expects to
> find things in /usr/lib, /usr/share, /etc, all the usual places. If you
> install it into /opt/gnome or somesuch it can be very hard to figure
> out why it's not working...Sorry if that's no help.
>
> Andy

I've been following this instructions described in
"http://www.linuxfromscratch.org/hints/downloads/files/pkg_unionfs.txt";
to manage my packages. I install Gnome in /pkgs/gnome/2.30 and mount
it by Unionfs to /usr when Linux starts up.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: Nothing turn up after I type "gnome-session"

2011-07-30 Thread Andrew Benton
On Sun, 31 Jul 2011 00:09:43 +0800
高飛  wrote:
> I created a new user with "useradd -d /home/test test" and echo "exec
> ck-launch-session gnome-session --debug 2>&1 | tee -a log.log". I am
> sorry it was nearly the same, nothing turned up.
> Does it have something to do with ConsoleKit? I've installed it but I
> am confused with "gnome-session[11649]: WARNING: Could not connect to
> ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit':
> no such name".
> I am also concerned with the sentence "gnome-session[11649]: WARNING:
> No required applications specified“. Dose it have something to do with
> Gconf2? Because I compared it to the log generated by Debian. Debian's
> Gnome would look for gnome-wm.desktop and gnome-panel.desktop at that
> moment.
> Thanks for your help.

Where did you install gnome? It's a while since I've installed it but I
remember those 'org.freedesktop.ConsoleKit' warnings were harmless. I
suspect that you've installed it to somewhere unusual. It expects to
find things in /usr/lib, /usr/share, /etc, all the usual places. If you
install it into /opt/gnome or somesuch it can be very hard to figure
out why it's not working...Sorry if that's no help.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: Nothing turn up after I type "gnome-session"

2011-07-30 Thread Partha Chowdhury
On Sun, 2011-07-31 at 00:09 +0800, 高飛 wrote:
> Does it have something to do with ConsoleKit? I've installed it but I
> am confused with "gnome-session[11649]: WARNING: Could not connect to
> ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit':
> no such name".
It seems dbus is not running on your system. What is the output of "ps
-aux|grep -i dbus".have you configured to run dbus at system boot time ?



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: Nothing turn up after I type "gnome-session"

2011-07-30 Thread Partha Chowdhury
On 30/07/11 08:35 AM, 高飛 wrote:
> Excuse me. After I went through the building of Gnome 2.30 in
> blfs-svn, I wrote "exec dbus-launch --exit-with-session gnome-session
> --debug 2>&1 | tee -a log.log" to ~/.xinitrc and then typed the
> command "startx", but nothing turned up, even a mouse cursor didn't
> appeared. I checked the log file and It seemed that nothing, say,
> metacity, gnome-panel was loaded. What leads them to be loaded? I have
> no ideas where the configuration files locate.
> Sorry for my poor English.
>
Create a normal user whose home directory should be clean and then login 
as that user and type the command :

1> echo "exec ck-launch-session gnome-session"
2>then type startx and see what happens.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page