There’s a bug in openSUSE with KDE4 desktop, although it should not manifest itself when serving XFCE. Puzzle.
Question 1: Are you running vnc server from a running version of openSUSE with KDE4 Desktop?
And I found four places in Yast where I could start VNC plus from the command line is another method – so Question 2: how do you start your vnc server on openSUSE?
You say “I have install VNC service at OpenSuse”. There are two versions (two different RPMs) supplied with openSUSE. Question 3: Tell us which one by running this command in a console window: rpm -qa | grep vnc, and report the RPM back here.
I don’t use KDE as desktop, only some libraries from it (I had install kvpnc and kinternet, so - required libraries is installed).
I use Xfce as desktop.
Info about vnc installation(terminal copy):
linux-uuv0:~ # rpm -qa | grep vnc
I launch VNC this way: Yast - Network Services - “Remote administration (VNC)” - select option “Enable remote administration”.
This is from installation time. The installation program asked me - Do I want to allow this, I check this option.
Checkbox “Open port in firewall” is also checked, but computer I try to connect from already is in internal zone, in firewall terminology.
I can’t see anything wrong with what you are doing. I followed your method exactly on my computer and had no problems. But I don’t have XFCE installed – I tried it with IceWM, Gnome & KDE4 and it was OK.
I wonder if it could be that you installed XFCE and it was not integrated into the xinetd process that drives vnc?
[when you click Remote Administration in Yast, that’s really a shortcut to switch on vnc in xinetd, have a look at Yast → Network Services → Network Services Xinetd, and you will see it is on for one of the six vnc entries. While this is a truly excellent form of server, it is not the more commonly used method of running vnc from the command line, and the xinetd method might not be enabled for use with XFCE].
Maybe you should try it in another desktop like IceWM which is one of the default Window managers.
I change xfce to icewm - no result, connection closed still.
I forgot to say - it may be important - when I try to connect to remote vnc-desktop from browser with java, it doesn’t close the connection same way as from exe-file. It connects, ask me for login-password, and then stops. Mouse pointer is moving correct, but no longer events.
I set “cursor updares” to disable.
Remote desktop halt up soon after boot, after login. Show me taskbar with menu, allow to open it, and halt.
Such a pity
Lets close this topic, I think the God don’t want me to set it up correctly.
I know this is an old post, but I have same problem here and it’s finally solved.
If you want to vnc via browser (java), you must disable ‘cursor update’ option before you got disconnected. this can be tricky because you need to do it fast. If you don’t do it fast enough, then you’ll get disconnected. Too bad I dont know how to set that option before connecting to server.
If you use RealVNC, be sure to uncheck ‘Render cursor locally’ at Misc. tab on Option window. If you leave that option checked, sometime you will be able to login, but sometime you wont be able to login. (In my case, I cannot login with RealVNC after failed attemp to login with browser)