On Sun, Sep 11, 2016 at 8:08 PM, Sainadh J <[email protected]> wrote:

> Hello,
> i installed 35th section in BLFS 7.9 i added line "*ck-launch-session
> dbus-launch --exit-with-session startgnome*" in .xinitrc file and do
> startx it can't start GNOME DESKTOP ENVIRONMENT insted it loaded Xorg
> windows how can i start gnome ? is iam doing correct? any suggestions?
>
>
Hello,

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
-- 
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