X Window System Questions

Installing X

Question:

I didn't install the X Window System during the install. How can I install it now?

Answer:

First, mount your CD-ROM and cd into your RPMS directory. From that point, you will want to follow the directions at our http://www.redhat.com/support/resources/howto/XFree86-upgrade/XFree86-upgrade.html.

___________________________________________________________

Black Screen While Starting X

Question:

I run startx and get a black screen. What do I do?

Answer:

To get out of the black screen mode, try typing [Ctrl]-[Alt]-[Backspace].

This keystroke combination should cause the X server to exit, if possible. If that does not work, you may need to reboot the system. After the system has come up again, you should make certain that all your video hardware is compatible. Check the Hardware Compatibility List at http://hardware.redhat.com.

Also, make sure that you have the latest version of XFree86 from http://www.redhat.com/support/errata.

We have an update HOWTO for XFree86 located at http://www.redhat.com/support/resources/howto/XFree86-upgrade/XFree86-upgrade.html.

It is possible that your video card or monitor was not configured correctly. You may need to reconfigure the hardware. To do this, log in as root and run either Xconfigurator (recommended first) or XF86Setup and specify the type of hardware that you are using. Then try running startx again.

___________________________________________________________

errno 111 When Starting X

Question:

When I run startx, I get errno 111. What does this mean?

Answer:

This is a message from an X client (any program running on your XFree86 X server, for example the window manager) telling you that it tried to connect to the X server but failed to do so for some reason. You generally only see the last few lines of the error message. For the entire message (to help troubleshoot this issue) type:

 
X -probeonly >& startx.out

This will create a file called start.out which contains the complete error message. Read through the error information carefully for clues concerning the real problem with starting X.

___________________________________________________________

Getting X to Start on Boot

Question:

How do I have X start up at boot versus having to type startx every time?

Answer:

To enable X to run at boot time (assuming you are using gdm, kdm, or xdm to log in) you need to change the /etc/inittab file.

Edit your /etc/inittab file by replacing the line:

id:3:initdefault:

With this one:

id:5:initdefault:

Save your changes to the file, and restart the system. (Note: You could also manually change runlevel to 5, but rebooting the machine is less error prone.)