Date: Wed, 7 May 2014 14:02:29 +0000 (UTC) From: Dru Lavigne <dru@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44783 - head/en_US.ISO8859-1/books/handbook/x11 Message-ID: <201405071402.s47E2TVw098572@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dru Date: Wed May 7 14:02:29 2014 New Revision: 44783 URL: http://svnweb.freebsd.org/changeset/doc/44783 Log: Insert missing "exec"s. Submitted by: bjk Sponsored by: iXsystems Modified: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Tue May 6 20:54:41 2014 (r44782) +++ head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Wed May 7 14:02:29 2014 (r44783) @@ -1063,14 +1063,14 @@ DisplayManager.requestPort: 0</scree <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</scree 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</scree 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405071402.s47E2TVw098572>