The question is, what are valid addresses? I use a cable modem to get on to the internet. It assigns my IP address of 89.98.102.120 to the only lan card in my system. What subnet address is available for my lx zone. 89.98.102.121 is a good number if I cannot ping 89.98.102.121 before I boot the lx zone, it seems I cannot ping it after, so booting the lx zone will not create for me a working IO address.. If in the lx zone I execute export DISPLAY=89.98.102.120:0.0 and than gimp, (an X application) I will get a notice of cannot open display at 89.98.102.120:0.0. (xhost + is executed in the host.
Thanks. On Wednesday 25 July 2007 09.00.03 you wrote: > 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
