I am connecting from Windows with Putty and XLaunch to a Debian machine version 7.6, I have tried it on other machines and it worked, the problem is the Debian machine itself, not the configuration. I have already tried this:
DISPLAY=:0.0
xhost localhost
The last command tells me that it is unable to open a display.
NOTE: I'm on a Windows system attempting to use XLaunch to remote display an X application from the Debian system, to Windows.
echo $DISPLAY
and report its output. – lord.garbage Oct 22 '14 at 12:04xhost localhost
on the server or on you local machine. If the former try the latter. And if the latter: (Although you should not do this in terms of a long term soltion. And here only done for debugging purposes.) What happens, when you enterxhost +
on your local machine thereby granting access to any user. – lord.garbage Oct 22 '14 at 12:11set DISPLAY=put-in-you-ip-here
and thenexport DISPLAY
on the remote machine? That helped me with Putty. – lord.garbage Oct 22 '14 at 12:17DISPLAY
: if it isn't set, then forwarding is not in place and settingDISPLAY
cannot help; the problem is probably in the PuTTY configuration. – Gilles 'SO- stop being evil' Oct 22 '14 at 16:45