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

Bug#802544: Xorg.wrap move to xorg-legacy broke X startup (permissions)



On Tue, Oct 20, 2015 at 14:46:44 -0700, Scott Mcdermott wrote:

> Package: xserver-xorg-legacy
> Version: 2:1.17.2-3
> Severity: grave
> 
> I recently did an upgrade of X, which broke it on my machine.
> Here are old (working) and new (broken) versions that apt-get
> installed, as shown in /var/log/apt/history.log:
> 
>     xserver-xorg-core:amd64 (1.17.2-1.1, 1.17.2-3)
> 
> This upgrade has broken X startup for me.  Here is how
> I start X (as ordinary user):
> 
>     exec setsid env -i \
>         LOGNAME=$LOGNAME \
>         USER=$USER \
>         HOME=$HOME \
>         PATH=$PATH \
>         EDITOR=$EDITOR \
>         DISPLAY=$DISPLAY \
>         SHELL=$SHELL \
>         TERM=$TERM \
>         LANG=$LANG \
>         X :0 vt63 \
>             -dpi 106 \
>             -nolisten tcp \
>             -noreset \
>             -keeptty \
>             -novtswitch
> 
So one solution is to install xserver-xorg-legacy and tell it to not
drop privileges (needs_root_rights=yes).  But that leaves X running as
root, which we're trying to move away from.

The better solution is to change your setup to run X on the VT it's
started from, inside a logind session, so it doesn't need extra
privileges.

Cheers,
Julien

Attachment: signature.asc
Description: PGP signature


Reply to: