VNC and running on an HPUX 11.0 nbox

Grant McDorman
Tue Nov 26 15:35:01 2002

Hash: SHA1

On November 25, 2002 12:35 pm, Berg, Rick (GEAE) wrote:
> I am getting this error message wile running a X application using VNC:
> X Error of failed request:  BadAccess (attempt to access private resource
> denied)
>   Major opcode of failed request:  89 (X_StoreColors)
>   Serial number of failed request:  99
>   Current serial number in output stream:  114

The application is trying to modify a read-only colour.

This is because Xvnc (vncserver) defaults to TrueColour. Run the server with 
the options '-cc 3 -depth 8' and you should be fine. You may find it slower, 
though; I think VNC redraws the entire screen when an allocated colour is 

> This application works fine on the native console and using eXceed.

The native console is 8-bit (PseudoColour). It is likely that your Windows 
machine is also running in 8-bit.

> The VNC server (version 3.3.3r1) is runing on a HPUX 11.0 box, and the
> client (version 3.3.4) is on a Win2K.
> How do I fix this problem?
> Rick Berg
> Lead Information Analyst
> GE Aircraft Engines
> 1 Neuman Way  MD T-207
> Evendale, Oh 45215
> Phone: (513)552-5264
> E-Mail: <>
> _______________________________________________
> VNC-List mailing list

- -- 

Grant McDorman <>, Sr. Software Design Consultant
Cedara Software Corp.  <URL:>
  (formerly I.S.G. Technologies Inc.)
Mississauga, Ontario, Canada

Version: GnuPG v1.2.0 (SunOS)