Connect to a current session with VNC


I’m trying to connect to openSUSE 11.1 KDE3.5 from Windows XP running tightvnc.

I’ve set it to run kde when I connect, but each time I connect it loads up a whole new session so I, in effect, am logged on twice on the same computer.

Is it possible to see the same thing on both machines at once?

When I run vncviewer on openSUSE I can see exactly what is on the Windows XP screen, but I don’t know how to make it work the other way round.

Any help is much appreciated.

You get a different session with TightVNC. TightVNC uses xorg-x11-Xvnc RPM. To get the same session use x11vnc RPM.
TightVNC: TightVNC (VNC Xvnc) on openSUSE as Client or Server (Remote Desktop Connections)
x11vnc: x11vnc: a VNC server for real X displays
x11vnc again: x11vnc(1) - Linux man page

Thank you very much Swerdna! I’ve actually used loads of your tutorials to get vnc and other network solutions running (eg, SOHO LAN, Apache, Network Card Configuration, and also mounting NTFS & other FSs).

But just one extra query, is it possible to get x11vnc to start automatically at boot?

Very glad they helped you.

But just one extra query, is it possible to get x11vnc to start automatically at boot?

You can set up a cron job that starts t boot time. The cron table looks like this:

@reboot /path_to/

Where is a shell script something like this:

x11vnc -display :0

I haven’t done it for x11vnc but it sounds like it will work, something like that. It works for me in TightVNC: TightVNC Server Running as a Service. So adapting that to x11vnc would be easy.

I think I remember seeing how to make it boot up automatically on startup is mentioned in the wall of text when you run it.

Then again… might have been another program, might be worth checking out if you’re having no luck with Swerdna’s advice.