Debian Bug report logs - #697823
lightdm: Dual seat configuration - unwanted VT switches

version graph

Package: lightdm; Maintainer for lightdm is Debian Xfce Maintainers <debian-xfce@lists.debian.org>; Source for lightdm is src:lightdm (PTS, buildd, popcon).

Reported by: Jack Dodds <brmdamon@hushmail.com>

Date: Thu, 10 Jan 2013 02:00:02 UTC

Severity: normal

Found in versions lightdm/1.2.2-4, lightdm/1.6.0-3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, brmdamon@hushmail.com, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#697823; Package lightdm. (Thu, 10 Jan 2013 02:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jack Dodds <brmdamon@hushmail.com>:
New Bug report received and forwarded. Copy sent to brmdamon@hushmail.com, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Thu, 10 Jan 2013 02:00:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jack Dodds <brmdamon@hushmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lightdm: Dual seat configuration - unwanted VT switches
Date: Wed, 09 Jan 2013 20:58:08 -0500
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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#697823; Package lightdm. (Thu, 10 Jan 2013 04:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jack Dodds <brmdamon@hushmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Thu, 10 Jan 2013 04:24:03 GMT) (full text, mbox, link).


Message #10 received at 697823@bugs.debian.org (full text, mbox, reply):

From: Jack Dodds <brmdamon@hushmail.com>
To: 697823@bugs.debian.org
Subject: X conf file
Date: Wed, 09 Jan 2013 22:51:50 -0500
Here's the X .conf file that defines the two seats:
/usr/share/X11/xorg.conf.d/ 20-radeon.conf



Section "ServerFlags"
    Option        "AutoAddDevices"    "Off"
    Option        "AutoEnableDevices"    "Off"
    Option        "RandR"            "On"
    Option        "DontZap"        "On"
    #Option        "NoTrapSignals"        "On"
    #Option        "DontVTSwitch"          "On"
EndSection

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver        "evdev"
        Option "Device"
"/dev/input/by-path/pci-0000:00:13.2-usb-0:2.5:1.0-event-kbd"
    Option        "Floating"    "Off"
EndSection

Section "InputDevice"
    Identifier    "Mouse0"
    Driver        "evdev"
        Option "Device"
"/dev/input/by-path/pci-0000:00:13.2-usb-0:2.6:1.0-event-mouse"
    Option        "Floating"    "Off"
EndSection

Section "InputDevice"
    Identifier    "Keyboard1"
    Driver        "evdev"
    Option "Device"
"/dev/input/by-path/pci-0000:00:13.2-usb-0:3.1:1.0-event-kbd"
    Option        "Floating"    "Off"
EndSection

Section "InputDevice"
    Identifier    "Mouse1"
    Driver        "evdev"
        Option "Device"
"/dev/input/by-path/pci-0000:00:13.2-usb-0:3.2:1.0-event-mouse"
    Option        "Floating"    "Off"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Acer"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
        VendorName   "Acer"
EndSection

Section "Device"
# Radeon HD 5430 - DVI output
    Identifier    "VideoOutput0"
    Driver        "radeon"
    Screen        0
    Option        "ZaphodHeads"    "DVI-0"
    Option        "SingleCard"    "Yes"
    BusID        "PCI:04:00:00"
    Option        "SWCursor"    "Off"
EndSection

Section "Device"
# Radeon HD 5450 - DVI output
    Identifier    "VideoOutput1"
    Driver        "radeon"
    Screen        0
    Option        "ZaphodHeads"    "DVI-1"
    Option        "SingleCard"    "Yes"
    BusID        "PCI:01:00:00"
    Option        "SWCursor"    "Off"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "VideoOutput0"
    Option        "NoInt10"    "On"
    Monitor        "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "VideoOutput1"
    Option        "NoInt10"    "On"
    Monitor        "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

#Section "ServerFlags"
#        Option          "RandR" "false"
#EndSection

Section "ServerLayout"
    Identifier    "Seat0"
    Screen 0    "Screen0"
    Option         "Xinerama"     "Off"
    InputDevice    "Keyboard0"     "CoreKeyboard"
    InputDevice    "Mouse0"    "CorePointer"
EndSection

Section "ServerLayout"
    Identifier    "Seat1"
    Screen    0    "Screen1"
    Option        "Xinerama"     "Off"
    InputDevice    "Keyboard1"    "CoreKeyboard"
    InputDevice    "Mouse1"    "CorePointer"
EndSection







Information forwarded to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#697823; Package lightdm. (Thu, 22 Aug 2013 02:54:05 GMT) (full text, mbox, link).


Acknowledgement sent to Shawn Landden <shawnlandden@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>. (Thu, 22 Aug 2013 02:54:05 GMT) (full text, mbox, link).


Message #15 received at 697823@bugs.debian.org (full text, mbox, reply):

From: Shawn Landden <shawnlandden@gmail.com>
To: Debian Bug Tracking System <697823@bugs.debian.org>
Subject: Re: lightdm: Dual seat configuration - unwanted VT switches
Date: Wed, 21 Aug 2013 19:48:52 -0700
Package: lightdm
Version: 1.6.0-3
Followup-For: Bug #697823

I reported this upstream some time ago in launchpad

https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/977547

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 3.4.0 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.7.4-1
ii  debconf [debconf-2.0]                  1.5.50
ii  libc6                                  2.17-92
ii  libgcrypt11                            1.5.3-2
ii  libglib2.0-0                           2.36.4-1
ii  libpam0g                               1.1.3-9
ii  libxcb1                                1.9.1-3
ii  libxdmcp6                              1:1.1.1-1
ii  lightdm-gtk-greeter [lightdm-greeter]  1.6.0-1

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+3

Versions of packages lightdm suggests:
ii  accountsservice  0.6.34-1
ii  upower           0.9.21-2

-- Configuration Files:
/etc/init.d/lightdm changed:
set -e
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/lightdm
test -x $DAEMON || exit 0
if [ -r /etc/default/locale ]; then
  . /etc/default/locale
  export LANG LANGUAGE
fi
. /lib/lsb/init-functions
HEED_DEFAULT_DISPLAY_MANAGER=true
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
case "$1" in
  start)
        CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
        if grep -wqs text /proc/cmdline; then
            log_warning_msg "Not starting Light Display Manager (lightdm); found 'text' in kernel commandline."
        elif [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
           [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
           [ "$CONFIGURED_DAEMON" != lightdm ] ; then
                log_action_msg "Not starting Light Display Manager; it is not the default display manager"
        else
                log_daemon_msg "Starting Light Display Manager" "lightdm"
                start-stop-daemon --start --quiet --pidfile /var/run/lightdm.pid --name lightdm --exec $DAEMON -b|| echo -n " already running"
                log_end_msg $?
        fi
  ;;
  stop)
        log_daemon_msg "Stopping Light Display Manager" "lightdm"
        set +e
        start-stop-daemon --stop --quiet --pidfile /var/run/lightdm.pid \
                --name lightdm --retry 5
        set -e
        log_end_msg $?
  ;;
  reload)
        log_daemon_msg "Scheduling reload of Light Display Manager configuration" "lightdm"
        set +e
        start-stop-daemon --stop --signal USR1 --quiet --pidfile \
                /var/run/lightdm.pid --name lightdm
        set -e
        log_end_msg $?
  ;;
  status)
        status_of_proc -p "$PIDFILE" "$DAEMON" lightdm && exit 0 || exit $?
  ;;
  restart|force-reload)
        $0 stop
        sleep 1
        $0 start
  ;;
  *)
        echo "Usage: /etc/init.d/lightdm {start|stop|restart|reload|force-reload|status}"
        exit 1
  ;;
esac
exit 0

/etc/lightdm/lightdm.conf changed:
[LightDM]
[SeatDefaults]
xserver-allow-tcp=false
greeter-session=lightdm-greeter
greeter-hide-users=false
session-wrapper=/etc/X11/Xsession
autologin-user=shawn
[XDMCPServer]
[VNCServer]


-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: slim



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jul 27 05:43:28 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.