gnome-terminal does not respect DISPLAY variable or --display switch
Submitted by gno..@..ky.org
Link to original bug (#509814)
Description
Please describe the problem: gnome-terminal always opens up a terminal in the current display regardless of the value of the DISPLAY shell variable or the --display switch.
I can force it to open a terminal in the correct display by adding the switch --disable-factory but to me that is a kluge since X applications shouldn't need a special switch to respect the DISPLAY shell variable or --display switch.
Again, current behavior seems to violate basic standards for behavior of X applications
Steps to reproduce:
- Open a gnome session in the console (:0.0) and another one on a second display. I do it by using vncserver to open up a second gnome session on :1.0
- From the second gnome session (:1.0), type either:
DISPLAY=:0.0 gnome-terminal
or
gnome-terminal --display :0.0 You will see that the gnome-terminal still opens up in the current session (:1.0) instead of obeying the DISPLAY variable or switch - Conversely, from the console (:0.0), type either
DISPLAY=:1.0 gnome-terminal
or
gnome-terminal --display :1.0 You will see that the gnome-terminal still opens up in the console session (:0.0) instead of obeying the DISPLAY variable or switch
Actual results: See above
Expected results: See above
Does this happen every time? YUP
Other information:
Version: 2.18.x
Resolution: RESOLVED INCOMPLETE