Difference between revisions of "X configuration"
(General x configuration instructions) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == Configuring X == | |
− | Configuring X | ||
− | |||
− | + | In most cases the default X install on freekboxen will just work, but in some cases it needs some tweaking. On Ubuntu systems, you can use "dpkg-reconfigure xserver-xorg" from a root terminal to reconfigure the X server, but there are also several easier methods depending on the exact distribution. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Editing the configuration file== | ==Editing the configuration file== | ||
− | The X-windows system configuration information | + | The X-windows system configuration information was previously kept in text files in /etc/X11 in a file /etc/X11/xorg.conf. This file is now intentionally blank as X will auto-configure. Very occasionally, the normal methods of configuring X fail and we need to edit/create the file directly. |
− | |||
− | |||
− | + | '''Don't edit this file unless you REALLY know what you are doing.''' | |
− | + | <del>This file includes information on the keyboard, mouse, monitor, and video card, as well as some special options for resolution, fancy graphics display, and multi-headed systems. The file is broken up into sections such as <code>"InputDevice"</code> for mice and keyboards, <code>"Monitor"</code> for monitors, and just plain <code>"Device"</code> for video cards themselves. The <code>"Screen"</code> section has meta information about combining all the pieces together correctly.</del> | |
− | |||
− | |||
− | + | Since this is file is blank you need only add the relevant section. Do not blindly add others. | |
− | + | You will need to test your changes by running | |
− | + | startx | |
or | or | ||
− | /etc/init.d/gdm restart | + | sudo /etc/init.d/gdm restart |
+ | |||
If this doesn't work again, check the log file: | If this doesn't work again, check the log file: | ||
− | |||
or | or | ||
less /var/log/Xorg.0.log | less /var/log/Xorg.0.log | ||
Line 48: | Line 29: | ||
and try again. | and try again. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category: Build]] | [[Category: Build]] | ||
[[Category:Tech support]] | [[Category:Tech support]] | ||
+ | [[Category:Needs updating]] |
Latest revision as of 16:57, 19 October 2013
Configuring X
In most cases the default X install on freekboxen will just work, but in some cases it needs some tweaking. On Ubuntu systems, you can use "dpkg-reconfigure xserver-xorg" from a root terminal to reconfigure the X server, but there are also several easier methods depending on the exact distribution.
Editing the configuration file
The X-windows system configuration information was previously kept in text files in /etc/X11 in a file /etc/X11/xorg.conf. This file is now intentionally blank as X will auto-configure. Very occasionally, the normal methods of configuring X fail and we need to edit/create the file directly.
Don't edit this file unless you REALLY know what you are doing.
This file includes information on the keyboard, mouse, monitor, and video card, as well as some special options for resolution, fancy graphics display, and multi-headed systems. The file is broken up into sections such as
"InputDevice"
for mice and keyboards, "Monitor"
for monitors, and just plain "Device"
for video cards themselves. The "Screen"
section has meta information about combining all the pieces together correctly.
Since this is file is blank you need only add the relevant section. Do not blindly add others.
You will need to test your changes by running
startx
or
sudo /etc/init.d/gdm restart
If this doesn't work again, check the log file:
or
less /var/log/Xorg.0.log
and try again.