Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-29 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Julien,

On 10/28/15 18:55, Julien Cristau wrote:

> I'm not sure what you're trying to say.  xserver-xorg-legacy is only needed 
> for legacy hardware without a kernel driver.
> 

Please check Xorg.wrap(1), provided by xserver-xorg-legacy:

   The  Xorg  X  server  may need root rights to function properly. To
   start the Xorg X server with these rights your system  is  using  a
   suid  root  wrapper installed as /usr/lib/xorg/Xorg.wrap which will
   execute the real X server which is installed as /usr/lib/xorg/Xorg.

AFAICS this is not related to legacy hardware at all.


Regards
Harri

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWMlqvAAoJEAqeKp5m04HLrnEH/jtjOX1T/d+by20qxYNEd6No
85m2G6BZ8/BdkCeC26UXZQpg0RiXtoT681ofQWHCY7xuLykpqy0pMFn+xz4REIxY
yOMqKWQ7hAC2q/UOKQbM3VieqvbC+LGbMVeTUZrRQkrhXRfjgOp7gqss1JXzAa/N
t7vp82BZ375lccfQK2UIzw7Xa0u0/T3V7+c712WGOGX8DX+K1v8sJXE9DZWsuSP0
I7kpgkofgNLvSD/vSL+fyEcfkLD3CAce7l9oMO95pIMdeivndQXMSRuFHiIcQNam
3HMRtU0uMvKQwLjYAnEFS7dSgWYkCQa5ARf3Xieu6hWZ3Z8g+nIL71GPl+bs710=
=cNfl
-END PGP SIGNATURE-



Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-28 Thread Julien Cristau
On Wed, Oct 28, 2015 at 18:50:09 +0100, Harald Dunkel wrote:

> Hi Julien,
> 
> Obviously my reply got lost somehow. My fault.
> 
> The problem was, that xinit suddenly stopped working. The
> previous "console users are allowed to run X" setting was
> lost or ignored during the upgrade.
> 
> AFAICS this problem is still in. Looking at xinit(1) and
> startx(1) the xinit package needs xserver-xorg-legacy to
> provide the documented functionality on the console.
> 
I'm not sure what you're trying to say.  xserver-xorg-legacy is only
needed for legacy hardware without a kernel driver.

Cheers,
Julien


signature.asc
Description: PGP signature


Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-28 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Julien,

Obviously my reply got lost somehow. My fault.

The problem was, that xinit suddenly stopped working. The
previous "console users are allowed to run X" setting was
lost or ignored during the upgrade.

AFAICS this problem is still in. Looking at xinit(1) and
startx(1) the xinit package needs xserver-xorg-legacy to
provide the documented functionality on the console.


Sorry for the confusion. Regards
Harri

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWMQrKAAoJEAqeKp5m04HLOesH/24WKFGs4/CNezS+2iZd3WgA
RhW4FSMB/toY8b4jEZLor87bAQ24UB+5YIA157oMQlr6j8sFg/zMZMtqoYIiGjOw
vojaYub7zssMzQOjIKbqcpHzCSj+Fi1yWLWYZaDRLAiQ7dQr6FfNCTBwc+DNLlO1
Vjdj/ozSgFjGOi4x+XOqJmrsLQQV1eVKJz8GDevES/+vSfMeTR/Ctc6GD3W10P8g
uk1yrkdfS3II/MBP6ujMjH5NF6JPcrTIDZBo8fy78lyJFjVo+3RdaVtXQ8JGCUFV
gE5lQyh2NLI4m2A34qVnbIPOMVJ7YvMQ96j5XlEW8pzc7mf/mtIZlfh893hJTKc=
=C8oI
-END PGP SIGNATURE-



Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-19 Thread Michel Dänzer
On 18.10.2015 16:40, Harald Dunkel wrote:
> On 10/17/15 23:26, Julien Cristau wrote:
>> On Sat, Oct 17, 2015 at 05:34:19 +0200, Harald Dunkel wrote:
> 
>>> Since when?
>>>
>> Ever since X has been able to work as non-root, i.e. when logind support was 
>> added...
> 
> 
> Sorry to say, but thats BS. I am running X on sid right now without
> being root. No logind installed.

You'll find that the Xorg process runs as root then. What Julien is
talking about is the ability of the Xorg process to run as a non-root user.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



signature.asc
Description: OpenPGP digital signature


Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-18 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/17/15 23:26, Julien Cristau wrote:
> On Sat, Oct 17, 2015 at 05:34:19 +0200, Harald Dunkel wrote:
> 
>> 
>> Since when?
>> 
> Ever since X has been able to work as non-root, i.e. when logind support was 
> added...
> 

Sorry to say, but thats BS. I am running X on sid right now without
being root. No logind installed.

If the xinit package depends upon either logind or xserver-xorg-\
legacy to work, then its dependecies should say so. There is
surely no "root-only" mentioned in startx(1) or xinit(1).


Regards
Harri

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWI0z9AAoJEAqeKp5m04HL9wwH/jvMCIGfi99AZZ8FXhkbuUeJ
mKxnanGGwE6pFEB1AJqw7g+Ht3PXgswgAS1J1l+4LvLSNOEFqeWmJkmhc4kX2g/7
yMXP/ls5CGasBI/+XX2nxvd9pMp0RFgOz1fKZDgaXNIEBGfDeUkjVJLYgNzDw6+c
KPs5/jnUKwh9Y8cLUs/omyU9/QNOyPpynw8iwVNzPrMa95blND+LX8eoAyOofBSv
d5kFtKYngq9QnRSWddmPHL3sjmnUfwUim2Fu5YvAxfirYBhIZ70WQF5xOYiRpnQW
wsJP9S2c2C5pptyLe0sPA+ZzAnDcXTK8D/kfqVEWbbTx6YEWcjntUJ9VqFafbPw=
=LiQp
-END PGP SIGNATURE-



Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-17 Thread Julien Cristau
On Sat, Oct 17, 2015 at 05:34:19 +0200, Harald Dunkel wrote:

> On 10/13/15 22:22, Julien Cristau wrote:
> > On Tue, Oct 13, 2015 at 19:03:23 +0200, Harald Dunkel wrote:
> > 
> >> [  7573.945] (EE) systemd-logind: failed to get session: The name 
> >> org.freedesktop.login1 was not provided by any .service files
> > 
> > I suspect that explains your issue.  You need logind for X to work as 
> > non-root.
> > 
> > Cheers, Julien
> > 
> 
> Since when?
> 
Ever since X has been able to work as non-root, i.e. when logind support
was added...

Julien


signature.asc
Description: PGP signature


Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-16 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/13/15 22:22, Julien Cristau wrote:
> On Tue, Oct 13, 2015 at 19:03:23 +0200, Harald Dunkel wrote:
> 
>> [  7573.945] (EE) systemd-logind: failed to get session: The name 
>> org.freedesktop.login1 was not provided by any .service files
> 
> I suspect that explains your issue.  You need logind for X to work as 
> non-root.
> 
> Cheers, Julien
> 

Since when?

Regards
Harri

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWIcG7AAoJEAqeKp5m04HL52cIAJJn1bsYQ13QRs1WC+Hya0SB
5647yWQJ6KemyqLAYd8TCoLeSn+Zj9hdSAlvebJfuVg+rvQgpHYj0Ju3+4/Ct8d5
mZSu7yBuSaua+xvYNtPLBUOj+LJSr76z0WHz5+H6ibjPkV80xY+FRy5tWhxRH/++
7rZ0PPfmzrV5Fi5LTDWn6zn+XQPkKDPbz8+iGytIIwCuc/srZmvxjEY+gOsjoNBx
mh/17Ee/hE5gscIRHrFlskyNG23pSIek49ARKWe7GWV7cLVpnKoAPgoMJDraxDRm
zNV2iG+5gWtYda+oNYNydft68Myq2mEI2kOfZmlJ7uoxe+L19uCt56acGdf+S3U=
=09bX
-END PGP SIGNATURE-



Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-13 Thread Harald Dunkel
Attached you can find the log file of a session without xserver-xorg-legacy
installed. Hope this helps.


Regards
Harri
[  7573.895] 
X.Org X Server 1.17.2
Release Date: 2015-06-16
[  7573.895] X Protocol Version 11, Revision 0
[  7573.895] Build Operating System: Linux 4.2.0-1-amd64 x86_64 Debian
[  7573.895] Current Operating System: Linux cecil.afaics.de 4.2.3 #1 SMP 
PREEMPT Sun Oct 4 08:09:33 CEST 2015 x86_64
[  7573.895] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.3 
root=UUID=68cc0c8f-306a-44bd-af2d-8441039bae5e ro
[  7573.895] Build Date: 06 October 2015  07:27:47AM
[  7573.895] xorg-server 2:1.17.2-3 (http://www.debian.org/support) 
[  7573.895] Current version of pixman: 0.33.2
[  7573.895]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  7573.895] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  7573.895] (==) Log file: "/home/harri/.local/share/xorg/Xorg.4.log", Time: 
Tue Oct 13 18:52:52 2015
[  7573.895] (==) Using config file: "/etc/X11/xorg.conf"
[  7573.895] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  7573.920] Parse error on line 15 of section Files in file /etc/X11/xorg.conf
Ignoring obsolete keyword "RgbPath".
[  7573.944] (==) ServerLayout "Layout0"
[  7573.944] (**) |-->Screen "Screen0" (0)
[  7573.944] (**) |   |-->Monitor "Monitor0"
[  7573.944] (**) |   |-->Device "Device0"
[  7573.944] (**) |-->Input Device "Keyboard0"
[  7573.944] (**) |-->Input Device "TrackmanFX"
[  7573.944] (**) |-->Input Device "Logitech USB Receiver"
[  7573.944] (**) Option "DontZap" "false"
[  7573.944] (==) Automatically adding devices
[  7573.944] (==) Automatically enabling devices
[  7573.944] (==) Automatically adding GPU devices
[  7573.944] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  7573.944]Entry deleted from font path.
[  7573.944] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[  7573.944] (**) ModulePath set to 
"/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[  7573.944] (**) Extension "Composite" is disabled
[  7573.944] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 
'vmmouse' will be disabled.
[  7573.944] (WW) Disabling Keyboard0
[  7573.944] (WW) Disabling TrackmanFX
[  7573.944] (II) Loader magic: 0x556f2ee82de0
[  7573.944] (II) Module ABI versions:
[  7573.944]X.Org ANSI C Emulation: 0.4
[  7573.944]X.Org Video Driver: 19.0
[  7573.944]X.Org XInput driver : 21.0
[  7573.944]X.Org Server Extension : 9.0
[  7573.945] (EE) systemd-logind: failed to get session: The name 
org.freedesktop.login1 was not provided by any .service files
[  7573.945] (II) xfree86: Adding drm device (/dev/dri/card0)
[  7573.946] (--) PCI:*(0:1:0:0) 10de:0de1:19da:1167 rev 161, Mem @ 
0xfa00/16777216, 0xe800/134217728, 0xf000/33554432, I/O @ 
0xe000/128, BIOS @ 0x/524288
[  7573.946] (II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
[  7573.946] (II) LoadModule: "dbe"
[  7573.946] (II) Module "dbe" already built-in
[  7573.946] (II) LoadModule: "extmod"
[  7573.946] (II) Module "extmod" already built-in
[  7573.946] (II) LoadModule: "glx"
[  7573.946] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[  7573.980] (II) Module glx: vendor="NVIDIA Corporation"
[  7573.980]compiled for 4.0.2, module version = 1.0.0
[  7573.980]Module class: X.Org Server Extension
[  7573.980] (II) NVIDIA GLX Module  352.41  Fri Aug 21 22:40:16 PDT 2015
[  7573.980] (II) LoadModule: "evdev"
[  7573.980] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  7573.981] (II) Module evdev: vendor="X.Org Foundation"
[  7573.981]compiled for 1.16.4, module version = 2.9.2
[  7573.981]Module class: X.Org XInput Driver
[  7573.981]ABI class: X.Org XInput driver, version 21.0
[  7573.981] (II) LoadModule: "nvidia"
[  7573.981] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  7573.983] (II) Module nvidia: vendor="NVIDIA Corporation"
[  7573.983]compiled for 4.0.2, module version = 1.0.0
[  7573.983]Module class: X.Org Video Driver
[  7573.983] (II) LoadModule: "evdev"
[  7573.983] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  7573.983] (II) Module evdev: vendor="X.Org Foundation"
[  7573.983]compiled for 1.16.4, module version = 2.9.2
[  7573.983]Module class: X.Org XInput Driver
[  7573.983]ABI class: X.Org XInput driver, version 21.0
[  7573.983] (II) NVIDIA dlloader X Driver  352.41  Fri Aug 21 22:14:01 PDT 2015
[  7573.983] (II) NVIDIA Unified Driver for all 

Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-13 Thread Julien Cristau
On Tue, Oct 13, 2015 at 19:03:23 +0200, Harald Dunkel wrote:

> [  7573.945] (EE) systemd-logind: failed to get session: The name 
> org.freedesktop.login1 was not provided by any .service files

I suspect that explains your issue.  You need logind for X to work as
non-root.

Cheers,
Julien


signature.asc
Description: PGP signature


Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-13 Thread Harald Dunkel
startx didn't work for UID != 0. The XWindow server wasn't started.
I got an error saying something like

Cannot open /dev/tty0 (No such file or directory)

Unfortunately the Xorg.log file is gone now. I will try to
reproduce the error and post it here this evening.

Installing the xserver-xorg-legacy package fixed this. Problem is,
it is not installed by default during the upgrade. Its not even
on the Recommends list.


Regards
Harri



Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-11 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Package: xorg-server
Version: 2:1.17.2-3

Please either depend or recommend xserver-xorg-legacy. It
is *extremely* painful if you login next morning after the
upgrade and xinit doesn't work anymore and you have no web
interface to find out WTH has been changed.

Sorry to say, but this was *highly* annoying. Please don't
break things by default.


Thanx
Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWGgKaAAoJEAqeKp5m04HLRHkH/AsZ+CNc6FjbdJKKn1iwBvVc
cLVNpE1bZlx+3JZ0WJSa+ZgajdAZUMTqcRfNkjfe606Cvs1Xnc4VrL7lpwV1dUN5
K+TUs/U1M7QemVMJxVBPdzMd7ouKKmac0BeCfeZa3H+wNNm0s5uQbSMJJAojTIXk
5p7hVzLPworLx1zF9Md+t2R2moFvIMC9BqZODZTIqWn5eQQ3+xy2aXtFDDMf1vm8
c8Xim3vAjBmfwa2ZSR42moNeqdwboLJDkRauRmI44gpewHiBOadGGUsZkI4pp/03
+uFgpcEJ5Ui37tF1ct7OqK6vHRy5NT/Rja4WgWX1t0lI0v0w7YUekTU3LTWit9w=
=B3wl
-END PGP SIGNATURE-



Bug#801487: introducing xserver-xorg-legacy without telling anybody?

2015-10-11 Thread Julien Cristau
On Sun, Oct 11, 2015 at 08:33:03 +0200, Harald Dunkel wrote:

> Package: xorg-server
> Version: 2:1.17.2-3
> 
> Please either depend or recommend xserver-xorg-legacy. It
> is *extremely* painful if you login next morning after the
> upgrade and xinit doesn't work anymore and you have no web
> interface to find out WTH has been changed.
> 
> Sorry to say, but this was *highly* annoying. Please don't
> break things by default.
> 
We didn't.  Login managers should still work, and startx should still
work.  But you didn't provide any details as to what broke...

Cheers,
Julien


signature.asc
Description: PGP signature