commit 946265725e980cd17c2397604676e2b790a608ab
Author: Jack Reed <jreed(a)redhat.com>
Date: Tue Mar 26 14:54:09 2013 +1000
Updating procedure for Booting into a Graphical Environment with systemd process
en-US/Trouble-x86.xml | 12 +++++-------
en-US/Trouble_After_Booting_GUI-para-4.xml | 2 +-
en-US/Trouble_After_Booting_GUI-para-6.xml | 2 +-
en-US/Trouble_After_Booting_GUI-para-7.xml | 2 +-
en-US/Trouble_After_Booting_GUI-para-8.xml | 2 +-
en-US/Trouble_After_Booting_GUI-screen-1.xml | 15 +++++----------
en-US/Trouble_After_Booting_GUI-screen-2.xml | 5 ++++-
7 files changed, 18 insertions(+), 22 deletions(-)
---
diff --git a/en-US/Trouble-x86.xml b/en-US/Trouble-x86.xml
index b03ff97..3388f6f 100644
--- a/en-US/Trouble-x86.xml
+++ b/en-US/Trouble-x86.xml
@@ -118,13 +118,11 @@
<!-- Note, however, that this is just a one-time fix --> <xi:include
href="Trouble_After_Booting_GUI-para-4.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<!-- To set up your system so that you can log in at a graphical login screen,
--> <xi:include href="Trouble_After_Booting_GUI-para-5.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<!-- Open a shell prompt. If you are in your user account --> <xi:include
href="Trouble_After_Booting_GUI-para-6.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- Now, type gedit /etc/inittab to edit the file with --> <xi:include
href="Trouble_After_Booting_GUI-screen-1.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- Default runlevel. The runlevels used by RHS are: --> <xi:include
href="Trouble_After_Booting_GUI-para-7.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- To change from a console to a graphical login, --> <xi:include
href="Trouble_After_Booting_GUI-warning-1.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- Change only the number of the default runlevel from 3 to 5 -->
<xi:include href="Trouble_After_Booting_GUI-para-8.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- Your changed line should look like the following: --> <xi:include
href="Trouble_After_Booting_GUI-screen-2.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- id:5:initdefault: --> <xi:include
href="Trouble_After_Booting_GUI-para-9.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- When you are satisfied with your change, save and exit the file using the
--> <xi:include href="Trouble_After_Booting_GUI-para-10.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- Now, type the following command to create a new symlink -->
<xi:include href="Trouble_After_Booting_GUI-screen-1.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- ln -s /lib/systemd/system/graphical.target --> <xi:include
href="Trouble_After_Booting_GUI-para-7.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- Then, overwrite the current default.target --> <xi:include
href="Trouble_After_Booting_GUI-screen-2.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- mv /etc/systemd/system/default2.target --> <xi:include
href="Trouble_After_Booting_GUI-para-8.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- You will be prompted to confirm whether --> <xi:include
href="Trouble_After_Booting_GUI-para-10.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<!-- The next time you log in after rebooting your system -->
</section>
diff --git a/en-US/Trouble_After_Booting_GUI-para-4.xml
b/en-US/Trouble_After_Booting_GUI-para-4.xml
index cdaac89..293649d 100644
--- a/en-US/Trouble_After_Booting_GUI-para-4.xml
+++ b/en-US/Trouble_After_Booting_GUI-para-4.xml
@@ -4,6 +4,6 @@
%BOOK_ENTITIES;
]>
<para>
- To set up your system so that you can log in at a graphical login screen, you must edit
one file, <filename moreinfo="none">/etc/inittab</filename>, by
changing just one number in the runlevel section. When you are finished, reboot the
computer. The next time you log in, you are presented with a graphical login prompt.
+ To set up your system so that you can log in at a graphical login screen, you must
set the graphical <application>systemd</application> boot target as the
default target. The system boots to the target described in the
<filename>default.target</filename> file, which is a symbolic link (or
<firstterm>symlink</firstterm>) to a specific target file.
</para>
diff --git a/en-US/Trouble_After_Booting_GUI-para-6.xml
b/en-US/Trouble_After_Booting_GUI-para-6.xml
index e642b41..d345d83 100644
--- a/en-US/Trouble_After_Booting_GUI-para-6.xml
+++ b/en-US/Trouble_After_Booting_GUI-para-6.xml
@@ -4,6 +4,6 @@
%BOOK_ENTITIES;
]>
<para>
- Now, type <command moreinfo="none">gedit /etc/inittab</command> to
edit the file with <application moreinfo="none">gedit</application>.
The file <filename moreinfo="none">/etc/inittab</filename> opens.
Within the first screen, a section of the file which looks like the following appears:
+ Now, type the following command to create a new symlink to the graphical target, which
we will call <filename>default2</filename>:
</para>
diff --git a/en-US/Trouble_After_Booting_GUI-para-7.xml
b/en-US/Trouble_After_Booting_GUI-para-7.xml
index eb53e1a..7842e1f 100644
--- a/en-US/Trouble_After_Booting_GUI-para-7.xml
+++ b/en-US/Trouble_After_Booting_GUI-para-7.xml
@@ -4,6 +4,6 @@
%BOOK_ENTITIES;
]>
<para>
- To change from a console to a graphical login, you should change the number in the line
<computeroutput moreinfo="none">id:3:initdefault:</computeroutput>
from a <computeroutput moreinfo="none">3</computeroutput> to a
<computeroutput moreinfo="none">5</computeroutput>.
+ Then, overwrite the current <filename>default.target</filename> symlink with
the new symlink:
</para>
diff --git a/en-US/Trouble_After_Booting_GUI-para-8.xml
b/en-US/Trouble_After_Booting_GUI-para-8.xml
index cc79e5d..19604f9 100644
--- a/en-US/Trouble_After_Booting_GUI-para-8.xml
+++ b/en-US/Trouble_After_Booting_GUI-para-8.xml
@@ -4,6 +4,6 @@
%BOOK_ENTITIES;
]>
<para>
- Your changed line should look like the following:
+ You will be prompted to confirm whether the file should be overwritten. Press
<keycap>y</keycap> followed by <keycap>Enter</keycap>.
</para>
diff --git a/en-US/Trouble_After_Booting_GUI-screen-1.xml
b/en-US/Trouble_After_Booting_GUI-screen-1.xml
index f7a8403..35023a2 100644
--- a/en-US/Trouble_After_Booting_GUI-screen-1.xml
+++ b/en-US/Trouble_After_Booting_GUI-screen-1.xml
@@ -4,14 +4,9 @@
%BOOK_ENTITIES;
]>
-<screen># Default runlevel. The runlevels used are:
-# 0 - halt (Do NOT set initdefault to this)
-# 1 - Single user mode
-# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
-# 3 - Full multiuser mode
-# 4 - unused
-# 5 - X11
-# 6 - reboot (Do NOT set initdefault to this)
-#
-id:3:initdefault:</screen>
+<screen>
+ <command>
+ ln -s /lib/systemd/system/graphical.target /etc/systemd/system/default2.target
+ </command>
+</screen>
diff --git a/en-US/Trouble_After_Booting_GUI-screen-2.xml
b/en-US/Trouble_After_Booting_GUI-screen-2.xml
index 45ec676..e55c58b 100644
--- a/en-US/Trouble_After_Booting_GUI-screen-2.xml
+++ b/en-US/Trouble_After_Booting_GUI-screen-2.xml
@@ -5,5 +5,8 @@
]>
<screen>
- <computeroutput moreinfo="none"> id:5:initdefault:
</computeroutput></screen>
+ <command>
+ mv /etc/systemd/system/default2.target /etc/systemd/system/default.target
+ </command>
+</screen>