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

Bug#851941: marked as done (since version 2:1.19.1-1 xserver-xorg-legacy ignores settings in Xwrapper.config)



Your message dated Fri, 20 Jan 2017 10:37:57 +0100
with message-id <18602e73-7584-4e8c-6d27-c6ed2ea7eb0c@debian.org>
and subject line Re: Bug#851941: since version 2:1.19.1-1 xserver-xorg-legacy ignores settings in Xwrapper.config
has caused the Debian Bug report #851941,
regarding since version 2:1.19.1-1 xserver-xorg-legacy ignores settings in Xwrapper.config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
851941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851941
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On 20/01/17 10:32, Tiziano Zito wrote:
>> Can you try with 2:1.19.1-4 ? There was a regression in the Xorg.wrap
>> permissions.
> 
> Yes, thank you! With version  2:1.19.1-4 the problem is gone!

Cool. Closing this bug.

Emilio

--- End Message ---

Reply to: