By default, you will have a text based login when you boot from the Network Security Toolkit CD. To enable a graphical login, the following must be done:
The X font server must be started.
A X configuration file appropriate
for your hardware must be created and installed as
/etc/X11/xorg.conf
.
Finally, you will need to switch the system from run level 3 to run level 5.
The following command sequence can be used to accomplish this:
Figure 8.2. Enabling A Graphical Login
[root@probe root]
setup_x
... lots of output and a graphical tool to configure X ... X Setup Finished. You may want to review: /etc/X11/xorg.conf Use the following command to start up X: startx[root@probe root]
init 5
[root@probe root]
If you have done a hard disk install, you can you can make
the graphical login the default, by making sure that the
X font server is started at boot time and
that the run level is set to 5
in
/etc/inittab
. The following commands will
accomplish this:
Figure 8.3. Enabling A Graphical Login
[root@probe root]
sed -e s/:3:initdefault/:5:initdefault/ -i /etc/inittab
[root@probe root]
chkconfig --level 5 xfs on
[root@probe root]
The above sed should work. However,
you may feel safer if you edit your
/etc/inittab
by hand!