Runlevels And X; Runlevel 3 - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 7. The X Window System
4.2.2. Adding Fonts to
To add fonts to the core X font subsystem (
1. If it does not already exist, create a directory called
following command as root:
mkdir /usr/share/fonts/local/
If creating the
/usr/share/fonts/local/
path using the following command as root:
xfs
chkfontpath --add /usr/share/fonts/local/
2. Copy the new font file into the
3. Update the font information by issuing the following command as root:
ttmkfdir -d /usr/share/fonts/local/ -o /usr/share/fonts/local/fonts.scale
4. Reload the
font server configuration file by issuing the following command as root:
xfs
service xfs reload

5. Runlevels and X

In most cases, the default installation of Red Hat Enterprise Linux configures a machine to boot
into a graphical login environment, known as runlevel 5. It is possible, however, to boot into the
text-only multi-user mode called runlevel 3 and begin an X session from there.
For more information about runlevels, refer to
The following subsections review how X starts up in both runlevel 3 and runlevel 5.

5.1. Runlevel 3

When in runlevel 3, the best way to start an X session is to log in and type
command is a front-end to the
connects X client applications to it. Because the user is already logged into the system at
runlevel 3,
does not launch a display manager or authenticate users. Refer to
startx
Section 5.2, "Runlevel 5"
When the
command is executed, it searches for an
startx
112
xfs
), follow these steps:
xfs
directory is necessary, it must be added to the
/usr/share/fonts/local/
Section 4, "SysV Init
command, which launches the X server (
xinit
for more information about display managers.
/usr/share/fonts/local/
directory
Runlevels".
startx
file in the user's home
.xinitrc
using the
. The
startx
) and
Xorg

Advertisement

Table of Contents
loading

Table of Contents