This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
docs:xorg [2009-03-31 22:47] mmazur Grr, synaptics, grrr. |
docs:xorg [2013-04-05 09:58] glen |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | /* pragma: section-numbers 2 */ | ||
- | |||
- | |||
====== X.Org ====== | ====== X.Org ====== | ||
- | Implementation of the X Window System | ||
- | |||
- | |||
- | |||
- | ===== Resources ===== | ||
- | |||
- | * [[http://www.x.org/|Project homepage]] | ||
- | |||
- | |||
- | ===== Contents ===== | ||
- | /* UndefinedMacro: TableOfContents(None) */ | ||
+ | [[http://www.x.org/|xorg]] is implementation of the [[wp>X Window System]]. | ||
Line 48: | Line 35: | ||
You need typical keyboard and mouse configuration sections, too. | You need typical keyboard and mouse configuration sections, too. | ||
+ | |||
+ | |||
+ | ===== xserver 1.8+ and input devices + udev ===== | ||
+ | Hal is no longer used. See [[https://wiki.ubuntu.com/X/Config/Input#Input|https://wiki.ubuntu.com/X/Config/Input#Input]] | ||
+ | |||
+ | NOTE: **xinput** is in **xorg-app-xinput** package in PLD Linux. | ||
+ | |||
+ | |||
+ | |||
+ | ==== xserver 1.8+ and keyboard ==== | ||
+ | Configuration stored in '/etc/X11/xorg.conf.d/10-keyboard.conf' supposed to support pl national characters and ctrl-alt-bkspc. Missing ctrl-alt{-,+}) though. | ||
+ | |||
+ | <file>Section "InputClass" | ||
+ | Identifier "keyboard-all" | ||
+ | Driver "evdev" | ||
+ | Option "XkbLayout" "us,pl" | ||
+ | Option "XkbModel" "evdev" | ||
+ | Option "XkbVariant" ",qwerty" | ||
+ | #Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,compose:rwin,terminate:ctrl_alt_bksp" | ||
+ | Option "XkbOptions" "compose:rwin,terminate:ctrl_alt_bksp" | ||
+ | |||
+ | Option "LeftAlt" "Meta" | ||
+ | Option "RightAlt" "ModeShift" | ||
+ | |||
+ | MatchIsKeyboard "on" | ||
+ | EndSection | ||
+ | </file> | ||
+ | |||
+ | |||
+ | ==== xserver 1.8+ and synaptics ==== | ||
+ | Consider creating file '/etc/xorg.conf.d/10-synaptics.conf' containing: | ||
+ | |||
+ | |||
+ | |||
+ | <file>Section "InputClass" | ||
+ | Identifier "touchpad catchall" | ||
+ | Driver "synaptics" | ||
+ | MatchIsTouchpad "on" | ||
+ | MatchDevicePath "/dev/input/event*" | ||
+ | Option "SHMConfig" "true" | ||
+ | Option "HorizEdgeScroll" "1" | ||
+ | Option "VertEdgeScroll" "1" | ||
+ | Option "TapButton1" "1" | ||
+ | Option "TapButton2" "1" | ||
+ | Option "TapButton3" "1" | ||
+ | Option "AccelFactor" "0.001" | ||
+ | EndSection | ||
+ | </file> | ||
Line 112: | Line 147: | ||
+ | |||
+ | ===== 100% CPU usage when using xdm (kdm, gdm) and SysVinit (not upstart-SysVinit) ===== | ||
+ | The problem is that when xdm runs with recent X server then tty0 (as it's first free tty) is taken by xserver. Then when [[:SysVinit|SysVinit]] tries to run mingetty also on tty0. This ends with mingetty fighiting with X server for tty0. | ||
+ | |||
+ | upstart-Sysvinit is not affected as it starts mingetty before xdm runs, so xdm choses different, first free ttyX. | ||
+ | |||
+ | Solution: change xdm to use fixed tty that's not used in inittab for mingettys (like tty9). | ||
+ | |||
+ | |||
+ | |||
+ | ===== xorg-driver-video-intel >= 2.9.99.0 requires KMS ===== | ||
+ | Latest Intel xorg drivers require KMS (kernel mode setting) to be active. Run kernel >= 2.6.31 and set in /etc/sysconfig/geninitrd: | ||
+ | |||
+ | <file>PREMODS="intel-agp i915" | ||
+ | </file> | ||
+ | and regenerate geninitrd. | ||
+ | |||
+ | Alternatively run: | ||
+ | |||
+ | <file>modprobe i915 | ||
+ | </file> | ||
+ | |||
+ | |||
+ | ===== XDMCP ===== | ||
+ | If you want to create cross computer X sessions using XDMCP please enable it *dm (kdm, gdm) on machine you wish to connect to. | ||
+ | |||
+ | Now you can run: | ||
+ | |||
+ | <file> X -query xdmcp.enabled.server | ||
+ | </file> | ||
+ | or just X or local kdm and select network log in instead of local log in. | ||
+ | |||
+ | |||
+ | |||
+ | ==== Source IP# number problem on client machine ==== | ||
+ | Rules which X selects interface on which it binds for X sessions are not clear for some people. If you spot problem : | ||
+ | |||
+ | <file>XDMCP fatal error: Session failed Session <some_number> failed for display my.adress.not.acessible.to.server:0: cannot open display | ||
+ | </file> | ||
+ | Try if forcing connection source ip adress helps: | ||
+ | |||
+ | <file> X -query xdmcp.enabled.server -from my.adress.acessible.to.server | ||
+ | </file> |