1. 11/09/2011 20:22:00 passing arg to libvncserver: -rfbauth
  2. 11/09/2011 20:22:00 passing arg to libvncserver: [my home address]/.vnc/passwd
  3. 11/09/2011 20:22:00 x11vnc version: 0.9.9 lastmod: 2009-12-21 pid: 754
  4. 11/09/2011 20:22:00
  5. 11/09/2011 20:22:00 wait_for_client: WAIT:cmd=FINDCREATEDISPLAY-Xvfb
  6. 11/09/2011 20:22:00
  7. 11/09/2011 20:22:00 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/2560
  8. 11/09/2011 20:22:00
  9. 11/09/2011 20:22:00 Autoprobing TCP port
  10. 11/09/2011 20:22:00 Autoprobing selected port 5900
  11. 11/09/2011 20:22:00
  12.  
  13. The VNC desktop is: [name of the server]:0
  14. 11/09/2011 20:22:36 Got connection from client [android IP]
  15. 11/09/2011 20:22:36 other clients:
  16. 11/09/2011 20:22:36 incr accepted_client=1 for [android IP]:46354 sock=4
  17. 11/09/2011 20:22:36 wait_for_client: got client
  18. 11/09/2011 20:22:36 Client Protocol Version 3.8
  19. 11/09/2011 20:22:36 Protocol version sent 3.8, using 3.8
  20. 11/09/2011 20:22:36 client progressed=1 in 2/8 0.002783 s
  21. 11/09/2011 20:22:36 client_set_net: [android IP] 0.0002
  22. 11/09/2011 20:22:36 wait_for_client: running: env X11VNC_SKIP_DISPLAY='' /bin/sh /tmp/x11vnc-find_display.65BqLr
  23. 11/09/2011 20:22:36 wait_for_client: find display cmd failed.
  24. 11/09/2011 20:22:36 wait_for_client: FINDCREATEDISPLAY cmd: /bin/sh /tmp/x11vnc-find_display.65BqLr Xvfb
  25. trying N=20 ...
  26. redir_daemon=
  27. /usr/bin/xinit /usr/bin/xterm -- /usr/bin/Xvfb :20 -screen 0 1280x1024x24 +kb -cc 4 -nolisten tcp -auth /tmp/.xas87817719.cvWoFR
  28.  
  29. Unrecognized option: +kb
  30. use: X [:<display>] [option]
  31. -a # default pointer acceleration (factor)
  32. -ac disable access control restrictions
  33. -audit int set audit trail level
  34. -auth file select authorization file
  35. -br create root window with black background
  36. +bs enable any backing store support
  37. -bs disable any backing store support
  38. -c turns off key-click
  39. c # key-click volume (0-100)
  40. -cc int default color visual class
  41. -nocursor disable the cursor
  42. -core generate core dump on fatal error
  43. -dpi int screen resolution in dots per inch
  44. -dpms disables VESA DPMS monitor control
  45. -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
  46. -f # bell base (0-100)
  47. -fc string cursor font
  48. -fn string default font name
  49. -fp string default font path
  50. -help prints message with these options
  51. -I ignore all remaining arguments
  52. -ld int limit data space to N Kb
  53. -lf int limit number of open files to N
  54. -ls int limit stack space to N Kb
  55. -nolock disable the locking mechanism
  56. -nolisten string don't listen on protocol
  57. -noreset don't reset after last client exists
  58. -background [none] create root window with no background
  59. -reset reset after last client exists
  60. -p # screen-saver pattern duration (minutes)
  61. -pn accept failure to listen on all ports
  62. -nopn reject failure to listen on all ports
  63. -r turns off auto-repeat
  64. r turns on auto-repeat
  65. -render [default|mono|gray|color] set render color alloc policy
  66. -retro start with classic stipple and cursor
  67. -s # screen-saver timeout (minutes)
  68. -t # default pointer threshold (pixels/t)
  69. -terminate terminate at server reset
  70. -to # connection time out
  71. -tst disable testing extensions
  72. ttyxx server started from init on /dev/ttyxx
  73. v video blanking for screen-saver
  74. -v screen-saver without video blanking
  75. -wm WhenMapped default backing-store
  76. -wr create root window with white background
  77. -maxbigreqsize set maximal bigrequest size
  78. +xinerama Enable XINERAMA extension
  79. -xinerama Disable XINERAMA extension
  80. -dumbSched Disable smart scheduling, enable old behavior
  81. -schedInterval int Set scheduler interval in msec
  82. -sigstop Enable SIGSTOP based startup
  83. +extension name Enable extension
  84. -extension name Disable extension
  85. -query host-name contact named host for XDMCP
  86. -broadcast broadcast for XDMCP
  87. -indirect host-name contact named host for indirect XDMCP
  88. -port port-num UDP port number to send messages to
  89. -from local-address specify the local address to connect from
  90. -once Terminate server after one session
  91. -class display-class specify display class to send in manage
  92. -cookie xdm-auth-bits specify the magic cookie for XDMCP
  93. -displayID display-id manufacturer display ID for request
  94. [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
  95. enable/disable accessx key sequences
  96. -ardelay set XKB autorepeat delay
  97. -arinterval set XKB autorepeat interval
  98. -screen scrn WxHxD set screen's width, height, depth
  99. -pixdepths list-of-int support given pixmap depths
  100. +/-render turn on/off RENDER extension support(default on)
  101. -linebias n adjust thin line pixelization
  102. -blackpixel n pixel value for black
  103. -whitepixel n pixel value for white
  104. -fbdir directory put framebuffers in mmap'ed files in directory
  105. -shmem put framebuffers in shared memory
  106.  
  107. Fatal server error:
  108. Unrecognized option: +kb
  109.  
  110. 11/09/2011 20:22:38 XOpenDisplay(":20") failed.
  111. 11/09/2011 20:22:38 Trying again with XAUTHLOCALHOSTNAME=localhost ...
  112.  
  113. 11/09/2011 20:22:38 ***************************************
  114. 11/09/2011 20:22:38 *** XOpenDisplay failed (:20)
  115.  
  116. *** x11vnc was unable to open the X DISPLAY: ":20", it cannot continue.
  117. *** There may be "Xlib:" error messages above with details about the failure.
  118.  
  119. Some tips and guidelines:
  120.  
  121. ** An X server (the one you wish to view) must be running before x11vnc is
  122. started: x11vnc does not start the X server. (however, see the -create
  123. option if that is what you really want).
  124.  
  125. ** You must use -display <disp>, -OR- set and export your $DISPLAY
  126. environment variable to refer to the display of the desired X server.
  127. - Usually the display is simply ":0" (in fact x11vnc uses this if you forget
  128. to specify it), but in some multi-user situations it could be ":1", ":2",
  129. or even ":137". Ask your administrator or a guru if you are having
  130. difficulty determining what your X DISPLAY is.
  131.  
  132. ** Next, you need to have sufficient permissions (Xauthority)
  133. to connect to the X DISPLAY. Here are some Tips:
  134.  
  135. - Often, you just need to run x11vnc as the user logged into the X session.
  136. So make sure to be that user when you type x11vnc.
  137. - Being root is usually not enough because the incorrect MIT-MAGIC-COOKIE
  138. file will be accessed. The cookie file contains the secret key that
  139. allows x11vnc to connect to the desired X DISPLAY.
  140. - You can explicitly indicate which MIT-MAGIC-COOKIE file should be used
  141. by the -auth option, e.g.:
  142. x11vnc -auth /home/someuser/.Xauthority -display :0
  143. x11vnc -auth /tmp/.gdmzndVlR -display :0
  144. you must have read permission for the auth file.
  145.  
  146. ** If NO ONE is logged into an X session yet, but there is a greeter login
  147. program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need
  148. to find and use the raw display manager MIT-MAGIC-COOKIE file.
  149. Some examples for various display managers:
  150.  
  151. gdm: -auth /var/gdm/:0.Xauth
  152. -auth /var/lib/gdm/:0.Xauth
  153. kdm: -auth /var/lib/kdm/A:0-crWk72
  154. -auth /var/run/xauth/A:0-crWk72
  155. xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk
  156. dtlogin: -auth /var/dt/A:0-UgaaXa
  157.  
  158. Sometimes the command "ps wwwwaux | grep auth" can reveal the file location.
  159.  
  160. Only root will have read permission for the file, and so x11vnc must be run
  161. as root (or copy it). The random characters in the filenames will of course
  162. change and the directory the cookie file resides in is system dependent.
  163.  
  164. See also: http://www.karlrunge.com/x11vnc/faq.html
  165. /usr/bin/xmodmap: unable to open display ':20'
  166. /usr/bin/xinit: giving up
  167. /usr/bin/xinit: unable to connect to X server: Connection refused
  168. /usr/bin/xinit: server error