Cygwin/X over a VPN connection in VMWare guest WinXP

View: New views
3 Messages — Rating Filter:   Alert me  

Cygwin/X over a VPN connection in VMWare guest WinXP

by Willie Vu :: Rate this Message:

| View Threaded | Show Only this Message

I setup Cygwin/X in a VMWare guest WinXP.  When I'm in office, I can use xterm to connect to a remote Unix host.  When I'm at home, I use VPN to connect to the office inside VM.  In that case, xterm cannot connect to the remote host and prints the following error:

xterm Xt error: Can't open display: %s

In VM, I can telnet to the remote host and I can ping the VMWare client IP from the remote Unix host.  Any idea?

Re: Cygwin/X over a VPN connection in VMWare guest WinXP

by Reini Urban :: Rate this Message:

| View Threaded | Show Only this Message

2008/6/6 Willie Vu <willievu@...>:
> I setup Cygwin/X in a VMWare guest WinXP.  When I'm in office, I can use
> xterm to connect to a remote Unix host.  When I'm at home, I use VPN to
> connect to the office inside VM.  In that case, xterm cannot connect to the
> remote host and prints the following error:
>
> xterm Xt error: Can't open display: %s
>
> In VM, I can telnet to the remote host and I can ping the VMWare client IP
> from the remote Unix host.  Any idea?

So the routes are correct.

Set the DISPLAY correctly.
In VM open the Windows firewall port for X.
Also on the VM Host open the firewall port for X.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Re: Cygwin/X over a VPN connection in VMWare guest WinXP

by Willie Vu :: Rate this Message:

| View Threaded | Show Only this Message

I set the DISPLAY as follows:

export DISPLAY=<VM VPN IP>:0.0

No firewall is configured in VM.  I disabled the firewall in host.  Still same problem.