[Pkg-xfce-devel] Bug#697823: lightdm: Dual seat configuration - unwanted VT switches
Package: lightdm
Version: 1.2.2-4
Severity: normal
Dear Maintainer,
My system has two seats, each with its own video card, display, keyboard and
mouse.
The two seats are defined in /usr/share/X11/xorg.conf.d and referenced in
/etc/lightdm/lightdm.conf.
Seat0 uses a Radeon PCIE x1 card.
In lightdm.conf the X command for this seat is
xserver-command=/usr/bin/X -sharevts -novtswitch
so it uses VT7 and does not respond to <Ctrl><Alt>Fn keys.
Seat1 uses a Radeon PCIE x16 card.
In lightdm.conf, three [Seat:] sections are defined on this seat. The X command
for this seat is
xserver-command=/usr/bin/X
so it does respond to <Ctrl><Alt>Fn keys by switching VTs, and three users can
be signed in on three VTs.
Lightdm assigns the three [Seat:] definitions to VT8, VT9, VT10.
It's also possible to switch to VT1, ... ,VT6 and get a character mode
terminal.
Switches to VT7, VT11, ... also have an effect (see below).
This all seems to work, except that
- Seat1 responds to <Ctrl><Alt>Fn when it is keyed on Seat0's keyboard.
(Exception: If Seat1 is displaying VT8, VT9, or VT10, it will not respond to
<Ctrl><Alt>F7.)
- When Seat1 is switched to VT7, it echoes all characters keyed on Seat0's
keyboard.
Also, logging out of Gnome on Seat0 results in a VT switch on Seat1!
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lightdm depends on:
ii adduser 3.113+nmu3
ii consolekit 0.4.5-3.1
ii dbus 1.6.8-1
ii debconf [debconf-2.0] 1.5.49
ii libc6 2.13-37
ii libglib2.0-0 2.33.12+really2.32.4-3
ii libpam0g 1.1.3-7.1
ii libxcb1 1.8.1-2
ii libxdmcp6 1:1.1.1-1
ii lightdm-gtk-greeter [lightdm-greeter] 1.1.6-2
Versions of packages lightdm recommends:
ii xserver-xorg 1:7.7+1
Versions of packages lightdm suggests:
ii accountsservice 0.6.21-7
ii upower 0.9.17-1
-- Configuration Files:
/etc/lightdm/lightdm.conf changed:
[LightDM]
minimum-display-number=0
minimum-vt=7
[SeatDefaults]
xserver-command=/usr/bin/X
qxserver-allow-tcp=false
greeter-session=lightdm-greeter
greeter-hide-users=true
greeter-show-manual-login=true
user-session=gnome-fallback.desktop
session-wrapper=/etc/X11/Xsession
exit-on-failure=true
[Seat:0]
xserver-command=/usr/bin/X -sharevts -novtswitch
xserver-layout=Seat0
[Seat:1]
xserver-command=/usr/bin/X
xserver-layout=Seat1
[Seat:2]
xserver-command=/usr/bin/X
xserver-layout=Seat1
[Seat:3]
xserver-command=/usr/bin/X
xserver-layout=Seat1
[XDMCPServer]
[VNCServer]
-- debconf information:
lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm
Reply to: