Comment 1 for bug 300974

Revision history for this message
Obrouni (nick-fisk) wrote :

The two commands to launch Xephyr for each of the two seats:-

/usr/bin/Xephyr -ac :1 -br -fullscreen -keybd evdev,,device=/dev/input/by-path/platform-i8042-serio-0-event-kbd,xkbrules=xorg,xkbmodel=evdev,xkblayout=es -mouse evdev,,device=/dev/input/by-path/platform-i8042-serio-1-event-mouse,WHEELRelativeAxisButtons 6 7 -auth /var/lib/gdm/:1.Xauth -nolisten tcp vt9

/usr/bin/Xephyr -ac :2 -br -fullscreen -keybd evdev,,device=/dev/input/by-path/pci-0000:00:02.0-usb-0:2:1.0-event-kbd,xkbrules=xorg,xkbmodel=evdev,xkblayout=es -mouse evdev,,device=/dev/input/by-path/pci-0000:00:02.0-usb-0:1:1.0-event-mouse,WHEELRelativeAxisButtons 6 7 -auth /var/lib/gdm/:2.Xauth -nolisten tcp vt9

These are launched from gdm as shown below:-

#0=Standard device=/dev/console

# ****************************************************************************

# Modifications to enable MultiSeat X

0=Xephyr0
1=Xephyr1
2=Xephyr2
#3=Xephyr3
#4=Xephyr4

[server-Xephyr0]
name=Xephyr0
command=/usr/bin/X -br -dpms -s 0
handled=false
flexible=false

[server-Xephyr1]
name=Xephyr1
command=/usr/sbin/Xephyr-path.sh -display :0.0 -br -xauthority /var/lib/gdm/:0.Xauth -fullscreen -kbdpath platform-i8042-serio-0-event-kbd -mousepath platform-i8042-serio-1-event-mouse
handled=true
flexible=false

[server-Xephyr2]
name=Xephyr2
command=/usr/sbin/Xephyr-path.sh -display :0.1 -br -xauthority /var/lib/gdm/:0.Xauth -fullscreen -kbdpath pci-0000:00:02.0-usb-0:2:1.0-event-kbd -mousepath pci-0000:00:02.0-usb-0:1:1.0-event-mouse
handled=true
flexible=false

The /usr/sbin/Xephyr-path.sh script simply formats the arguments into the two commands pasted at the top.

And I have attached my xorg.conf