FS#46478 - [xorg-server] Cannot open graphical program from the TTY anymore

Attached to Project: Arch Linux
Opened by Mattias Andrée (maandree) - Tuesday, 29 September 2015, 15:52 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 28 July 2016, 09:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It is no longer possible to start an X program from
the TTY by setting $DISPLAY or using -display.

For example. Lets say I started X from VT 1 and it
opened as DISPLAY=:0 on VT 2. I cannot open, for example
xterm, from VT 2 by running something like

env DISPLAY=:0 xterm
env DISPLAY=:0.0 xterm
xterm -display :0
or
xterm -display :0.0

Whenever I try to open a program this way, the program
says "No protocol specified," xterm also says that it
cannot open the specified display.

This issue has existed for a few months. (I just have
not be able to report it because I have not been able
to log in because of a password bug on bugs.archlinux.org.)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 28 July 2016, 09:12 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Tuesday, 29 September 2015, 17:24 GMT
Running X as root or rootless?
Comment by Mattias Andrée (maandree) - Tuesday, 29 September 2015, 17:28 GMT
As root.
Comment by Andreas Radke (AndyRTR) - Friday, 01 April 2016, 16:45 GMT
Is this still an issue?
Comment by Mattias Andrée (maandree) - Friday, 01 April 2016, 17:26 GMT
Well...
If I use xorg-server from the repository, I cannot start X at all.
If I compile it myself I can start it, and it is still a problem.
And even worse, I only have one instance of X, if I start a second
instance it fails and the first instance loses its display but not
keyboard (both X and the TTY has access to the keyboard.)
Comment by Andreas Radke (AndyRTR) - Friday, 01 April 2016, 21:17 GMT
You need to provide log and xorg-conf files for the repo X server to track down what's going wrong.

Loading...