[brandz-discuss] Re: Running X applications on a linux lx branded zone?

Saravanan Sachithanantham sar.kernel at gmail.com
Mon May 28 16:03:00 PDT 2007


Hi Rafael,

Thanks for the help. Please see below.,

> First, make sure your sshd daemon running in the
> CentOS zone is
> forwarding X connections. In /etc/ssh/sshd_config of
> CentOS you have to
> set the `X11Forwarding' option to `yes'. Second, make
> sure your ssh
> client in the global zone is `accepting' them. Put
> `ForwardX11 yes'
> either in your ~/.ssh/config or in
> /etc/ssh/ssh_config. See
> ssh_config(4) for the proper syntax.
> 
I have checked both my global zone's ssh_config and  CentOS sshd_config for the options mentioned above and they are set to "yes". But I still get the same error when using ssh X11 forwarding. May be I am missing something here.

> If you do as pointed out above, there is no need for
> using xhost.
> However, if you don't want to use ssh for X
> forwarding, you need to set
> the environment variable DISPLAY in CentOS to point
> to your global zone
> using the hostname of the global zone instead of
> localhost.
> 
> Alternatively, check out
> http://www.opensolaris.org/jive/thread.jspa?messageID=
> 66836��
> 

Setting the DISPLAY variable and using xhost works fine. I was able to run X applications on my brand zone. Thanks again for the help. I will check with ssh configuration to make X11 forwarding work.

Thanks
Saravanan S
 
 
This message posted from opensolaris.org



More information about the brandz-discuss mailing list