This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Xaccess config when VPN changes local IP
- From: Terrence Branscombe <iwsldfpscwqn at spammotel dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 29 Apr 2007 11:06:23 -0700
- Subject: Xaccess config when VPN changes local IP
- Reply-to: cygwin-xfree at cygwin dot com
When I establish a VPN connection to my work network from my Windows
system at home the Windows host IP changes from 192.168.0.X to an IP
address sent from the VPN gateway. I want to have graphical login
access from this Windows system to my Debian system during these VPN
connections, but I can't seem to find the magical incantation necessary.
The Debian system (and one other on my home LAN) provide XDM services to
my Cygwin X server, but only when there is no VPN connection. My
/etc/X11/xdm/Xaccess file has only the following two entries activated:
*
* CHOOSER BROADCAST
and my /etc/hosts.allow file contains these entries at the top of the file:
# Allow general access to LAN hosts
ALL: 127.0.0.1 : allow
ALL: 192.168.0. : allow
# Allow general access to LAN hosts during VPN connections
ALL: xxx.yyy.zzz. : allow
The command I start the X server with is this:
%RUN% XWin -ac -indirect %REMOTE_HOST% -from %LOCAL_HOST%
where REMOTE_HOST is defined as my Debian hostname, and LOCAL_HOST is
defined as my Windows hostname. I've tried redefining LOCAL_HOST to the
IP address configured by the VPN gateway, and tried changing DISPLAY
from localhost to the VPN-configured IP address as well. The end result
in all cases is the blank gray screen.
Any suggestions would be welcome!
Thanks,
--
------------------------------------------------------------------------
Terry Branscombe
[skype me at 'tbranscombe']
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature