Re: [Vserver] localhost

From: Albert Shih <shih_at_math.jussieu.fr>
Date: Wed 07 Jun 2006 - 22:53:10 BST
Message-ID: <20060607215310.GB32333@math.jussieu.fr>

 Le 07/06/2006 à 22:39:35+0200, Andreas John a écrit
> Hello,
>
> usually you set in you /etc/hosts file the host 'localhost' to the
> public IP of the guest. There is no real need to have a 127.0.0.1
> accessible. If you e.g. ping 127.0.0.1 from within a guest, it get
> automatically mapped to the public IP of the guest.
>
> If you need a 127-x address within your guest, you may add a 127.0.0.2
> etc. to each guest.
>

Well..

My real problem is my X11-Forwarding in ssh don't work. I've a host to run
two guest. On one guest everything work fine (x11 forwarding) and if i ping
localhost I've something (in term the host known localhost=127.0.0.1).
On my second guest if I make

        ssh -Y guest_on_my_vserver_box

and try

        xclock

I've got

[root@guest ~]$ xterm
_X11TransSocketINETConnect() can't get address for localhost:6012: Name or
service not known
xterm Xt error: Can't open display: localhost:12.0

and if I try

[root@guest ~]$ ping localhost
ping: unknown host localhost

What's wrong with my config ?

Best regards.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Wed Jun 7 23:48:34 CEST 2006
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Jun 7 22:53:46 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 07 Jun 2006 - 22:53:52 BST by hypermail 2.1.8