x11vnc error on solaris 10 x86 : X Error of failed request:BadAccess (attempt to access private resource denied)

This is a discussion on x11vnc error on solaris 10 x86 : X Error of failed request:BadAccess (attempt to access private resource denied) within the Xwindows forums, part of the Tools category; I download and installed xvnc from sunfreeware.com on solaris 10 x86. It failed to start with the following error: $ /usr/local/bin/x11vnc Settings: display: null authfile: null subwin: 0x0 rootshift: 0 ...

Go Back   Unix Linux Forum > Technologies & Tools > Tools > Xwindows

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-15-2008, 10:11 AM
Default x11vnc error on solaris 10 x86 : X Error of failed request:BadAccess (attempt to access private resource denied)

I download and installed xvnc from sunfreeware.com on solaris 10 x86.
It failed to start with the following error:
$ /usr/local/bin/x11vnc
Settings:
display: null
authfile: null
subwin: 0x0
rootshift: 0
flashcmap: 0
force_idx: 0
overlay: 0
ovl_cursor: 1
visual: null
scaling: 0 1.00000
viewonly: 0
shared: 0
conn_once: 1
inetd: 0
connect: null
connectfile null
vnc_conn: 1
allow: null
passfile: null
accept: null
gone: null
using_shm: 1
flipbytes: 0
onetile: 0
blackout: null
xinerama: 0
xrandr: 0
xrandrmode: null
logfile: null
rc_file:
norc: 0
bg: 0
mod_tweak: 1
isolevel3: 0
xkb: 0
skipkeys: null
addkeysyms: 0
xkbcompat: 0
clearmods: 0
remap: null
norepeat: 1
nofb: 0
watchbell: 1
watchsel: 1
watchprim: 1
cursor: 1
root_curs: 0
curs_mode: null
xfixes: 1
cursorshp: 1
cursorpos: 1
xwarpptr: 0
buttonmap: null
dragging: 1
ptr_mode: 2
inputskip: 10
debug_ptr: 0
debug_key: 0
defer: 30
waitms: 30
take_naps: 0
sb: 60
sigpipe: null
threads: 0
fs_frac: 0.75
gaps_fill: 4
grow_fill: 3
tile_fuzz: 2
deny_all: 0
noremote: 0

15/10/2008 10:47:13 x11vnc version: 0.7pre lastmod: 2004-12-23
15/10/2008 10:47:13 Using X display localhost:13.0
15/10/2008 10:47:13 default visual ID: 0x23
15/10/2008 10:47:14 Read initial data from X display into framebuffer.
15/10/2008 10:47:14 X display localhost:13.0 is 32bpp depth=24 true
color

FrameBuffer Info:
width: 800
height: 600
scaled_width: 800
scaled_height: 600
indexed_color: 0
bits_per_pixel: 32
depth: 24
red_mask: 0x00ff0000 00000000111111110000000000000000
green_mask: 0x0000ff00 00000000000000001111111100000000
blue_mask: 0x000000ff 00000000000000000000000011111111
red: max: 255 shift: 16
green: max: 255 shift: 8
blue: max: 255 shift: 0
mainfb_bytes_per_line: 3200
rfb_fb_bytes_per_line: 3200
format: ZPixmap
byte_order: LSBFirst
bitmap_pad: 32
bitmap_unit: 32
bitmap_bit_order: LSBFirst

15/10/2008 10:47:14 setting up 32 cursors...
15/10/2008 10:47:14 done.
15/10/2008 10:47:14 Autoprobing TCP port
15/10/2008 10:47:14 Autoprobing selected port 5900
15/10/2008 10:47:14 created 25 tile_row shm polling images.
caught X11 error:
X Error of failed request: BadAccess (attempt to access private
resource denied)
Major opcode of failed request: 146 (MIT-SHM)
Minor opcode of failed request: 1 (X_ShmAttach)
Serial number of failed request: 17
Current serial number in output stream: 44

# uname -a
SunOS solx86 5.10 Generic_120012-14 i86pc i386 i86pc

Reply With Quote
  #2  
Old 10-16-2008, 07:51 AM
Default Re: x11vnc error on solaris 10 x86 : X Error of failed request:BadAccess (attempt to access private resource denied)

On Oct 15, 10:11 am, TsanChung wrote:
> 15/10/2008 10:47:13x11vncversion: 0.7pre lastmod: 2004-12-23
> 15/10/2008 10:47:13 Using X display localhost:13.0


Your $DISPLAY variable is 'localhost:13.0' which I guess is
ssh X redirection back to where you are sitting.

You need to set $DISPLAY to the X display you want to
export via VNC, i.e. ":0.0" before staring x11vnc or use
the x11vnc command line option '-display' to set it.

BTW, that sunfreeware version is very old, almost 4 years.
You might want to try a newer one.
Reply With Quote
  #3  
Old 10-16-2008, 11:03 AM
Default Re: x11vnc error on solaris 10 x86 : X Error of failed request:BadAccess (attempt to access private resource denied)

On Oct 16, 7:51*am, goog...@karlrunge.com wrote:
> On Oct 15, 10:11 am, TsanChung wrote:
>
> > 15/10/2008 10:47:13x11vncversion: 0.7pre lastmod: 2004-12-23
> > 15/10/2008 10:47:13 Using X display localhost:13.0

>
> Your $DISPLAY variable is 'localhost:13.0' which I guess is
> ssh X redirection back to where you are sitting.
>
> You need to set $DISPLAY to the X display you want to
> export via VNC, i.e. ":0.0" *before staring x11vnc or use
> the x11vnc command line option '-display' to set it.
>
> BTW, that sunfreeware version is very old, almost 4 years.
> You might want to try a newer one.


Which website will have a newer one?
Reply With Quote
  #4  
Old 10-17-2008, 07:45 AM
Default Re: x11vnc error on solaris 10 x86 : X Error of failed request:BadAccess (attempt to access private resource denied)

On Oct 16, 11:03 am, TsanChung wrote:
>
> Which website will have a newer one?


Source code is here:

http://sourceforge.net/project/showf...ease_id=626955

Some pre-built binaries are here:

http://www.karlrunge.com/x11vnc/bins/
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 12:57 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger