I am having problems with this and I don't know why. There are many related questions but none of them helped me.
I have two VMs:
CentOS 7 with GNOME 192.168.1.53
Mint 17.1 Rebbeca with XFCE 192.168.1.54
I know that by default exporting the display should be strait forward, like:
#While I am Logged in on the desktop on the MINT:
user@mint:~$ xhost +
#I am SSHing to the Centos from the MINT
user@mint:~$ ssh -XY root@192.168.1.53
#At the CentOS I export the display
[root@cent ~]$ export DISPLAY=192.168.1.54:0.0
[root@cent ~]$ echo $DISPLAY
192.168.1.54:0.0
#Trying to start a simple program but I get an error message instead:
[root@cent ~]$ xclock
Error: Can't open display: 192.168.1.54:0.0
What I am doing wrong?
I tried the suggestions on a number of forums but I still get the error message. I also tried to export the display from the Mint to the Centos (the oposite way) and I still get the same error but this time on the Mint.
Could it be that the error is because one system has XFCE and the other GNOME?
I am thinking that there may be some default security settings in effect on one/both of the distros for which I am not aware of.
I also tried to eddit the /etc/gdm/custom.conf
on the CentOS as explained here:
http://www.softpanorama.org/Xwindows/Troubleshooting/can_not_open_display.shtml
ssh -XY root@192.168.1.53
then onecho $DISPLAY
the output islocalhost:10.0
which is a little confusing.. – Spirit Jun 18 '15 at 20:53export DISPLAY
was originally intended to be used with telnet? – Spirit Jun 19 '15 at 11:30export DISPLAY
was created, only rlogin & telnet existed, and ssh was still years in the future. – alanc Jun 20 '15 at 22:14