Differences between revisions 57 and 58
Revision 57 as of 2013-06-19 18:38:35
Size: 5099
Editor: ?MarkDBlackwell
Comment:
Revision 58 as of 2013-06-19 21:59:04
Size: 5268
Editor: ?MarkDBlackwell
Comment: Clarify; suggest changing X settings on the fly at Desktop start
Deletions are marked like this. Additions are marked like this.
Line 57: Line 57:
Question: what should be done if the error message is emitted here, 'Number of created screens does not match the number of detected devices'? '''Question:''' what should be done if generating this file fails, giving the message, 'Number of created screens does not match the number of detected devices'?
Line 59: Line 59:
Anyway, this is probably unnecessary, per this [[http://forums.fedoraforum.org/showpost.php?p=1599439|comment]] and this [[http://fedoraproject.org/wiki/How_to_create_xorg.conf|advice]]. Anyway, this is probably unnecessary. Per this [[http://forums.fedoraforum.org/showpost.php?p=1599439|comment]] and this [[http://fedoraproject.org/wiki/How_to_create_xorg.conf|advice]], it seems best to create the directory /etc/X11/xorg.conf.d and place in it a file (or files) in order to tweak sections of the implicit xorg.conf, as is done [[http://www.linuxquestions.org/questions/linux-software-2/xorg-conf-missing-922048/#post4566087|here]] for example.
Line 61: Line 61:
It seems best to create the directory /etc/X11/xorg.conf.d and place a file (or files) in it in order to tweak sections of the implicit xorg.conf, as is done [[http://www.linuxquestions.org/questions/linux-software-2/xorg-conf-missing-922048/#post4566087|here]] for example. Another quite useful way to adjust X settings, rather than in xorg.conf, is on the fly, in a desktop environment's list of scripts to run at startup.

Translation(s): English - French - Italiano


Xorg is the default X Window server since Debian 4.0 (etch). It replaces XFree86 and is maintained in Debian by the XStrikeForce.

Current Status

The current versions shipped in Debian are listed on packages.debian.org:

Version numbers

Xorg version numbering has changed since xorg 7.0. Nowadays, Xorg is released with a version number (like 7.4). This release is composed of various modules which have their own version number (each module started at version "1.0" when Xorg 7.0 development cycle started). For instance, Xorg 7.3 was shipped with Xserver version v1.4, xf86-input-evdev v1.1.5, xf86-video-intel v2.1.1, etc.. If you want to learn more about Xorg releases/versions, see this blog.

Debian version number follows upstream convention. The module's version may be different (The maintainers sometimes cherry-pick more recent and stable modules). Reminder: Debian package version sometimes starts with a digit followed by a column, like 1:7.3.1-2. That part (1:) is Debian-specific. Also, anything after the dash (-2) is the Debian packaging version.

Configure X

To reconfigure keyboard settings in Squeeze (and later) run as root in a terminal:

# dpkg-reconfigure keyboard-configuration

Edit xorg.conf

Some settings are only accessible through editing xorg.conf by hand.

How can I edit my xorg config file?

Open a terminal (or console) as root, then run :

# editor /etc/X11/xorg.conf

What if I do not have an xorg config file?

If xorg.conf is missing for some reason, Xorg will probe your hardware on every startup. Though this works fine in most cases, some settings remain inaccessible. To create a starting point for customization, do the following.

Switch to a console as root (not a terminal emulator in X), then run:

# /etc/init.d/gdm stop && /etc/init.d/gdm3 stop && /etc/init.d/kdm stop && /etc/init.d/xdm stop
$ cd /etc/X11/
# Xorg -configure

Alternatively, reboot the machine in single user mode, then run:

$ cd /etc/X11/
# Xorg -configure

Follow the on-screen instructions. This should give you something to work with.

Question: what should be done if generating this file fails, giving the message, 'Number of created screens does not match the number of detected devices'?

Anyway, this is probably unnecessary. Per this comment and this advice, it seems best to create the directory /etc/X11/xorg.conf.d and place in it a file (or files) in order to tweak sections of the implicit xorg.conf, as is done here for example.

Another quite useful way to adjust X settings, rather than in xorg.conf, is on the fly, in a desktop environment's list of scripts to run at startup.

Run X

After installation run:

$ startx

or as root run:

# service gdm start

(see gdm manpage).

KDE users should use kdm. Others might use xdm or gdm3.

Video drivers

See Also

  • X.org wiki contains useful information about X.org. If you are having problems with X.org, this is a good place to search for answers.


CategoryXWindowSystem