Change some instances of &prompt.root; to &prompt.user;, since setting
up .xinitrc for root isn't very smart since it won't work for the user account, and the implication that X should be run as root is even worse :-) Also change a few remaining >'s to >'s. Submitted by: Dominic Marks <dominic_marks@btinternet.com>
This commit is contained in:
parent
39632971a3
commit
81aa6e33fc
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11571
1 changed files with 6 additions and 6 deletions
|
|
@ -1052,7 +1052,7 @@ DisplayManager.requestPort: 0</screen>
|
|||
If nothing special has been done to configuration file,
|
||||
then it is enough to simply type:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo "/usr/X11R6/bin/gnome-session" > ~/.xinitrc</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>Next, type <command>startx</command>, and the
|
||||
<application>GNOME</application> desktop environment will be
|
||||
|
|
@ -1066,9 +1066,9 @@ DisplayManager.requestPort: 0</screen>
|
|||
<application>/usr/X11R6/bin/gnome-session</application>:
|
||||
</para></note>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
|
||||
&prompt.root; <userinput>echo "/usr/X11R6/bin/gnome-session" >> ~/.xsession</userinput>
|
||||
&prompt.root; <userinput>chmod +x ~/.xsession</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" >> ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
|
||||
|
||||
<para>Another option is to configure the display manager to
|
||||
allow choosing the window manager at login time; the section on
|
||||
|
|
@ -1194,7 +1194,7 @@ export LD_PRELOAD
|
|||
instead of the default window manager. This is accomplished
|
||||
by editing the <filename>.xinitrc</filename> file:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo "/usr/local/bin/startkde" > ~/.xinitrc</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>echo "/usr/local/bin/startkde" > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>Now, whenever invoke X Window System with <command>startx</command>,
|
||||
<application>KDE2</application> will be the desktop.</para>
|
||||
|
|
@ -1396,7 +1396,7 @@ esac</screen>
|
|||
<application>XFCE</application> the next time X is started.
|
||||
Simply type this:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo "/usr/X11R6/bin/startxfce" > ~/.xinitrc</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>echo "/usr/X11R6/bin/startxfce" > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>The next time X is started,
|
||||
<application>XFCE</application> will be the desktop.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue