I have Ubuntu server 14.04 on which i want to run applications with GUI. I have Xauth installed and i have edited the files ssh_config
and sshd_config
to allow X11 forwarding. On my PC I have Windows 7 OS and I am using Cygwin to connect to the server. I am using this command to connect: ssh -X -i private-key.pem [email protected]
But when I try to run some application with GUI, for example Leafpad, I get error: leafpad: Cannot open display
Also, if I run the command xrandr
I get the same error: Can't open display
Any idea why I am getting these error messages?
xhost +
on cygwin help?xhost +
i get this:xhost: unable to open display ""