You are not logged in.

#1 2008-02-14 16:18:01

TB2
Member
Registered: 2005-09-06
Posts: 25

x11vnc gives weird errors

Hi,

I've been trying to get x11vnc working on my other box but if I start it I get weird errors, and I can't find anything on google about this, as many other things are causing these kinds of errors, while no results turn up if I add x11vnc to the search parameters...

Here's the output:

[medja@myhost ~]$ x11vnc -rfbauth -display :0
14/02/2008 16:50:06 passing arg to libvncserver: -rfbauth
14/02/2008 16:50:06 x11vnc version: 0.9.4 lastmod: 2007-12-21
14/02/2008 16:50:06 Using X display :0
14/02/2008 16:50:06 
14/02/2008 16:50:06 ------------------ USEFUL INFORMATION ------------------
14/02/2008 16:50:07 X DAMAGE available on display, using it for polling hints.
14/02/2008 16:50:07   To disable this behavior use: '-noxdamage'
14/02/2008 16:50:07 
14/02/2008 16:50:07 Wireframing: -wireframe mode is in effect for window moves.
14/02/2008 16:50:07   If this yields undesired behavior (poor response, painting
14/02/2008 16:50:07   errors, etc) it may be disabled:
14/02/2008 16:50:07    - use '-nowf' to disable wireframing completely.
14/02/2008 16:50:07    - use '-nowcr' to disable the Copy Rectangle after the
14/02/2008 16:50:07      moved window is released in the new position.
14/02/2008 16:50:07   Also see the -help entry for tuning parameters.
14/02/2008 16:50:07   You can press 3 Alt_L's (Left "Alt" key) in a row to 
14/02/2008 16:50:07   repaint the screen, also see the -fixscreen option for
14/02/2008 16:50:07   periodic repaints.
14/02/2008 16:50:07 
14/02/2008 16:50:07 XFIXES available on display, resetting cursor mode
14/02/2008 16:50:07   to: '-cursor most'.
14/02/2008 16:50:07   to disable this behavior use: '-cursor arrow'
14/02/2008 16:50:07   or '-noxfixes'.
14/02/2008 16:50:07 using XFIXES for cursor drawing.
14/02/2008 16:50:07 GrabServer control via XTEST.
14/02/2008 16:50:07 
14/02/2008 16:50:07 Scroll Detection: -scrollcopyrect mode is in effect to
14/02/2008 16:50:07   use RECORD extension to try to detect scrolling windows
14/02/2008 16:50:07   (induced by either user keystroke or mouse input).
14/02/2008 16:50:07   If this yields undesired behavior (poor response, painting
14/02/2008 16:50:07   errors, etc) it may be disabled via: '-noscr'
14/02/2008 16:50:07   Also see the -help entry for tuning parameters.
14/02/2008 16:50:07   You can press 3 Alt_L's (Left "Alt" key) in a row to 
14/02/2008 16:50:07   repaint the screen, also see the -fixscreen option for
14/02/2008 16:50:07   periodic repaints.
14/02/2008 16:50:07 
14/02/2008 16:50:07 XKEYBOARD: number of keysyms per keycode 6 is greater
14/02/2008 16:50:07   than 4 and 91 keysyms are mapped above 4.
14/02/2008 16:50:07   Automatically switching to -xkb mode.
14/02/2008 16:50:07   If this makes the key mapping worse you can
14/02/2008 16:50:07   disable it with the "-noxkb" option.
14/02/2008 16:50:07   Also, remember "-remap DEAD" for accenting characters.
14/02/2008 16:50:07 X FBPM extension not supported.
14/02/2008 16:50:07 X display is capable of DPMS.
14/02/2008 16:50:07 --------------------------------------------------------
14/02/2008 16:50:07 
14/02/2008 16:50:07 Default visual ID: 0x21
14/02/2008 16:50:07 Read initial data from X display into framebuffer.
14/02/2008 16:50:07 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/9856
14/02/2008 16:50:07 *** unrecognized option(s) ***
14/02/2008 16:50:07     [1]  20
14/02/2008 16:50:07 For a list of options run: x11vnc -opts
14/02/2008 16:50:07 or for the full help: x11vnc -help
14/02/2008 16:50:07 
14/02/2008 16:50:07 Here is a list of removed or obsolete options:
14/02/2008 16:50:07 
14/02/2008 16:50:07 removed: -hints, -nohints
14/02/2008 16:50:07 removed: -cursorposall
14/02/2008 16:50:07 removed: -nofilexfer, now the default.
14/02/2008 16:50:07 
14/02/2008 16:50:07 renamed: -old_copytile, use -onetile
14/02/2008 16:50:07 renamed: -mouse,   use -cursor
14/02/2008 16:50:07 renamed: -mouseX,  use -cursor X
14/02/2008 16:50:07 renamed: -X,       use -cursor X
14/02/2008 16:50:07 renamed: -nomouse, use -nocursor
14/02/2008 16:50:07 renamed: -old_pointer, use -pointer_mode 1
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
  Major opcode of failed request:  148 (MIT-SHM)
  Minor opcode of failed request:  2 (X_ShmDetach)
  Segment id in failed request:  0x0
  Serial number of failed request:  35
  Current serial number in output stream:  39
[medja@myhost ~]$

vncserver (for virtual screens :1 and such) is working well btw and there is no firewall installed on that box. It's a twinview setup if that matters. I have no idea what's wrong...

Any idea?

Offline

#2 2009-02-20 16:17:42

tomato
Member
Registered: 2007-09-20
Posts: 72

Re: x11vnc gives weird errors

To run x11vnc from ssh session you either have to "su" to root or run x11vnc from local console.

AFAIK shared memory access from different virtual terminal is disabled by default so you have to have root priviliges to access it.

Sorry this bit of necromancy, but i've searched the net about this problem and could't find any specific pointers so now hopefully google will find this solution smile


sorry for my miserable english, it's my third language ; )

Offline

#3 2009-02-20 20:11:53

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: x11vnc gives weird errors

did you try running without the -rfbauth option?

also, this page is my x11vnc bible http://www.karlrunge.com/x11vnc/
it has all you ever wanted to know.  try some of the things there.


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#4 2009-02-20 20:16:05

Shapeshifter
Member
Registered: 2008-03-11
Posts: 230

Re: x11vnc gives weird errors

uhm.... this thread is over 1 year old. And I can't remember how I solved the problem ^^

Last edited by Shapeshifter (2009-02-20 20:16:35)

Offline

#5 2009-02-20 20:22:34

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: x11vnc gives weird errors

lol didnt even see that.  i just always check for "new posts since last visit" and i guess tomato threw me off big_smile


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

Board footer

Powered by FluxBB