NSAS Wiki

Network System Access Solutions

User Tools

Site Tools


Sidebar

Contact

linux:multiseat

Ubuntu Multiseat

What is a Multiseat System ? You have one Computer per office, hooked to this computer are severals Monitors, Keyboards and so on. In order to work seperat you will have to modify your configuration.

  1. Install Ubuntu 10.10 with upstart and gnome (included in standart desktop installation)
  2. mv /etc/init/gdm.conf /root/backup
  3. now you will have to create the following 4 files for each head (Monitor+Keyboard…).

Head configuration

For each head you have to create the following 4 files.

/etc/init/head-USERNAME.conf
description	"Multiseat Display Manager"
author		"Michel Pelzer"
 
start on (filesystem
          and started dbus
          and drm-device-added 
	   or stopped udevtrigger)
stop on runlevel [016]
 
emits starting-dm
 
script
    exec su USERNAME -c "startx"
end script
 
respawn
respawn limit 10 5
/etc/X11/xorg_USERNAME.conf
Section "ServerFlags"
    Option         "AIGLX" "on"
    Option         "DontZap"  "yes"
    Option         "DisableModInDev" "true"
    Option         "AllowMouseOpenFail" "yes"
    Option         "AutoEnableDevices"   "false"
    Option         "AutoAddDevices"      "false"
    Option         "Xinerama" "0"
    Option         "BlankTime" "10"
    Option         "StandbyTime" "0"
    Option         "SuspendTime" "15"
    Option         "OffTime" "20"
EndSection
 
Section "ServerLayout"
    Identifier     "USERNAME"
    Screen         "USERNAME screen" 0 0
    InputDevice    "USERNAME keyboard"
    InputDevice    "USERNAME mouse"
    Option         "IsolateDevice" "PCI:5:0:0"
EndSection
 
Section "Files"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
 
Section "Module"
EndSection
 
Section "InputDevice"
    Identifier     "USERNAME keyboard"
    Driver         "evdev"
    Option         "Device" "/dev/input/by-id/usb-Logitech_Logitech_BT_Mini-Receiver_00076191E517-event-kbd"
    Option         "CoreKeyboard"
    Option         "XkbLayout" "de"
EndSection
 
Section "InputDevice"
    Identifier     "USERNAME mouse"
    Driver         "evdev"
    Option         "CorePointer"
    Option         "Device" "/dev/input/by-id/usb-Logitech_Logitech_BT_Mini-Receiver_00076191E517-event-mouse"
EndSection
 
Section "Monitor"
    Identifier     "USERNAME lcd"
    ModelName      "Philips FTV"
    ModeLine       "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync Interlace
    ModeLine       "1920x1080" 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync Interlace
    HorizSync       15.0 - 70.0
    VertRefresh     48.0 - 62.0
EndSection
 
Section "Device"
    Identifier     "USERNAME grafikkarte"
    Driver         "nvidia"
    BusID          "PCI:5:0:0"
    Option         "UseEvents" "True"
EndSection
 
Section "Screen"
    Identifier     "USERNAME screen"
    Device         "USERNAME grafikkarte"
    Monitor        "USERNAME lcd"
    DefaultDepth    24
    Option         "nologo"
    Option         "UseEvents" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
 
Section "Extensions"
    Option         "Composite" "Disable"
EndSection
/home/USERNAME/.xserverrc
exec /usr/bin/X -nolisten tcp -br -audit 0 vt7 -config xorg_USERNAME "$@"
/home/USERNAME/.xinitrc
exec gnome-session
linux/multiseat.txt · Last modified: 2013/05/23 11:36 (external edit)