Index: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/x11/chapter.xml
+++ head/en_US.ISO8859-1/books/handbook/x11/chapter.xml
@@ -1507,9 +1507,7 @@
the display manager. In this case, create an executable
~/.xsession:
- &prompt.user; echo "#!/bin/sh" > ~/.xsession
-&prompt.user; echo "exec /usr/local/bin/gnome-session" >> ~/.xsession
-&prompt.user; chmod +x ~/.xsession
+ &prompt.user; echo "exec /usr/local/bin/gnome-session" > ~/.xsession
@@ -1586,9 +1584,7 @@
an executable ~/.xsession as
follows:
- &prompt.user; echo "#!/bin/sh" > ~/.xsession
-&prompt.user; echo "exec /usr/local/bin/startkde" >> ~/.xsession
-&prompt.user; chmod +x ~/.xsession
+ &prompt.user; echo "exec /usr/local/bin/startkde" > ~/.xsession
Once KDE is started, refer to
its built-in help system for more information on how to use
@@ -1620,22 +1616,30 @@
&prompt.root; cd /usr/ports/x11-wm/xfce4
&prompt.root; make install clean
+ Xfce uses
+ D-Bus for a message bus. This
+ application is automatically installed as dependency of
+ Xfce. Enable it in
+ /etc/rc.conf so it will be started when
+ the system boots:
+
+ dbus_enable="YES"
+
Unlike GNOME or
KDE,
Xfce does not provide its own login
manager. In order to start Xfce
from the command line by typing startx,
- first add its entry to ~/.xinitrc:
+ first create ~/.xinitrc with this
+ command:
- &prompt.user; echo "exec /usr/local/bin/startxfce4 --with-ck-launch" > ~/.xinitrc
+ &prompt.user; echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xinitrc
An alternate method is to use
XDM. To configure this method,
create an executable ~/.xsession:
- &prompt.user; echo "#!/bin/sh" > ~/.xsession
-&prompt.user; echo "exec /usr/local/bin/startxfce4 --with-ck-launch" >> ~/.xsession
-&prompt.user; chmod +x ~/.xsession
+ &prompt.user; echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession