- Add a paragraph about enabling GDM, and note that using GDM is the

easiest way to start GNOME.
- Fix a few small grammar errors in the GNOME section and adds a few
  small clarity tweaks.

Submitted by:	adamw
PR:		docs/84713
This commit is contained in:
Simon L. B. Nielsen 2005-08-09 18:51:29 +00:00
parent 2a49529622
commit 6ea69c031a
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25337

View file

@ -1353,7 +1353,9 @@ DisplayManager.requestPort: 0</screen>
information regarding <application>GNOME</application> on information regarding <application>GNOME</application> on
FreeBSD can be found on the <ulink FreeBSD can be found on the <ulink
url="http://www.FreeBSD.org/gnome">FreeBSD GNOME url="http://www.FreeBSD.org/gnome">FreeBSD GNOME
Project</ulink>'s web site.</para> Project</ulink>'s web site. The web site also contains fairly
comprehensive FAQs about installing, configuring, and managing
<application>GNOME</application>.</para>
</sect3> </sect3>
<sect3 id="x11-wm-gnome-install"> <sect3 id="x11-wm-gnome-install">
@ -1381,12 +1383,29 @@ DisplayManager.requestPort: 0</screen>
<para>Once <application>GNOME</application> is installed, <para>Once <application>GNOME</application> is installed,
the X server must be told to start the X server must be told to start
<application>GNOME</application> instead of a default window <application>GNOME</application> instead of a default window
manager. If a custom <filename>.xinitrc</filename> is already in manager.</para>
<para>The easiest way to start
<application>GNOME</application> is with
<application>GDM</application>, the GNOME Display Manager.
<application>GDM</application>, which is installed as a part
of the <application>GNOME</application> desktop (but is
disabled by default), can be enabled by adding
<literal>gdm_enable="YES"</literal> to
<filename>/etc/rc.conf</filename>. Once you have rebooted,
<application>GNOME</application> will start automatically
once you log in - no further configuration is
necessary.</para>
<para><application>GNOME</application> may also be started
from the command-line by properly configuring a file named
<filename>.xinitrc</filename>.
If a custom <filename>.xinitrc</filename> is already in
place, simply replace the line that starts the current window place, simply replace the line that starts the current window
manager with one that starts manager with one that starts
<application>/usr/X11R6/bin/gnome-session</application> instead. <application>/usr/X11R6/bin/gnome-session</application> instead.
If nothing special has been done to configuration file, If nothing special has been done to the configuration file,
then it is enough to simply type:</para> then it is enough simply to type:</para>
<screen>&prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" &gt; ~/.xinitrc</userinput></screen> <screen>&prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" &gt; ~/.xinitrc</userinput></screen>
@ -1394,7 +1413,7 @@ DisplayManager.requestPort: 0</screen>
<application>GNOME</application> desktop environment will be <application>GNOME</application> desktop environment will be
started.</para> started.</para>
<note><para>If a display manager, like <note><para>If an older display manager, like
<application>XDM</application>, is being used, this will not work. <application>XDM</application>, is being used, this will not work.
Instead, create an executable <filename>.xsession</filename> Instead, create an executable <filename>.xsession</filename>
file with the same command in it. To do this, edit the file file with the same command in it. To do this, edit the file
@ -1406,7 +1425,7 @@ DisplayManager.requestPort: 0</screen>
&prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" >> ~/.xsession</userinput> &prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" >> ~/.xsession</userinput>
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen> &prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
<para>Another option is to configure the display manager to <para>Yet another option is to configure the display manager to
allow choosing the window manager at login time; the section on allow choosing the window manager at login time; the section on
<link linkend="x11-wm-kde-details">KDE details</link> <link linkend="x11-wm-kde-details">KDE details</link>
explains how to do this for <application>kdm</application>, the explains how to do this for <application>kdm</application>, the