You are not logged in.
I could use keyboard & mouse correctly under default one seat configuration.
When I try multiseat configuration, my keyboard & mouse's behavior is strange.
I've two keyboard:
1. PS/2
2. PS/2 mouse over a PS2USB cable to connect on PC's USB port.
I grab some config from network that let my keyboard workable, but when I typing it sometimes beep.
So, I figure out that maybe caused by evdev config.
I changed to another setting include xrbrules,xrbmodel,....
Now, it won't beep, but my number pad and arrow keys can not work correctly.
I'm wonder what's correct setting.
Or, is it possible to use InputClass on xorg.conf.multiseat?
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
I've try to add "GrabDevice" on /etc/X11/xorg.conf.multiseat , it let my two keyboard separated.
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
Option "xkb_rules" "evdev"
Option "xkb_model" "evdev"
Option "xkb_layout" "us"
Option "xkb_options" "keypad:pointerkeys"
Option "GrabDevice" "on"
EndSectionBut, I found when I using my seat0 for about 10 minutes, the sea0's screen will become dark and back to text console.
There is no special error message on /var/log/Xorg.0.log or /var/log/everything.
in /var/log/xdm.log, I found some warning, could I solve these at first?
xdm info (pid 348): Starting
xdm info (pid 348): Starting X server on :1
X.Org X Server 1.12.2
Release Date: 2012-05-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.32-1-lts x86_64
Current Operating System: Linux e6600 3.3.8-1-ARCH #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 2012 x86_64
Kernel command line: root=/dev/disk/by-label/arch ro
Build Date: 30 May 2012 07:24:13PM
Current version of pixman: 0.26.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Jun 12 21:54:33 2012
(++) Using config file: "/etc/X11/xorg.multiseat.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
xdm info (pid 348): Starting X server on :0
X.Org X Server 1.12.2
Release Date: 2012-05-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.32-1-lts x86_64
Current Operating System: Linux e6600 3.3.8-1-ARCH #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 2012 x86_64
Kernel command line: root=/dev/disk/by-label/arch ro
Build Date: 30 May 2012 07:24:13PM
Current version of pixman: 0.26.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 12 21:54:35 2012
(++) Using config file: "/etc/X11/xorg.multiseat.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
Warning: translation table syntax error: Unknown modifier name: CtrlR
Warning: ... found while parsing 'CtrlR:abort-display()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown modifier name: CtrlR
Warning: ... found while parsing 'CtrlR:abort-display()'
Warning: String to TranslationTable conversion encountered errors
xdm info (pid 382): sourcing /etc/X11/xdm/archlinux/Xsetup
xdm info (pid 375): sourcing /etc/X11/xdm/archlinux/Xsetup
Warning: Cannot convert string "auto" to type ScrollMode
Warning: Cannot convert string "-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1" to type FontStruct
Warning: Cannot convert string "auto" to type ScrollMode
Warning: Cannot convert string "-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1" to type FontStruct
Warning: Cannot convert string "-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1" to type FontStruct
Warning: Cannot convert string "-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1" to type FontStruct
xdm info (pid 382): sourcing /etc/X11/xdm/archlinux/Xstartup
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 74 requests (59 known processed) with 0 events remaining.
xkill: killing creator of resource 0x60000d
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 86 requests (82 known processed) with 0 events remaining.
xkill: killing creator of resource 0x800016
xdm info (pid 497): executing session /etc/X11/xdm/XsessionRunning 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
Sorry I can't answer your question but I have to wonder why you need 2 keyboards? I can't figure out where this situation would be applicable. Enlighten me?
Offline
I assume you're using the wiki article. This tells you to disable input hotplugging. If you're doing this, then it should be OK to try the "kbd" and "mouse" drivers instead of evdev to see if they help. In case input hotplugging is still happening, you might want to add:
Option "AllowEmptyInput" "false"
right below it. Have you tried starting two separate X servers manually? The wiki article suggests some config-fu for KDM and I'm not sure what the equivalent would be for XDM. It seems strange that seat0 would suddenly quit to a console after awhile but not seat1.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
MoonSwan,
I'm trying multi-seat. That's why I have two keyboards and two mice.
ConnorBehan,
I think the kbd/mouse driver is not suitable, because their device name may change during every reboot.
Yes, I've disabled the hotplugging by
Option "AutoEnableDevices" "off"BTW, where is document about "AllowEmptyInput". Is it on any man page?
Do you mean put it on [ServerLayout] section? I haven't see it on 'man xorg.conf'.
I found the computer will to console mode on seat0 after about 10~18 minutes.
I'll try just use 'startx' without xdm for longer time.
Is there any log which I should check? (I think /var/log/xdm.log and /var/log/Xorg.0.log is enough).
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
I put AllowEmptyInput right under AutoAddDevices in ServerFlags. Maybe the option is not around anymore but back when X used HAL, I had to use it in order to disable hotplugging.
I still think the other drivers are worth a try, since you can put a hack in rc.local that will find out the right device names on boot from "/proc/bus/input/devices" and echo them into xorg.conf.
Those log files sound good. You might also want to check .xsession-errors (if you don't have it, run startx > .xsession-errors). I have a couple stupid questions to make sure I understand the problem: When the computer switches to a console, does this mean X dies? Or can you switch back to it with Ctrl+Alt+F7 or Ctrl+Alt+F8? And when you use single seat, there's no unexpected switching right?
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
I put AllowEmptyInput right under AutoAddDevices in ServerFlags. Maybe the option is not around anymore but back when X used HAL, I had to use it in order to disable hotplugging.
I've tried, its useless.
When the computer switches to a console, does this mean X dies? Or can you switch back to it with Ctrl+Alt+F7 or Ctrl+Alt+F8?
I can switch by Ctrl+Alt+F1.... but, can NOT back the graphic mode even on Ctrl-Alt+F7/F8.
And when you use single seat, there's no unexpected switching right?
If I just try run one seat by startx manually by seat0, it is OK.
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
I change my seat0 to use 'openbox' instead of 'awesome'. But it can not solve the problem -- seat0 will back to a black screen.
with a mouses cursor and a text mode terminal login like:
Arch Linux 3.4.2-2
e6600 login:I guess it is under video mode. When I press 'ctrl-alt-F1..F6', it will display vt1~6,
When I press 'ctrl-alt-F7..F8', it shows a black screen.
I'm typing on my seat1, the seat0's X still running.(both openbox running too).
$ ps -ef |grep X ~ dlin@e6600
root 364 1 0 17:01 ? 00:00:00 /usr/bin/xdm -nodaemon -config /etc/X11/xdm/archlinux/xdm-config
root 388 364 1 17:01 tty8 00:00:13 /usr/bin/X :1 vt08 -layout seat1 -nolisten tcp -sharevts -keeptty -novtswitch -config xorg.multiseat.conf -auth /var/lib/xdm/authdir/authfiles/A:1-ZZ9ULP
root 395 364 1 17:01 tty7 00:00:14 /usr/bin/X :0 vt07 -layout seat0 -nolisten tcp -sharevts -keeptty -novtswitch -config xorg.multiseat.conf -auth /var/lib/xdm/authdir/authfiles/A:0-K0kMR7Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
When I press 'ctrl-alt-F7..F8', it shows a black screen.
But is X still running? If X has crashed and stopped running then seeing a black screen on tty7 and tty8 is normal. I just thought of a random thing to try. What if you startx with a single seat layout but then switch back to a tty and leave it that way for >10 minutes? Will you still be able to switch back to X after that? It could be that your system has a problem with leaving an X session unoccupied.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Here are some questions which I've solved.
1. Sometimes, some key stroke will generate 'Beep' on seat0.
A: remember turn on "GrabDevice" on every event input device
2. When I press seat1 keyboard's 'CapsLock', the seat0's 'CapsLock' will enable too.
A: same as Q1
3. Seat0 will reset after several minutes.
A: don't set sharevts on seat0 of xdm's Xservers settings.
4. One sound for multiple users.
A: /etc/pulse/daemon.conf
daemonize = yes
system-instance = yes
5. Let flash support pulseaudio
A: yaourt -S libflashsupport-pulse
There are still some question I haven't solved.
1. Login two seat without typing the two users' username and password.
2. I'm using usb-VGA, I wish I could unplug all seat1 devices when I just want one seat available.
3. In youtube, I can not expand the flash screen into full screen.
Here are my current settings.
/etc/X11/xorg.multiseat.conf::
# run `sudo X -configure` to get initial xorg.conf in /root/xorg.conf.new
# run `X -showopts` to display video card options
# relative man pages: xserver, startx, xdm, xinit
# ref: http://blog.chris.tylers.info/index.php?/archives/14-Multiseat-X-Under-X11R6.97.0.html
# {{{1 ServerLayout
Section "ServerLayout"
Identifier "seat0"
Screen "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Clone" "off"
Option "AutoAddDevices" "off"
Option "DisableModInDev" "true"
Option "SingleCard" "on"
EndSection
Section "ServerLayout"
Identifier "seat1"
Screen "Screen1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
Option "Clone" "off"
Option "AutoAddDevices" "off"
Option "DisableModInDev" "true"
EndSection
Section "ServerLayout"
Identifier "all"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
# {{{1 Keyboard0
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
Option "xkb_rules" "evdev"
Option "xkb_model" "evdev"
Option "xkb_layout" "us"
Option "GrabDevice" "on"
EndSection
# {{{1 Keyboard1
Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-Tangtop_Generic_USBPS2-event-kbd"
Option "xkb_rules" "evdev"
Option "xkb_model" "evdev"
Option "xkb_layout" "us"
Option "GrabDevice" "on"
EndSection
# {{{1 Mouse0
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "device" "/dev/input/by-id/usb-A4Tech_USB_Mouse-event-mouse"
Option "GrabDevice" "on"
EndSection
# {{{1 Mouse1
Section "InputDevice"
Identifier "Mouse1"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-Tangtop_Generic_USBPS2-event-mouse"
Option "GrabDevice" "on"
EndSection
# {{{1 Mouse2
Section "InputDevice"
Identifier "Mouse2"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-1267_PS_2+USB_Mouse-event-mouse"
Option "GrabDevice" "on"
EndSection
# {{{1 Card0
Section "Device"
Identifier "Card0"
Driver "intel"
EndSection
# {{{1 Card1
Section "Device"
Identifier "Card1"
VendorName "SiS" # Value does not matter
BoardName "SiS" # Value does not matter
Driver "sisusb"
EndSection
# {{{1 Monitor0
Section "Monitor"
Identifier "Monitor0"
VendorName "ViewSonic"
ModelName "VA702b"
EndSection
# {{{1 Monitor1
Section "Monitor"
Identifier "Monitor1"
VendorName "VIZIO"
ModelName "VX370M-T"
HorizSync 30-85 # since autodetect broken, force 1280x1024
VertRefresh 60-75 # since autodetect broken, force 60 or 75Hz refresh
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Acer" # value does not matter
ModelName "AL1706" # value does not matter
HorizSync 30-83
VertRefresh 55-75
Option "DPMS"
# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
# {{{1 Screen0
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "DPI" "100x100"
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768"
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
#Option "XkbModel" "pc104"
EndSection
# {{{1 Screen1
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 16
Option "DPI" "100x100"
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
# {{{1 global settings
Section "ServerFlags"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
Option "AllowMouseOpenFail" "on"
Option "AllowEmptyInput" "on"
Option "ZapWarning" "on"
Option "DefaultServerLayout" "seat0"
Option "HandleSepcialKeys" "off" # Zapping on
Option "DRI2" "on"
Option "Xinerama" "off"
EndSection/etc/X11/xdm/Xservers::
:0 local /usr/bin/X -nolisten tcp -keeptty -novtswitch -config xorg.multiseat.conf :0 vt07 -layout seat0 -seat seat0
:1 local /usr/bin/X -nolisten tcp -keeptty -novtswitch -config xorg.multiseat.conf :1 vt08 -layout seat1 -seat seat1 -sharevts/etc/X11/xdm/archlinux/xdm-config::
... original settings from default package
DisplayManager._1.setup: /etc/X11/xdm/archlinux/Xsetup
DisplayManager._1.startup: /etc/X11/xdm/archlinux/Xstartup
DisplayManager._1.reset: /etc/X11/xdm/TakeConsoleLast edited by dlin (2012-06-22 01:16:25)
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
I've solved these two questions:
1. Login two seat without typing the two users' username and password.
A: see https://wiki.archlinux.org/index.php/Xo … Manager.29
2. I'm using usb-VGA, I wish I could unplug all seat1 devices when I just want one seat available.
A: initial both seat at boot time, when plugin new seat device, just kill the X server to restart it.
I've updated in wiki.
There are still left one question I haven't solved.
1. In youtube, I can not expand the flash screen into full screen.
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline