Hi,

    Make sure the networking is enabled in the lx zone by giving valid 
IP address to the zone.
    Follow the steps given in the Brandz installation document to enable 
netwoking in the lx zone.
    Login in to the zone using [ssh -X <ip address of zone>], by default 
X-forwarding will be enabled.
    After that you must be able to run the X-applications with out any 
need of setting DISPLAY.

Regards,
Vamsi Krishna
 
  

Lengyel S?ndor wrote:
> Note: I read the existing discussions, which did not provide enough help.
>
>  Situation:
>
> Solaris host is called !Hunnia" IP nuber is assigned to it by dhcp. It is 
> found ic /etc/hosts.
>
>  In the same hardware, (Computes) I isnatalled an lx zone called "Centos".
> A pseudo (non ral) ip number I assigned to it bx  zonecfg.
>
> Since I am in Nexanta, (gnome system, I am running X in user "Sandor"
>
> In xterm I execute:
>
> xhost +
> (note: xhost + Centos does not work, probabbly since no real IP number is 
> assigned to it and listed in "hosts")
>
> I get in root mode by "su".
> To be safe I execute "xhost +"
>
> Execute "zoneadmin -z Centos boot".
> Execute "zlogin Centos"
>
> The machine welcomes me as a linux root.
>
> I can execute linux commands not using X.
>
> I execute:
>
> export DISPLAY=Hunnia:0.0
>
> then then an X application.
> I get "-X11TransSocketINETConnect:Can't get address for Hunnia"
> Makes since no IP nuber is assigned to Hunnia in hosts in linux.
>
> I execute DISPLAY=localhost:0.0
> Do not get the "Can't get address" message, only the cann't connect to 
> DISPLAY: localhost:0.0.
> Same happens assign the real IP number to Hunnia in the centos hosts file, 
> and 
> use 
> export DISPLAY=Hunnia:0.0
>
> (I had unluxk with ssh, due to my ignorance, but to keep things simple, 
> please 
> concentrate in the "xHost" and "DISPLAY" solution.
>
> It would be nice to cover this subject in detail in a HOWTO or in a manual.
> I browed through the sun brandz manual, (a few hundred pages.) but the 
> subjext 
> is not covered.
>
>
> _______________________________________________
> brandz-discuss mailing list
> brandz-discuss at opensolaris.org
>
>   


Reply via email to