nv-l

Re: [nv-l] Cannot Open Display

2004-06-15 17:26:56
Subject: Re: [nv-l] Cannot Open Display
From: Meyos Yemveng <yemveng AT yahoo DOT ca>
To: nv-l AT lists.us.ibm DOT com
Date: Tue, 15 Jun 2004 17:13:38 -0400 (EDT)
Thanks Paul ....
Here is what was wrong.
My Connection was as such:
NetviewServer(Solaris 9) <----> SUN RAY SERVER (solaris 8) <-->SUN RAY CLIENT.
 
1- from SunRayClient, "run xhost +"
2- telnet to NetviewServer and login
3- run using ksh, DISPLAY=SunRayServer:0.0 ==> WRONG !!!!!
3.1 - Should have first inquire what is the DISPLAY variable on my SunRayServer ..i.e first run echo $DISPLAY on the SunRayServer, in which case it was  ..":12.0" ....
3.2 - then change the DISPLAY var on SunRayServer to be DISPLAY=SunRayServer:12.0; export DISPLAY
4 - set the DISPLAY var on the telnet session to NetviewServer using ksh, DISPLAY=SunRayServer:12.0; export DISPLAY;
 
5- test by launching  .. "admintool &"
 
I hope it helps someone else ....

Paul <pstroud AT bellsouth DOT net> wrote:
Are you able to run ANY X-applications from the server to the client?
This is something you may need to talk with your administrators about.
I am fairly sure that Solaris can also be coaxed not to listen on the X
port. This doesn't really sound like a NetView problem at this point,
it looks like there is a problem with running X-applications remotely.

Paul



Meyos Yemveng wrote:

> Both machines are Solaris
> Also I don't think it is the DNS issue, I can telnet to the Netview
> Server from the Client Machine using both hostname and IP.
>
> Q1: can the fact that the two servers are on different subnet with
> routers in between be an issue?
>
>
> */Paul /* wrote:
>
> I missed this beginning of this, what OS is the target machine?
> If it is a Linu! x machine you may need to enable X listening.
> If I am not mistaken, RedHat by default sets up X as "noListen",
> so even if you do everything correctly it still will not work. I
> can't tell you off the top of my head how to change it, but Im sure
> Google can tell you.
>
> Paul
>
>
> Meyos Yemveng wrote:
>
> > Thanks,
> > I have done exactly that:
> > - "xhost +" on the client Machine
> > - telnet to the Server Machine
> > - set the DISPLAY (export DISPLAY=clientMachine:0.0)
> > That is when I get the message "Cannot Open Display for
> > "clientMachine:0.0".
> >
> > Q1: Any Ideas?
> >
> >
> >
> > */"Davis, Donald" /* wrote:
> >
> > Meyos ,
> >
> >
> >
> > You were so c! lose on your step #2, you should not have dropped the
> > plus sign (+)
&! gt; >
> >
> >
> > */ xhost /**/ Command
> > Purpose
> > Controls who accesses Enhanced X-Windows on the current host
> machine.
> > Syntax
> > xhost [ + | - ] [ Name ]
> >
> > /*
> >
> >
> >
> > You need to do this on server2:
> >
> >
> >
> > xhost +
> >
> >
> >
> > This is assuming that server2 is a unix platform or running an X
> > emulator .
> >
> >
> >
> > Don Davis
> >
> >
> >
> > -----Original Message-----
> > *From:* Meyos Yemveng [mailto:yemveng AT yahoo DOT ca]
> > *Sent**:* Friday, June 11, 2004 11:40 AM
> > *To:* netview Tivoli
> > *Subject:* [nv-l] Cannot Open Display
> >
> >
> >
> > NV7.1.3 , Solaris9, Fixpack2
> >
! > > Have anyone seen the following error?
> >
> > "fatal IO error 131 (connection reset by peer)! on X Server
> > "server2" after 0 request (0 know processed) with 0 events
> > remaining .....Couldn't open display"
> >
> > Here is what we have done so far :
> >
> > 1- "xhost +" on the Netview server
> >
> > 2- "xhost IP NetviewServer" on the dumb terminal of server2
> >
> > 3- ran "telnet NetviewServerIP" from a console on server2
> >
> > 4- ran "export DISPLAY=server2:0.0" on the telnet session to
> > NetviewServer
> >
> > 5- ran "netview" on the console on server2 telneted to
> NetviewServer.
> >
> > 6- then I got the above error.
> >
> > Q1: Help?
> >
> >
> >
> >
> >
> > Thank You,
> > Meyos
> > "ALLEZ LES LIONS INDOMPTABLES"
> >
> >
> >
> > Post your free ad now! *Yahoo! Canada Personals*
> >
> >
> >
> ------------------------------------------------------------------------------
> > This electronic mai! l and any files transmitted with it are
> > confidential and are intended solely for the use of individual or
> > entity to whom they are addressed. If you are not the intended
> > recipient or the person responsible for delivering the electronic
> > mail to the intended recipient, be advised that you have received
> > this electronic mail in error and that any use, dissemination,
> > forwarding, printing, or copying of this electronic mail is
> > strictly prohibited. If you have received this electronic mail in
> > error, please immediately notify the sender by return mail.
> >
> ==============================================================================
> >
> >
> >
> > Thank You,
> > Meyos
> > "ALLEZ LES LIONS INDOMPTABLES"
> >
> >
> > Post your free ad now! *Yahoo! Canada Personals*
> >
>
>
>
>
> Thank You,
> Meyos
> "ALLEZ LES LIONS INDOMPTABLES"
>
>
> ------------------------------------------------------------------------
> Post your free ad now! *Yahoo! Canada Personals*
>




Thank You,
Meyos
"ALLEZ LES LIONS INDOMPTABLES"



Post your free ad now! Yahoo! Canada Personals
<Prev in Thread] Current Thread [Next in Thread>