Tartalomjegyzék

< Hogyanok

ERŐSEN FEJLESZTÉS ALATT!

Multiseat

Eszközök adatai

Mielőtt hozzáfogsz ki kell derítened az egerek és a billentyűzetek néhány adatát:

cat /proc/bus/input/devices

Ehhez hasonló kimenet látunk:

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: EV=40001
B: SND=6

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input4
U: Uniq=
H: Handlers=mouse0 event4 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

Nekünk két dolog fontos a kimenetből. Az eszköz név, amely „N: Name=”-el kezdődik. A másik a fizikai cím, amely „P: phys”-e kezdődik.

Esetleg kellhet

apt-cache search xephyr
sugar-emulator-0.84 - Sugar graphical shell - emulator
sugar-emulator-0.86 - Sugar graphical shell - emulator
sugar-emulator-0.88 - Sugar graphical shell - emulator
xoo - graphical wrapper around Xnest/Xephyr
xnest - Nested X server
xserver-xephyr - nested X server

Keresőkulcsok:

gdm3 multiseat
Debian multiseat

/etc/udev/rules.d/50-usbseat.rules

KERNEL=="fb*",SUBSYSTEMS=="usb",PROGRAM="/bin/cat /sys/%p/../../../devnum",SYMLINK+="usbseat/%c/display"
KERNEL=="mouse*", SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02", PROGRAM="/bin/cat /sys/%p/../../../../../devnum",SYMLINK+="usbseat/%c/mouse"
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01",PROGRAM="/bin/cat /sys/%p/../../../../../devnum",SYMLINK+="usbseat/%c/keyboard"

Lásd még

loginctl

Kliensen

synergyc ipcim_gep1
mcedit fejlnev.conf
section: screens
    pc1:
    pc2:
end
section: links
    pc1:
        left = pc2
    pc2:
        right = pc1
end
synergys ­­config fajlnev.conf

Linkek

Tutorial