> > You are running on a systemd system, correct? You have to be running 
> > systemd for GNOME
> > to work currently.
> > We don't have ConsoleKit2 in the systemd book. We normally would start 
> > GNOME using GDM
> > (the GNOME Display Manager) at the end of >the chapter. Although... you may 
> > want to check 7.10
> > for that - we didn't do a stable release of BLFS 7.9-systemd. 
> > That being said, there is a way to start GNOME from the command line,
> > but I haven't tested it in almost a year.
> > cat > ~/.xinitrc << "EOF"
> > dbus-launch --exit-with-session gnome-session
> > EOF
> > Again, we'd normally use GDM for that as it takes care of setting several 
> > other variables and initiating
> > other tasks as needed. If you don't >have GDM enabled and are interested in 
> > using it
> > (after installing it, of course, if you haven't already), execute:
> > systemctl enable gdm
> > As the root user.
> > Thank you,
> > Douglas R. Reno
> > LFS/BLFS systemd maintainer
> > 
> thanks for the reply,
> i just checked for GDM in BLFS 7.10 there is no GDM pakage in both 33 and 34 
> chapters. 
> 
To debug gnome-session you can create a wrapper script to start it in debug 
mode without using gdm.

Rename /usr/bin/gnome-session to gnome-session2 and create 
/usr/bin/gnome-session containing:

#!/bin/sh
gnome-session2 --debug

..and set it to be executable.

You can then use "startx" or the method above to start gnome-session and get 
debug messages in the syslog.

BTW, as long as you've compiled the many gnome-session deps without systemd, 
the gnome gui will run without it.


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

Reply via email to