Fedora And Red Hat System Administration/The X Window System

From Wikibooks, open books for an open world
Jump to navigation Jump to search

The X window system or X11 is most basic component of the graphical environment. You can find many implementations of X11 including servers for Max OSX and Windows (Please insert recommendations!). Most GNU/Linux distributions now use X.Org's implementation (which forked not too long ago from the XFree86 project).

Starting X[edit | edit source]

Graphical Login and GDM[edit | edit source]

Most functions of your users graphical experience is actually not handled by X, but rather by the Graphical login managers, such as the Gnome Display Manager(GDM). While other display managers exist, Red Hat and fedora based systems use the Gnome Display Manager as the login manager for their systems.

The X command[edit | edit source]

In comparison to Graphical Managers such as GDM, "X" contains extremely minimal functionality on its own, but each graphical display manager is actually built atop X, and thus X is important to understand in its own right.

The 'X' window system is:

  • a client-server application
  1. The client is the application using the X-window
  2. The server controls the keyboard and screen and takes signals from the application and responds with output to display on the screen
  • A protocol used by the application to connect to the server
    • the 'X' protocol, also known as X11

To start X, one has

The startx command[edit | edit source]

The X startup scripts[edit | edit source]

Remote X access with SSH[edit | edit source]

/etc/ssh/ssh_config[edit | edit source]

/etc/ssh/sshd_config[edit | edit source]

VNC[edit | edit source]

Starting a VNC Server[edit | edit source]

vncserver :1

Customizing your VNC X startup[edit | edit source]

Securing your VNC connection[edit | edit source]

Further reading[edit | edit source]