Starting X11 with the startx Command

The startx command is an easy way to start an X session if you're working on a single computer or boot Linux to runlevel 3 mode (X11, multiuser and networking enabled). There are other ways to start X (see the section Using xdm later in this chapter). The startx command is a handy shell script that will pass on command-line options to the X server for your X sessions.

The startx command is typically used to pass starting color-depth information to the X server, as well as to find client commands or options to run for the session (usually your .xinitrc file in your home directory; see the section The .xinitrc File).

If you use a similar Screen definition as in the previous section, the default X session ...

Get Red Hat® Linux® 7 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.