I am using ubuntu 12.04, and I am trying to ssh to log into a remote server which is also running ubuntu 12.04.
I am using "ssh -X ". I can log into the remote server smoothly, but cannot use the visual/graphical mode to open an application with GUI.
I think the problem lies in this server itself. Because I can use "ssh -X" to run GUI when connecting to another remote server. But I am not sure how to configure it to make it work.
echo $DISPLAY returns blank. Using grep X11 on /etc/ssh/sshd_config file returns:
➜ ~ cat /etc/ssh/sshd_config | grep X11
I have read the following posts, but the problem is still unsolved,
gedit "cannot open display" , on remote computer , using ssh - Ubuntu 12.04
Problem with X can not open display while ssh from ubuntu 13.04 to centos servers
Hope to get help from you. Thank you very much!