Closed GoogleCodeExporter closed 8 years ago
PuTTYcyg has nothing to do with X11.
I'm not sure what you mean by "enable X-windows on my (windows) desktop" . If
you want to be able to run Cygwin X11 programs
(launching them from a PuTTYcyg terminal session) for display on your Xming
server, simply export the DISPLAY variable, probably
DISPLAY=":0". You may additionally need to copy the auth cookie from wherever
Xming stores it (see the Xming manual) to your Cygwin
~/.Xauthority file. See the man page for xauth(1).
Original comment by medgar123
on 12 Dec 2009 at 12:07
Yes, you can set the "DISPLAY" variable *after* you start a window, but
puttycyg should also support the ability to set it as part of a session/saved
profile. Putty already has the "SSH/X11" settings screen, but apparently
cygterm won't make use of it. What is needed is for the cygterm option to
check that setting, and if it is checked, set that variable in the window.
Original comment by j.e.laba...@gmail.com
on 29 Mar 2011 at 9:17
The SSH/X11 settings apply only to SSH connections. If you want DISPLAY set,
then just put it in your .bashrc, or if you really need PuTTY to set it for
you, use this as your Cygterm command:
env DISPLAY=:0 bash --login
Original comment by medgar123
on 30 Mar 2011 at 11:10
Original issue reported on code.google.com by
roadnott...@gmail.com
on 11 Dec 2009 at 7:25