Hi

On Sun, Jul 30, 2006 at 01:03:56AM +0200, Vincent Lefevre wrote:
> On 2006-07-28 22:20:32 +0200, Ola Lundqvist wrote:
> > First of all I need to report that this problem can not be reproduced
> > by me, so you need to specify exactly how you run the server and the
> > client, network setup etc.
> 
> I now see the problem. I start the server and the viewer with the
> following script:
> 
> ------------------------------------------------------------------------
> #!/bin/sh
> 
> display=`vncserver -alwaysshared 2>&1 | \
>   sed -n "s/New 'X' desktop is \(.*\)/\\1/p"`
> 
> echo "Display is $display"
> 
> startx $HOME/.xinitrc -vnc -fullscreen $display
> ------------------------------------------------------------------------
> 
> the viewer using $display to connect to the VNC server.
> 
> The problem is that $display contains ay.vinc17.org:1, ay.vinc17.org
> being the FQDN of the machine, and after using pump (more precisely,
> "pump -i eth1"), the IP address of eth1 changes (the machine is a laptop
> which moved to a different network). As ay.vinc17.org resolves (using
> /etc/hosts) to the original IP address associated with eth1, connections
> to ay.vinc17.org fail.
> 
> Of course, the real problem is related to pump (it updates
> /etc/resolv.conf, but not /etc/hosts -- I should probably
> use a wrapper).

The reason for that is that as far as I know, no software should update
the /etc/hosts file (maybe). I do not know.

> Anyway I've just changed my script to remove what is before the ":" in
> $display, so that the ethernet device is no longer use for the local
> connection.

Good to know that the problem was not in vnc.

Thanks

// Ola

> -- 
> Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
> Work: CR INRIA - computer arithmetic / SPACES project at LORIA
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to