gnome-terminal can change the X display it uses
Submitted by David campbell
Link to original bug (#463361)
Description
Please describe the problem: I have more than one X server running under my account, and more than one gnome-session running under the account, but on different displays.
But in certain instances, gnome changes the DISPLAY to which I am displaying windows.
This proves my point:
[dcampbel@Vigor12 ~]$ export DISPLAY=unix:1000.0 [dcampbel@Vigor12 ~]$ gnome-terminal -e 'sh -c "echo $DISPLAY >/tmp/out"' [dcampbel@Vigor12 ~]$ cat /tmp/out :0.0 [dcampbel@Vigor12 ~]$
Why should it do that????
Steps to reproduce:
- Start a gnome session
- Start another gnome session under the same account on a different display
- In the second gnome session run commands as above
Actual results: The DISPLAY is changed
Expected results: I would expect the DISPLAY to stay the same!
Does this happen every time? no, but most of the time
Other information:
Version: 2.18.x
Resolution: RESOLVED FIXED