After the initial vncserver startup for each display, and after setting your
display var, you need to enable client access to the server with the
command: xhost +
While under the initial login env.
Haim Lichaa
Intel Corp.
TSG-Unix Fab-18
Qiryat Gat, Israel
[EMAIL PROTECTED]
phone: 972-8-6664259
Cel: 056-386308
Pager: 7983
-----Original Message-----
From: Quek Hong Cheang [mailto:[EMAIL PROTECTED]]
Sent: Thu, July 19, 2001 3:35 AM
To: [EMAIL PROTECTED]
Subject: Re: setting the display variable
I have a similar problem. I am running my vncserver on a solaris 7
workstation and my viewer on a Win98 PC. After I have started the server, I
was informed that that it is running on cad2:1. So, I connected my viewer
uhave sing IP_of_cad2:1, was prompted for the password and then entered the
vnc desktop. It is possible to display xterm windows but when I tried to
open my application, it says "X toolkit error : cannot open display". What
seems to be the problem, has it got something to do with my .Xresource file?
I do not such a file in my HOME directory, is there such a file hidding
somewhere in the system that I can copy to my HOME directory and use?
Thank.
On Wed, 18 July 2001, Rainer Stransky wrote:
>
> Guy-Armand kamendje wrote:
> >
> > I have the following problem: I am running vncserver on Solaris and I
have
> > the following in my .cshrc
> > if (${?REMOTEHOST} !=0) then
> > setenv DISPLAY $REMOTEHOST:"0"
> > for setting the DISPLAY env variable.
> > I start the vncserver localy on my Solaris machine (at which time the
> > REMOTEHOST variable is nil). Now when connecting to the vncserver, I am
not
> > able to redirect the dispaly to the machine from which I am connecting
to
> > the server.
> > I there a way to solve this problem? thanks
> >
> I do not understand the problem, sorry.
>
> vncserver is running on host A with display number 1 (which is given at
> starttime of vncserver)
>
> vncviewer is running on host B
>
> To start a X-application (UNIX) on any UNIX box, which should use
> vncserver, set the DISPLAY variable to "A:1"
> (or use the standard X-option -display (e.g.: xterm -display "A:1")
> This application should be visible in your viewer. (or any/all viewers
> connected to the vncserver)
>
> To start a X-application (UNIX) on any UNIX box, which should use your
> local X-server, set the DISPLAY to "B:0".
>
> To avoid authorization problems set the appropriate permissions with
> xhost.
>
>
> If this does not answer your question, please send a more enhanced
> description of the problem (with error messages).
>
>
> Rainer
>
> > --
> > G.A. Kamendje || Tel +43 316 873 55 51
> > T-U Graz ||
> > I.A.I.K || www.iaik.at/aboutus/people/Kamendje
> > ---------------------------------------------------------------------
> > To unsubscribe, send a message with the line: unsubscribe vnc-list
> > to [EMAIL PROTECTED]
> > See also: http://www.uk.research.att.com/vnc/intouch.html
> > ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------