Hello Davide Prina,

Thanks for your bug report. (Reply inline below.)

On Sat, Aug 04, 2018 at 08:59:29AM +0200, Davide Prina wrote:
> Package: util-linux
> Version: 2.32-0.1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> upgrading
> * util-linux:amd64 (2.32-0.1, 2.32-0.3)
> * login:amd64 (1:4.5-1, 1:4.5-1.1)
> 
> do not let work anymore something like this:
> 
> $ xhost +si:localuser:temp
> $ su - temp

You are right that the old su would copy over DISPLAY and XAUTHORITY
environment variables, even when you tell it to give you a new
clean environment.

The util-linux implementation does what you tell it to do.

> $ firefox &
> Error: GDK_BACKEND does not match available displays

The error message is a bit misleading. Please just try running this
instead:

DISPLAY=:0 firefox &

> 
> downgrade this two packages (as I have done now before writing this bug
> report) solve the problem
> 
> If I mistake and this is a login package problem please reassign the bug.

Please feel free to submit a merge request with a util-linux.NEWS entry
addition mentioning the difference if you can come up with a nice
user-understandable description.

You might also want to file a minor bug report against firefox
(upstream?) to give a less misleading error message.

Regards,
Andreas Henriksson

Reply via email to