+ -

Pages

Saturday, June 1, 2013

X Window System on Linux

X server options:

1. XFree86 -------------------------------------commonly used till 2004
2. Xorg-X11 ------------------------------------used in most system today
3. Accelerated-X --------------------------------commercial version (not used much)

Configuring X:

Using configuration utilities is the best way to configure X for linux.
Available Utilities:
1. X Server: 
                                   XFree86 -configure (should get you: /root/XF86Config.new)
                                   Xorg -configure (should get you: /root/xorg.conf.new)

2. Distro-tools:
                                   RedHat - Display Settings tool (cmd: system-config-display)
                                   SuSE - YaST

3. xf86fg and xorgcfg:
                                   no longer supported


Config files:
                                   xorg.conf (/etc/X11/xorg.conf)
                                   XF86Config-4 or XF86Config (/etc/X11/XF86Config)

Shutting down X:
                                   RedHat: telinit 3
                                   Debian:
                                   /etc/init.d/xdm stop
                                   dm could be gdm, kdm, mdm ---------------whatever your distro uses.


Starting X: 
                                   startx
                                   telinit 5 (RHEL)
                                   /etc/init.d/xdm start (Debian)



Config Options for X:

Loading Modules

Section "Module"
Load "------"
Load "------"

Loads all the modules listed in this section.

Loading Keyboard

Section "InputDevice"
Identifier "Keyboard0"
Driver "----"
Option "-----" "----"

Loading the Mouse

Section "InputDevice"
Identifier "Mouse0"
Driver "----"
Option "-----" "----"

Loading the monitor

Section "Monitor"
Identifier "Monitor0"
ModelName -------------- could be anything
HorizSync ---------------- horizontal refresh rate in kHz
VertRefresh -------------- vertical refresh rate in kHz
Modeline ----------------- resolution

Loading the video card

X sends data to the monitor INDIRECTLY through the video card.

Drivers are found in: /usr/X11R6/lib/modules/drivers
                                  /usr/lib/xorg/modules/drivers




5 RakshaTec: X Window System on Linux X server options: 1. XFree86 -------------------------------------commonly used till 2004 2. Xorg-X11 -----------------------------------...

No comments:

Post a Comment

< >