Package: xserver-xorg-legacy Version: 2:1.19.0-3 Severity: important Starting from version 2:1.19.1-1 the settings in Xwrapper.config are ignored.
In a system with systemd, I start the Xserver from /etc/rc.local with: su -l myusername -c 'exec startx -- vt4 >> /tmp/xsession-errors 2>&1' i.e. X is started from a user which is not logged in a console. This simulates the "autologin" feature of some display managers. No display manager is installed on this machine. Until version 2:1.19.0-3 this works like a charm if /etc/X11/Xwrapper.config contains: needs_root_rights=yes allowed_users=anybody Starting from 2:1.19.1-1, X does not start anymore and fails with: [ 63.770] (EE) Fatal server error: [ 63.773] (EE) xf86OpenConsole: Cannot open virtual console 4 (Permission denied) [ 63.774] (EE) [ 63.776] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 63.782] (EE) Please also check the log file at "/home/tiziano/.local/share/xorg/Xorg.0.log" for additional information. [ 63.784] (EE) [ 63.785] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor [ 63.785] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor [ 63.785] (EE) Server terminated with error (1). Closing log file. If I login in the console, I can start X with "startx", but I can not start on a different console from that I am logged into, i.e. "startx -- vt4" fails with the same error. I don't see anything in the package changelog that would explain the problem. Reverting to 2:1.19.0-3 fixes the problem. Thanks! Tiziano -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages xserver-xorg-legacy depends on: ii debconf [debconf-2.0] 1.5.59 ii libaudit1 1:2.6.7-1 ii libc6 2.24-9 pn xserver-common <none> xserver-xorg-legacy recommends no packages. xserver-xorg-legacy suggests no packages. -- debconf information: xserver-xorg-legacy/xwrapper/actual_allowed_users: anybody xserver-xorg-legacy/xwrapper/allowed_users: Anybody