Linux Networking
8/13/2013
John Rowell
1. What three components make up the X Windows System? What is the additional component?
X server
Window Manager
Desktop environment
X font server
2. Why does the Xorg.conf file contain a warning about editing the file?
What is the function of the module section in the xorg.conf or XF86config. File? 7.3.1.5. Module
The Module section specifies which modules from the /usr/X11R6/lib/modules/ directory the X server is to load. Modules add additional functionality to the X server.
The following example illustrates a typical Module section:
Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" Load "dri"
EndSection
6. XF86Config file
The XFree86 configuration file is usually found in /etc/X11/XF86Config. This section describes the parts which must be specially set for the DRI.
First, the XF86Config file must load the GLX and DRI modules: Section "Module" ... # This loads the GLX module Load "glx" # This loads the DRI module Load "dri" EndSection Next, the DRI section can be used to restrict access to direct rendering. A client can only use direct rendering if it has permission to open the /dev/dri/card? file(s). The permissions on these DRI device files is controlled by the "DRI" section in the XF86Config file.
If you want all of the users on your system to be able to use direct-rendering, then use a simple DRI section like this: Section "DRI" Mode 0666 EndSection This section will allow any user with a current connection to the X server to use direct rendering.
If you want to restrict the use of direct-rendering to a certain group of users, then create a group for those users by editing the /etc/group file on your system. For example, you may want to create a group called xf86dri and place two users (e.g., fred and