Insert missing "exec"s.
Submitted by: bjk Sponsored by: iXsystems
This commit is contained in:
parent
a9b4c0bec3
commit
038d64d23a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44783
1 changed files with 5 additions and 5 deletions
|
@ -1063,14 +1063,14 @@ DisplayManager.requestPort: 0</screen>
|
|||
<filename>/usr/local/bin/gnome-session</filename>. If this
|
||||
file does not exist, create it with this command:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "/usr/local/bin/gnome-session" > ~/.xinitrc</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>A third method is to use <application>XDM</application> as
|
||||
the display manager. In this case, create an executable
|
||||
<filename>~/.xsession</filename>:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>echo "/usr/local/bin/gnome-session" >> ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" >> ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
|
@ -1138,7 +1138,7 @@ DisplayManager.requestPort: 0</screen>
|
|||
follows:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>echo "/usr/local/kde4/bin/startkde" >> ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>echo "exec /usr/local/kde4/bin/startkde" >> ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
|
||||
|
||||
<para>Once <application>KDE</application> is started, refer to
|
||||
|
@ -1178,14 +1178,14 @@ DisplayManager.requestPort: 0</screen>
|
|||
from the command line by typing <command>startx</command>,
|
||||
first add its entry to <filename>~/.xinitrc</filename>:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "/usr/local/bin/startxfce4" > ~/.xinitrc</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>echo "exec /usr/local/bin/startxfce4" > ~/.xinitrc</userinput></screen>
|
||||
|
||||
<para>An alternate method is to use
|
||||
<application>XDM</application>. To configure this method,
|
||||
create an executable <filename>~/.xsession</filename>:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>echo "/usr/local/bin/startxfce4" >> ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>echo "exec /usr/local/bin/startxfce4" >> ~/.xsession</userinput>
|
||||
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
|
Loading…
Reference in a new issue