X11 configuration

From Wikislax

(Difference between revisions)
Jump to: navigation, search
(Local language)
 
Line 21: Line 21:
For the mouse, try to use '''auto [Auto detect]''' and the '''/dev/input/mice''' default device.
For the mouse, try to use '''auto [Auto detect]''' and the '''/dev/input/mice''' default device.
-
Also important are the horizontal and vertical frequencies. This information is probably located in the documentation of your screen. If not, word goes that a program named '''SuperProbe''' would be able to determine the values, but I have no additional information about this. Beware, a configuration mistake can definitely damage your screen! For an Acer AL2032W h=31-81, v=56-75 and the resolution 1680x1050 can be edited manually in  '''/etc/X11/xorg.conf'''.
+
Also important are the horizontal and vertical frequencies. This information is probably located in the documentation of your screen. If not, word goes that a program named '''SuperProbe''' would be able to determine the values, but I have no additional information about this. Beware, a configuration mistake can definitely damage your screen! Otherwise the resolution can be edited manually in  '''/etc/X11/xorg.conf'''.
== X11 usage ==
== X11 usage ==
Line 27: Line 27:
To start X, use the '''startx command'''. To stop X, use '''ctrl+alt+backspace'''. It’s good to know as if your screen freezes this avoids rebooting. On '''i386''', you can switch among consoles using '''ctrl+alt+Fn''', but if you have a screen under X, you need to go back using '''ctrl+alt+F7''' (or another Fn function key depending on the number of virtual consoles configured in your kernel).
To start X, use the '''startx command'''. To stop X, use '''ctrl+alt+backspace'''. It’s good to know as if your screen freezes this avoids rebooting. On '''i386''', you can switch among consoles using '''ctrl+alt+Fn''', but if you have a screen under X, you need to go back using '''ctrl+alt+F7''' (or another Fn function key depending on the number of virtual consoles configured in your kernel).
-
By defaut, Slackware configures a single console on '''ctrl+alt+F6''' to use in addition to the X console on '''ctrl+alt+F7'''. It's possible to configure more by choosing the run level 4 for consoles c1 to c5 in '''/etc/inittab''' :
+
By defaut, Slackware configures a single console on '''ctrl+alt+F6''' to use in addition to the X console on '''ctrl+alt+F7'''. It's possible to configure more by choosing the run level 4 for consoles c1 to c6 in '''/etc/inittab''' :
  # These are the standard console login getties in multiuser mode:
  # These are the standard console login getties in multiuser mode:
Line 37: Line 37:
  c6:12345:respawn:/sbin/agetty 38400 tty6 linux
  c6:12345:respawn:/sbin/agetty 38400 tty6 linux
-
== X11 driver ==
+
== X11 drivers ==
-
Default drivers are available for the most common boards but can be too slow. To speed up, go to the website of your chipset provider and get a recent (decent?) driver. Of course it is a good idea to check beforehand that your chipset provider supports Linux and provides Linux drivers (but this is true for all of your hardware ...). nVIDIA are Linux-oriented and publish on their website a reduced number of drivers that can be used on an extensive number of boards.
+
Default drivers are available for the most common boards but might be slow. To speed up, you might go to your chipset provider website and get a recent driver. Of course, it will be a good idea to check beforehand that your chipset provider supports Linux and provides Linux drivers (but this is generally true for all of your hardware). nVidia are Linux-oriented and provide Linux drivers for all their boards. However, at the time of this writing (July 2012) nVidia has not fully taken the virtualization road, and the nVidia drivers are not compatible with Xen (4.1.2). The Nouveau driver - available in kernel 3.4.2 upstream - is. Although Nouveau is not a very popular driver, due to performances usually deemed insufficient.
-
Just download and run the install script, which requires the presence of the development tools and Linux headers, but «taints the kernel», meaning that in case of crash the kernel debug information could be unreliable, meaning that if you have an issue with something, you could be denied support until you provide debug information obtained with an untainted kernel.
+
OK now download and run the install script. Execution requires the presence of development tools and Linux headers, but «taints the kernel» : in case of crashthe kernel debug information could be unreliable, meaning that if you have an issue with something, you could be denied support until you provide debug information obtained with an untainted kernel.
<br/>
<br/>
{{pFoot|[[IPTables]]|[[Main Page]]|[[X11 over the network]]}}
{{pFoot|[[IPTables]]|[[Main Page]]|[[X11 over the network]]}}

Latest revision as of 21:49, 7 July 2012

Contents

X11R7 and later eliminate the need for manual configuration of X11. The correct graphic card, screen, keyboard and mouse are recognized automatically and stored in /etc/X11/xorg.conf that you can still edit manually.

Local language

Taking local keyboard layouts into account requires replacing "us" by your locale in a few files for X11 and for the base system. More details here for the French language. Be sure to check :

/etc/kde/kdm/kdmrc
/etc/hal/fdi/policy/10-keymap.fdi
/usr/share/X11/xorg.conf.d/90-keyboard-layout.conf
/etc/profile.d/lang.sh
/etc/profile.d/lang.csh

X11 legacy configuration

X11R6 makes you run Xorg -configure to generate the /etc/X11/xorg.conf file based on the results of autoconfiguration, or let /usr/X11R6/bin/xorgconfig produce a base /etc/X11/xorg.conf file for your configuration and fine-tune it.

If using the latter, a key point is the graphical board. If it is not in the list of compatible hardware then it is not managed. A solution is to use the Vesa driver (number 0) but the maximal resolution is 1280 x 1024, which will probably be under the possibilities of your screen. A workaround is to use an X terminal on another machine. See «using Xdm» below.

For the mouse, try to use auto [Auto detect] and the /dev/input/mice default device.

Also important are the horizontal and vertical frequencies. This information is probably located in the documentation of your screen. If not, word goes that a program named SuperProbe would be able to determine the values, but I have no additional information about this. Beware, a configuration mistake can definitely damage your screen! Otherwise the resolution can be edited manually in /etc/X11/xorg.conf.

X11 usage

To start X, use the startx command. To stop X, use ctrl+alt+backspace. It’s good to know as if your screen freezes this avoids rebooting. On i386, you can switch among consoles using ctrl+alt+Fn, but if you have a screen under X, you need to go back using ctrl+alt+F7 (or another Fn function key depending on the number of virtual consoles configured in your kernel).

By defaut, Slackware configures a single console on ctrl+alt+F6 to use in addition to the X console on ctrl+alt+F7. It's possible to configure more by choosing the run level 4 for consoles c1 to c6 in /etc/inittab :

# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

X11 drivers

Default drivers are available for the most common boards but might be slow. To speed up, you might go to your chipset provider website and get a recent driver. Of course, it will be a good idea to check beforehand that your chipset provider supports Linux and provides Linux drivers (but this is generally true for all of your hardware). nVidia are Linux-oriented and provide Linux drivers for all their boards. However, at the time of this writing (July 2012) nVidia has not fully taken the virtualization road, and the nVidia drivers are not compatible with Xen (4.1.2). The Nouveau driver - available in kernel 3.4.2 upstream - is. Although Nouveau is not a very popular driver, due to performances usually deemed insufficient.

OK now download and run the install script. Execution requires the presence of development tools and Linux headers, but «taints the kernel» : in case of crash, the kernel debug information could be unreliable, meaning that if you have an issue with something, you could be denied support until you provide debug information obtained with an untainted kernel.


IPTables Main Page X11 over the network
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox