VNC Issue in Opensuse 11

This started as a test for future use in tech support and turned into a bug discovery episode.

Basic info:

System 1
Toshiba Laptop Tecra series
15" screen
Opensuse 11
Ati Xpress 600

Hp Pavilion
15" screen
Opensuse 11
Ati Xpress 200

Compaq laptop
15" screen
Opensuse 11
Nvidia Geforce 6000

Test Types

  1. local lan all firewalls off
    connection successful login good
    Issue 1. none existent refresh rate
    Issue 2. Strange purple squares appear under single left click
    Issue 3. Mouse indicator moves left of the actual mouse position the farther up the screen you go

  2. Over the interent test
    all firewalls off, then we opened the ports and it worked with firewalls on.
    connection successful login good
    Issue 1. none existent refresh rate
    Issue 2. Strange purple squares appear under single left click
    Mouse indicator issue didn’t repeat itself

TightVnc, front end gui programs krdc and krfb (in 11 these are kde4 based apps)

A few post have mentioned special geometry for vnc apps in 11?

The remote desktop button in YaST does not work. Disable that to prevent xinetd.d from starting vncserver. Choose an account which will not be used except as remote desktop; this account will be shared. Run vncserver for that account with the correct colour depth and geometry for you MSWindows laptop. You can do this with the cron service for a daily setup when your SuSE box starts up from the BIOS settings. vncserver creates a new directory $HOME/.vnc with an xstartup file which gives a twm xwindow and an open xterm. Replace this file for a more complete desktop. Linux krdc and vncviewer should now work and the tightvnc windows viewer will now perform correctly. Open ports 5801 and 5901 in your firewall and become concered about security and ssh tunnelling when you have this all working.

My recipes for the settings are:

for crontab:

10 07 * * * /usr/bin/vncserver -depth 24 -geometry 1280x800 &

for xstartup:

#!/bin/sh

#xrdb $HOME/.Xresources
#xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#twm &

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

-x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
-r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title “$VNCDESKTOP Desktop” &
startx &

good luck