Help!

"xclock -display" from guest vserver to host?


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> X Window System RSS
Next:  Single app, multiple X servers  
Author Message
Agryppa
External


Since: Jun 28, 2007
Posts: 1



PostPosted: Thu Jun 28, 2007 10:23 pm    Post subject: "xclock -display" from guest vserver to host?
Archived from groups: comp>os>linux>x (more info?)

Hi,
My host runs an X server on its display :0
The same host has a vserver running (it is an OS-level virtualization).
Host's name is "gentoo" and the guest vserver is "guest_gen."

Now from the vserver I do:
guest_gen / # xclock -display gentoo:0
Error: Can't open display: gentoo:0

gentoo is reachable because:
guest_gen / # ping gentoo
PING gentoo (192.168.0.4) 56(84) bytes of data.
64 bytes from gentoo (192.168.0.4): icmp_seq=1 ttl=64 time=0.070 ms


and guest_gen can connect to X server on gentoo because:
localhost ~ # xhost
access control disabled, clients can connect from any host
INET:guest_gen


So what is wrong here?
thank you for any answers

Agryppa
Back to top
Bill Marcum
External


Since: Dec 18, 2006
Posts: 286



PostPosted: Fri Jun 29, 2007 6:04 am    Post subject: Re: "xclock -display" from guest vserver to host? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 28 Jun 2007 22:23:58 -0500, Agryppa
<byli.DeleteThis@my.tam.pl> wrote:
>
>
> Hi,
> My host runs an X server on its display :0
> The same host has a vserver running (it is an OS-level virtualization).
> Host's name is "gentoo" and the guest vserver is "guest_gen."
>
> Now from the vserver I do:
> guest_gen / # xclock -display gentoo:0
> Error: Can't open display: gentoo:0
>
> gentoo is reachable because:
> guest_gen / # ping gentoo
> PING gentoo (192.168.0.4) 56(84) bytes of data.
> 64 bytes from gentoo (192.168.0.4): icmp_seq=1 ttl=64 time=0.070 ms
>
>
> and guest_gen can connect to X server on gentoo because:
> localhost ~ # xhost
> access control disabled, clients can connect from any host
> INET:guest_gen
>
>
> So what is wrong here?
> thank you for any answers
>
Is the X server configured to listen on tcp? Have you tried ssh X
forwarding?

> Agryppa
>


--
We have seen the light at the end of the tunnel, and it's out.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> X Window System All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum