Either start Xvnc with -ac option(edit your vncserver file)  or after
starting Xvnc run the command
xhost +. Both of them opens potential security problem. 

-----Original Message-----
From: Olivier Picot [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: Display Access refused by server


Hello everybody,

I've got a problem when using vnc. I f someone knows something anout it,
I
did not find anything neither in the mailing list archive, nor in the
FAQ.
Here is the detailed issue:

Environment: Solaris
Using a pool of machines, I need to be able to start some jobs
on different machines, each of them running under X display (the
job is embedded into a short script which opens a vnc session on
the machine).

Here is a part of the launch script:
    set nvclog = `$XVNCHOME/vncserver -depth 24 -nolisten local |&
/bin/grep 'Log file is' | /bin/awk '{print $4}'` # runs the server
    set nvcdisplay = `basename ${nvclog:r}` # and gets the display host
and port


During its execution,the job sometimes run into trouble and cannot
access the X display. Here is the message I sometimes (unreproducible)
get
from my application ():

> Xlib: connection to "cdssoph38:1.0" refused by server
> Xlib: Client is not authorized to connect to Server
> xwd: unable to open display 'cdssoph38:1'
> usage: xwd [-display host:dpy] [-debug] [-help] [-root|-id |-name ]
[-nobdrs] [-out ] [-xy] [-add value] [-frame]
> xwdtopnm: couldn't read XWD file header
4d8

Do you know any possible reason for this problem?

Thanks,

Olivier.

--
______________________________________________ ____________________
                                          |   -           |
  Olivier Picot                   |       | c a d e n c e |
  Cadence Design Systems          |        ---------------
  1080 Route des Dolines          |
  06560 Valbonne                  |
___________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to