|
From: Pavel P. <ra...@gm...> - 2010-01-18 16:24:06
|
Hello, I tried to use configuration described in http://www.karlrunge.com/x11vnc/xdm_one_shot.html at my Ubuntu 9.10 server. It has Xorg 1.6.4, and I used X11VNC version 0.9.9 from tarball. All worked fine, but now I have to move that installation on Arch Linux server, which has Xorg 1.7.3. I did the similar things as described in the article above, but get 'vncviewer: read: Connection reset by peer' when was trying to connect. I tried to start x11vnc without -inetd and examine the log. And it seems that I've got the reason: ================================================================================== /usr/bin/Xvfb :20 -screen 0 640x480x24 +kb -cc 4 -once -query localhost Unrecognized option: +kb use: X [:<display>] [option] -a # mouse acceleration (pixels) -ac disable access control restrictions -audit int set audit trail level -auth file select authorization file -br create root window with black background +bs enable any backing store support -bs disable any backing store support -c turns off key-click c # key-click volume (0-100) -cc int default color visual class -nocursor disable the cursor -core generate core dump on fatal error -dpi int screen resolution in dots per inch -dpms disables VESA DPMS monitor control -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs -f # bell base (0-100) -fc string cursor font -fn string default font name -fp string default font path -help prints message with these options -I ignore all remaining arguments -ld int limit data space to N Kb -lf int limit number of open files to N -ls int limit stack space to N Kb -logo enable logo in screen saver nologo disable logo in screen saver -nolisten string don't listen on protocol -noreset don't reset after last client exists -reset reset after last client exists -p # screen-saver pattern duration (minutes) -pn accept failure to listen on all ports -nopn reject failure to listen on all ports -r turns off auto-repeat r turns on auto-repeat -render [default|mono|gray|color] set render color alloc policy -retro start with classic stipple and cursor -s # screen-saver timeout (minutes) -t # mouse threshold (pixels) -terminate terminate at server reset -to # connection time out -tst disable testing extensions ttyxx server started from init on /dev/ttyxx v video blanking for screen-saver -v screen-saver without video blanking -wm WhenMapped default backing-store -wr create root window with white background -maxbigreqsize set maximal bigrequest size +xinerama Enable XINERAMA extension -xinerama Disable XINERAMA extension -dumbSched Disable smart scheduling, enable old behavior -schedInterval int Set scheduler interval in msec +extension name Enable extension -extension name Disable extension -query host-name contact named host for XDMCP -broadcast broadcast for XDMCP -multicast [addr [hops]] IPv6 multicast for XDMCP -indirect host-name contact named host for indirect XDMCP -port port-num UDP port number to send messages to -from local-address specify the local address to connect from -once Terminate server after one session -class display-class specify display class to send in manage -cookie xdm-auth-bits specify the magic cookie for XDMCP -displayID display-id manufacturer display ID for request [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ] enable/disable accessx key sequences -ardelay set XKB autorepeat delay -arinterval set XKB autorepeat interval -screen scrn WxHxD set screen's width, height, depth -pixdepths list-of-int support given pixmap depths +/-render turn on/of RENDER extension support(default on) -linebias n adjust thin line pixelization -blackpixel n pixel value for black -whitepixel n pixel value for white -fbdir directory put framebuffers in mmap'ed files in directory -shmem put framebuffers in shared memory Fatal server error: Unrecognized option: +kb 18/01/2010 18:57:12 wait_for_client: read failed: /bin/sh /tmp/x11vnc-find_display.zGmYCK Xvfb.xdmcp 18/01/2010 18:57:12 fgets: Bad file descriptor ================================================================================== As one can see, x11vnc tried to invoke X with +kb option while this option no longer supported by X! I checked out 'man Xserver' pages for 1.6.4 and 1.7.3 versions and found that indeed 1.6.4 yet supports it while 1.7.3 already not. As it appeared after brief examination of x11vnc-0.9.10 source, +kb option had been hardcoded into one of source files. Is it a bug or a feature? Is there an easier way for me to avoid this bug without patching and recompiling the source? -- Pavel Parkhomenko |