Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

puttycyg with Xming? #28

Closed
GoogleCodeExporter opened this issue Apr 15, 2015 · 3 comments
Closed

puttycyg with Xming? #28

GoogleCodeExporter opened this issue Apr 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

is it possible to use Xming with puttycyg to run X-windows from the localhost 
(sort of like Cygwin/X functionality)?  I use putty w/ Xming for all remote 
hosts, and puttycyg for my cygwin terminal, but I'd like to enable X-windows 
on my (windows) desktop, as well.  is this possible?  

thanks

gabe

Original issue reported on code.google.com by roadnott...@gmail.com on 11 Dec 2009 at 7:25

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant