[blfs-book] r9461 - trunk/BOOK/gnome/core

ken at linuxfromscratch.org ken at linuxfromscratch.org
Sat Feb 18 06:51:41 PST 2012

Author: ken
Date: 2012-02-18 07:51:36 -0700 (Sat, 18 Feb 2012)
New Revision: 9461

Improve gnome-session details: the logout function on the commandline does work, and I tracked down what turned out to be a problem on every first attempt (after booting) to run gnome-session.

Modified: trunk/BOOK/gnome/core/gnome-session.xml
--- trunk/BOOK/gnome/core/gnome-session.xml	2012-02-18 13:53:24 UTC (rev 9460)
+++ trunk/BOOK/gnome/core/gnome-session.xml	2012-02-18 14:51:36 UTC (rev 9461)
@@ -125,13 +125,16 @@
       does not have 3D acceleration) need to be installed first, and some of
       the 'Utilities' - particularly <application>GNOME Terminal</application>
       (<application>xterm</application> does not  install a '.desktop' file and
-      so not appear in the menus). You may have to use
-      <literal>Ctrl-Alt-Backspace</literal> to end the desktop session.</para>
+      so not appear in the menus).</para>
       <para>When <command>gnome-session</command> is run, it invokes the necessary
       daemons and either <application>Metacity</application> or
       <application>gnome-shell</application> - the latter will in turn invoke
-      <application>Mutter</application>.</para>
+      <application>Mutter</application>. A desktop manager such as
+      <application>gdm</application> will invoke <application>ConsoleKit</application>
+      before the window manager, but if you use <command>startx</command> the first
+      invocation after booting may fail because the daemon is not already running,
+      so we will invoke it first.</para>
       <para>To automatically start the <application>gnome-session</application>
       window manager when you issue the <command>startx</command> command,
@@ -145,7 +148,7 @@
 <screen><userinput>cat >> ~/.xinitrc << "EOF"
-<literal>exec dbus-launch --exit-with-session gnome-session</literal>
+<literal>exec ck-launch-session dbus-launch --exit-with-session gnome-session</literal>

More information about the blfs-book mailing list