many Thanks for the answer, but this does not work.
After changing these two files:
/etc/gdm/Init/Default
/etc/gdm/PreSession/Default
with this line
/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900 -xrandr
to
/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900 -xrandr -dp
After Reboot i have no gnome login Screen anymore.
After changing the first file:
/etc/gdm/Init/Default
back without the -dp I had a login screen but after login it's blank again. And then I changing the second file back to the original line everything worked again.
Isn't this strange ?
Edit:
I can't connect via putty+tightvncviewer anymore. Login with putty works, but when I try to login via vncviewer
i get the info "Connection closed".
I reinstalled x11vnc and watched in all the files, but everything ist fine in the files but it won't work anymore.
Edit 2:
Only the first login with VNC crashes. When I login directly on the Host machine with Virtualbox and then connect via putty+vnc i see the desktop and everything works.
Here's the logfile, may it helps.
25/09/2009 16:54:08 passing arg to libvncserver: -rfbauth
25/09/2009 16:54:08 passing arg to libvncserver: /etc/x11vnc.pass
25/09/2009 16:54:08 passing arg to libvncserver: -rfbport
25/09/2009 16:54:08 passing arg to libvncserver: 5900
25/09/2009 16:54:08 x11vnc version: 0.9.8 lastmod: 2009-06-14
25/09/2009 16:54:08 Using X display :0
25/09/2009 16:54:08 rootwin: 0x100 reswin: 0x400001 dpy: 0x8464360
25/09/2009 16:54:08
25/09/2009 16:54:08 ------------------ USEFUL INFORMATION ------------------
25/09/2009 16:54:08 X DAMAGE available on display, using it for polling hints.
25/09/2009 16:54:08 To disable this behavior use: '-noxdamage'
25/09/2009 16:54:08
25/09/2009 16:54:08 Most compositing window managers like 'compiz' or 'beryl'
25/09/2009 16:54:08 cause X DAMAGE to fail, and so you may not see any screen
25/09/2009 16:54:08 updates via VNC. Either disable 'compiz' (recommended) or
25/09/2009 16:54:08 supply the x11vnc '-noxdamage' command line option.
25/09/2009 16:54:08
25/09/2009 16:54:08 Wireframing: -wireframe mode is in effect for window moves.
25/09/2009 16:54:08 If this yields undesired behavior (poor response, painting
25/09/2009 16:54:08 errors, etc) it may be disabled:
25/09/2009 16:54:08 - use '-nowf' to disable wireframing completely.
25/09/2009 16:54:08 - use '-nowcr' to disable the Copy Rectangle after the
25/09/2009 16:54:08 moved window is released in the new position.
25/09/2009 16:54:08 Also see the -help entry for tuning parameters.
25/09/2009 16:54:08 You can press 3 Alt_L's (Left "Alt" key) in a row to
25/09/2009 16:54:08 repaint the screen, also see the -fixscreen option for
25/09/2009 16:54:08 periodic repaints.
25/09/2009 16:54:08
25/09/2009 16:54:08 XFIXES available on display, resetting cursor mode
25/09/2009 16:54:08 to: '-cursor most'.
25/09/2009 16:54:08 to disable this behavior use: '-cursor arrow'
25/09/2009 16:54:08 or '-noxfixes'.
25/09/2009 16:54:08 using XFIXES for cursor drawing.
25/09/2009 16:54:08 GrabServer control via XTEST.
25/09/2009 16:54:08
25/09/2009 16:54:08 Scroll Detection: -scrollcopyrect mode is in effect to
25/09/2009 16:54:08 use RECORD extension to try to detect scrolling windows
25/09/2009 16:54:08 (induced by either user keystroke or mouse input).
25/09/2009 16:54:08 If this yields undesired behavior (poor response, painting
25/09/2009 16:54:08 errors, etc) it may be disabled via: '-noscr'
25/09/2009 16:54:08 Also see the -help entry for tuning parameters.
25/09/2009 16:54:08 You can press 3 Alt_L's (Left "Alt" key) in a row to
25/09/2009 16:54:08 repaint the screen, also see the -fixscreen option for
25/09/2009 16:54:08 periodic repaints.
25/09/2009 16:54:08
25/09/2009 16:54:08 XKEYBOARD:
25/09/2009 16:54:08 Switching to -xkb mode to recover these keysyms:
25/09/2009 16:54:08 xkb noxkb Keysym ("X" means present)
25/09/2009 16:54:08 --- ----- -----------------------------
25/09/2009 16:54:08 X 0x40 at
25/09/2009 16:54:08 X 0x5b bracketleft
25/09/2009 16:54:08 X 0x5d bracketright
25/09/2009 16:54:08 X 0x7b braceleft
25/09/2009 16:54:08 X 0x7d braceright
25/09/2009 16:54:08 X 0x7c bar
25/09/2009 16:54:08 X 0x5c backslash
25/09/2009 16:54:08
25/09/2009 16:54:08 If this makes the key mapping worse you can
25/09/2009 16:54:08 disable it with the "-noxkb" option.
25/09/2009 16:54:08
25/09/2009 16:54:08 X FBPM extension not supported.
25/09/2009 16:54:08 X display is capable of DPMS.
25/09/2009 16:54:08 --------------------------------------------------------
25/09/2009 16:54:08
25/09/2009 16:54:08 Default visual ID: 0x21
25/09/2009 16:54:09 Read initial data from X display into framebuffer.
25/09/2009 16:54:09 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/4096
25/09/2009 16:54:09
25/09/2009 16:54:09 X display :0.0 is 32bpp depth=24 true color
25/09/2009 16:54:09
25/09/2009 16:54:09 Listening for VNC connections on TCP port 5900
25/09/2009 16:54:09
25/09/2009 16:54:09 Xinerama is present and active (e.g. multi-head).
25/09/2009 16:54:09 fb read rate: 9 MB/sec
25/09/2009 16:54:09 screen setup finished.
25/09/2009 16:54:09
The VNC desktop is: DEXTER:0
************************************************** ****************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq....client-caching
25/09/2009 16:58:12 Got connection from client 77.237.243.21
25/09/2009 16:58:12 other clients:
25/09/2009 16:58:12 Disabled X server key autorepeat.
25/09/2009 16:58:12 to force back on run: 'xset r on' (3 times)
25/09/2009 16:58:12 incr accepted_client for 77.237.243.21:39835.
25/09/2009 16:58:12 Client Protocol Version 3.8
25/09/2009 16:58:12 Protocol version sent 3.8, using 3.8
25/09/2009 16:58:12 rfbProcessClientSecurityType: executing handler for type 2
25/09/2009 16:58:12 created xdamage object: 0x400025
25/09/2009 16:58:14 Pixel format for client 77.237.243.21:
25/09/2009 16:58:14 32 bpp, depth 24, little endian
25/09/2009 16:58:14 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
25/09/2009 16:58:14 no translation needed
25/09/2009 16:58:14 rfbProcessClientNormalMessage: ignoring unsupported encoding type zlibhex
25/09/2009 16:58:14 Enabling X-style cursor updates for client 77.237.243.21
25/09/2009 16:58:14 Enabling full-color cursor updates for client 77.237.243.21
25/09/2009 16:58:14 Enabling cursor position updates for client 77.237.243.21
25/09/2009 16:58:14 Using image quality level 6 for client 77.237.243.21
25/09/2009 16:58:14 Enabling LastRect protocol extension for client 77.237.243.21
25/09/2009 16:58:14 Enabling NewFBSize protocol extension for client 77.237.243.21
25/09/2009 16:58:14 Using tight encoding for client 77.237.243.21
25/09/2009 16:58:15 client_set_net: 77.237.243.21 0.1513
25/09/2009 16:58:15 copy_tiles: allocating first_line at size 33
25/09/2009 16:58:22 client 1 network rate 51.9 KB/sec (2281.1 eff KB/sec)
25/09/2009 16:58:22 client 1 latency: 12.8 ms
25/09/2009 16:58:22 dt1: 0.0610, dt2: 0.8308 dt3: 0.0128 bytes: 45985
25/09/2009 16:58:22 link_rate: LR_BROADBAND - 12 ms, 51 KB/s
Bookmarks