Commit 6cfed282 authored by Fjen Undso's avatar Fjen Undso
Browse files

update multiseat config for debian stretch

device assigning is now handled completely by udev/logind.
X11 config not needed anymore.
parent b3bad68f
Section "Device"
Identifier "Seat1"
Driver "radeon"
BusID "PCI:0:1:0" # decimal instead of hexadeci from lspci
# 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics] (rev d4)
EndSection
Section "InputClass"
Identifier "ignore_other_seats"
Option "Ignore" "yes"
EndSection
Section "InputClass"
Identifier "use_seat_devices"
MatchTag "input_seat1"
Option "Ignore" "no"
EndSection
Section "ServerFlags"
Option "AutoAddGPU" "FALSE"
Option "DontVTSwitch" "on"
EndSection
Section "Device"
Identifier "Seat2"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection
Section "InputClass"
Identifier "ignore_other_seats"
Option "Ignore" "yes"
EndSection
Section "InputClass"
Identifier "use_seat_devices"
MatchTag "input_seat2"
Option "Ignore" "no"
EndSection
Section "ServerFlags"
Option "AutoAddGPU" "FALSE"
Option "DontVTSwitch" "on"
EndSection
......@@ -8,34 +8,46 @@
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
minimum-display-number=0
minimum-vt=7
#minimum-display-number=0
#minimum-vt=7
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
logind-check-graphical=false
#log-directory=/var/log/lightdm
#run-directory=/var/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters
#backup-logs=true
#
# Seat defaults
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:thin-client*] matches all seats that have names that start with "thin-client".
#
# type = Seat type (xlocal, xremote)
# xdg-seat = Seat name to set pam_systemd XDG_SEAT variable and name to pass to X server
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-layout = Layout to pass to X server
# xserver-config = Config file to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
......@@ -53,6 +65,7 @@ minimum-vt=7
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
......@@ -70,10 +83,13 @@ minimum-vt=7
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[SeatDefaults]
[Seat:*]
#type=xlocal
#xdg-seat=seat0
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
......@@ -87,25 +103,26 @@ minimum-vt=7
#unity-compositor-timeout=60
#greeter-session=example-gtk-gnome
greeter-hide-users=false
#greeter-allow-guest=false
#greeter-allow-guest=true
greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-guest=false
#allow-user-switching=true
#allow-guest=true
#guest-session=
#session-wrapper=lightdm-session
#greeter-wrapper=
#guest-wrapper=/usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=/root/gast1-session.sh
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=gast1
autologin-user-timeout=3
#autologin-user=
autologin-user-timeout=10
#autologin-in-background=false
#autologin-session=UNIMPLEMENTED
#autologin-session=
#exit-on-failure=false
user-authority-in-system-dir=true
......@@ -117,16 +134,16 @@ user-authority-in-system-dir=true
#
#[Seat:0]
[Seat:0]
xserver-command=/usr/bin/X :0 -sharevts -keeptty -isolateDevice PCI:1:0:0
xserver-config=xorg_seat1.conf
[Seat:seat-0]
xserver-command=/usr/bin/X -core -dpms -s 0
#xserver-config=xorg_seat1.conf
autologin-user=gast1
session-setup-script=/root/gast1-session.sh
[Seat:1]
xserver-command=/usr/bin/X :1 -sharevts -keeptty -isolateDevice PCI:16:0:0
[Seat:seat-1]
xserver-command=/usr/bin/X -core -dpms -s 0
#-sharevts -keeptty
xserver-config=xorg_seat2.conf
#xserver-config=xorg_seat2.conf
autologin-user=gast2
session-setup-script=/root/gast2-session.sh
......@@ -135,6 +152,7 @@ session-setup-script=/root/gast2-session.sh
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
......@@ -143,6 +161,7 @@ session-setup-script=/root/gast2-session.sh
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#
......@@ -151,6 +170,7 @@ session-setup-script=/root/gast2-session.sh
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
......@@ -159,6 +179,7 @@ session-setup-script=/root/gast2-session.sh
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8
\ No newline at end of file
#depth=8
SUBSYSTEM=="input", DEVPATH=="/devices/pci0000:00/0000:00:10.0/usb3/3-2/*", ENV{ID_INPUT.tags}="input_seat1"
# multiseat config for seat 2. seat 1 does not need this.
# assign usb ports
TAG=="seat", DEVPATH=="/devices/pci0000:00/0000:00:10.0/usb?/?-1/*", ENV{ID_SEAT}="seat-1", TAG+="seat-1"
# assign video cards
TAG=="seat", DEVPATH=="/devices/pci0000:00/0000:00:02.1/0000:01:00.0/*", ENV{ID_SEAT}="seat-1", TAG+="seat-1"
SUBSYSTEM=="input", DEVPATH=="/devices/pci0000:00/0000:00:10.0/usb3/3-1/*", ENV{ID_INPUT.tags}="input_seat2"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment