Lecture #7 X Windows

Objectives

Agenda

Assignment

Resources

Understanding X

  1. Overview
  2. The Components of X
    1. Server Component
      • most important component
      • controls input devices
      • controls video hardware
      • VGA and hardware specific servers
    2. Client Component
      • clients are what the user sees
      • window manager provides access to individual clients and windows
              e.g. metacity, mwm, twm, sawfish, enlightenment ...
      • file manager - client that acts as a graphical shell allowing access to the file system
      • desktop manager - provides login sessions, authentication, and taskbar support
  3. Configuring X
  4. Starting an X Window Session
    1. X name given to the graphics server.
    2. startx shell script - usually in /etc/X11
    3. xinit command
    4. xdm command
      • can be run only by root
      • usually used in startup scripts
      • shows graphical logon screen
    5. Window Manager determines look and feel

Relevant Commands and Files

Commands Files
X         - starts the X server /etc/X11/XF86Config
xinit     - starts the server with an xterm window /etc/X11/xinit/xinitrc and $HOME/.xinitrc
startx    - runs the graphic desktop /etc/X11/xinit/Xclients
xhost     - grants remote X-client access to server $HOME/.xauthority
xwd, xwud   - create and view window dumps  
redhat-config-xfree86- configures X server on RedHat