[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#812791: xserver-xorg-core: Kills DM controlled session when opening X from another tty



Package: xserver-xorg-core
Version: 2:1.17.3-2
Severity: normal

Dear Maintainers,

I am having a strange problem apparently starting with 2:1.17.2-3.

I often have a display-manager controlled X session for one user and open
another X session in a free tty for a different user with startx.

This has been working for a long time. However, after a recent testing
upgrade including xserver-xorg-core 2:1.17.2-3 this started to fail
(failure happened before in a sid box, but there were more upgrades to
look when trying to locate which change might be responsible).

When I have a display-mamager controlled X session and, without leaving the
session, switch to a free tty, login as another user and start an X session
with startx original X session gets killed and I am sent to DM greeter.

With 2:1.17.2-3 I was not even allowed to re-open a DM controlled session
even if I close first the startx created X session. Seems that this is no
longer happening and I can now re-enter but after some session switch
original new DM controlled session gets killed.

Tried with xdm, wdm and lightdm as DM and xfce4, icewm and openbox as
sessions opened from the DM. With xfce4 session killing is faster, but it
is killed anyway with the other.

Tried with xserver-xorg-legacy and /etc/X11/Xwrapper.config containing

needs_root_rights=yes
allowed_users=console

No luck, problem persists.

No problem if I create different X sessions with startx from different ttys.

If I downgrade xserver-xorg stuff to versions in wheezy/stable, problem
seems to disappear.

Also, note that I am using sysvinit in this box.

No apparent errors in usual log files. auth.log just shows it as a normal
logout.

-- Package-specific info:
X server symlink status:
------------------------
lrwxrwxrwx 1 root root 13 Jun  4  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Oct 28 00:43 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
----------------------------------
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [GeForce GT 610] [10de:104a] (rev a1)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:
------------------------
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
-------------------------------
Linux version 4.3.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 5.3.1 20160114 (Debian 5.3.1-6) ) #1 SMP Debian 4.3.3-7 (2016-01-19)

DRM Information from dmesg:
---------------------------
[    0.000000] AGP: No AGP bridge found
[    0.000000] AGP: Checking aperture...
[    0.000000] AGP: No AGP bridge found
[    0.000000] AGP: Node 0: aperture [bus addr 0x00000000-0x01ffffff] (32MB)
[    0.000000] AGP: Your BIOS doesn't leave an aperture memory hole
[    0.000000] AGP: Please enable the IOMMU option in the BIOS setup
[    0.000000] AGP: This costs you 64MB of RAM
[    0.000000] AGP: Mapping aperture over RAM [mem 0xd0000000-0xd3ffffff] (65536KB)
[    1.155897] PCI-DMA: Disabling AGP.
[    1.155979] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
[    1.182742] Linux agpgart interface v0.103
[   23.916063] [drm] Initialized drm 1.1.0 20060810
[   24.620545] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
[   24.620549] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[   24.620555] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[   24.620559] nouveau 0000:01:00.0: DRM: DCB version 4.0
[   24.620564] nouveau 0000:01:00.0: DRM: DCB outp 00: 02000300 00000000
[   24.620570] nouveau 0000:01:00.0: DRM: DCB outp 01: 01000302 00020030
[   24.620574] nouveau 0000:01:00.0: DRM: DCB outp 02: 02011362 00020010
[   24.620578] nouveau 0000:01:00.0: DRM: DCB outp 03: 04022310 00000000
[   24.620582] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001030
[   24.620585] nouveau 0000:01:00.0: DRM: DCB conn 01: 00002161
[   24.620589] nouveau 0000:01:00.0: DRM: DCB conn 02: 00000200
[   24.622677] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   24.622680] [drm] Driver supports precise vblank timestamp query.
[   24.677537] nouveau 0000:01:00.0: DRM: MM: using COPY0 for buffer copies
[   24.899601] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb: 0x60000, bo ffff8800da058400
[   24.992886] [drm] Initialized nouveau 1.3.0 20120801 for 0000:01:00.0 on minor 0


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (200, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages xserver-xorg-core depends on:
ii  keyboard-configuration    1.134
ii  libaudit1                 1:2.4.5-1
ii  libc6                     2.21-6
ii  libdbus-1-3               1.10.6-1
ii  libdrm2                   2.4.66-2
ii  libegl1-mesa              11.1.1-2
ii  libepoxy0                 1.3.1-1
ii  libgbm1                   11.1.1-2
ii  libgcrypt20               1.6.4-4
ii  libgl1-mesa-glx [libgl1]  11.1.1-2
ii  libpciaccess0             0.13.4-1
ii  libpixman-1-0             0.33.6-1
ii  libselinux1               2.4-3
ii  libudev1                  228-4
ii  libxau6                   1:1.0.8-1
ii  libxdmcp6                 1:1.1.2-1.1
ii  libxfont1                 1:1.5.1-1
ii  libxshmfence1             1.2-1
ii  udev                      228-4
ii  xserver-common            2:1.17.3-2

Versions of packages xserver-xorg-core recommends:
ii  libgl1-mesa-dri  11.1.1-2
ii  libpam-systemd   228-4

Versions of packages xserver-xorg-core suggests:
ii  xfonts-100dpi    1:1.0.4+nmu1
ii  xfonts-75dpi     1:1.0.4+nmu1
ii  xfonts-scalable  1:1.0.3-1.1

-- no debconf information

-- 
Agustin


Reply to: