Please help with tightvnc xstartup / KDE

Hi there… I have a lot of trouble with my tightVNC server connection on SUSE 11.3 / ESXi 4.0 Guest and google hasn’t been much help. Basically my VNC server connection works at first but then shows me a black screen with a mouse cursor after signing back in a couple hours later.

I checked the log and I see the following errors coming out about once every three seconds:

Xlib: extension “RANDR” missing on display “:2.0”.
GuestApp: no value for option ‘unity.desktop.backgroundColor’
Xlib: extension “VMWARE_CTRL” missing on display “:2.0”.
Xlib: extension “RANDR” missing on display “:2.0”.
Error in the RPC receive loop: RpcIn: Unable to send
Another instance of vmware-user may be running.

It seems that these errors stop when the session dies and this is the last bit of the log:

ksmserver(21835) KSMServer::timeoutQuit: SmsDie timeout, client “kwin” ( 10db657474000128209467900000015130000 )
ksmserver(21835) KSMServer::timeoutQuit: SmsDie timeout, client “/usr/bin/kupdateapplet” ( 10db657474000129985881100000218350008 )

(more of the same above errors)

Xlib: extension “RANDR” missing on display “:2.0”.
startkde: Shutting down…
GuestApp: no value for option ‘unity.desktop.backgroundColor’
klauncher: Exiting on signal 1

(vmware-user:21859): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL’ failed
Xlib: extension “VMWARE_CTRL” missing on display “:2.0”.
Xlib: extension “RANDR” missing on display “:2.0”.
startkde: Running shutdown scripts…
startkde: Done.
11/03/2011 11:40:01 rfbClientConnectionGone
11/03/2011 11:40:01 VNC Client 6.6.10.10 gone
11/03/2011 11:40:01 Statistics:
11/03/2011 11:40:01 key events received 14, pointer events 1145
11/03/2011 11:40:01 framebuffer updates 3277, rectangles 57562, bytes 1732418334
11/03/2011 11:40:01 LastRect markers 1, bytes 12
11/03/2011 11:40:01 cursor shape updates 61, bytes 10218
11/03/2011 11:40:01 cursor position updates 2, bytes 24
11/03/2011 11:40:01 copyRect rectangles 156, bytes 2496
11/03/2011 11:40:01 hextile rectangles 57295, bytes 1732281270
11/03/2011 11:40:01 tight rectangles 47, bytes 124314
11/03/2011 11:40:01 raw bytes equivalent 738986736, compression ratio 0.426567
11/03/2011 11:40:01 GenerateVncDisconnectedEvent

Can anyone tell me what is going on here? Thanks.

HI sorry I was not allowed to edit my post. I should provide the contents of my ~/.vnc/xstartup:

#!/bin/sh

#xrdb $HOME/.Xresources #I have no .Xresources file
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title “$VNCDESKTOP Desktop” &
exec startkde

On Fri March 11 2011 12:36 pm, malibu66 wrote:

>
> HI sorry I was not allowed to edit my post. I should provide the
> contents of my ~/.vnc/xstartup:
>
> #!/bin/sh
>
> #xrdb $HOME/.Xresources #I have no .Xresources file
> xsetroot -solid grey
> xterm -geometry 80x24+10+10 -ls -title “$VNCDESKTOP Desktop” &
> exec startkde
>
>
mailibu66;

This Howto might be useful to you:

http://opensuse.swerdna.org/susetightvnc.html


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

I’ve reviewed this page and it didn’t have much more then I knew already. the one thing I did change was to start vncserver with dbus-launch but it did not make a difference. Also I have now updated again and the problem is still there.

It seems like something is timing out and it is very annoying. Another interesting thing is that this only happens on the desktop that I leave firefox and ktorrent open on, which is the 5902 port… not my ‘maintenance’ desktop which is at 5903.