OK, I hope I can explain what I’m trying to understand:
I’m running 10.2 with VNC – it’s a headless server in my basement. I log in via a Windows machine upstairs that is running a VNC client.
Say I have an openSUSE userid called “chuck” that I log in to, and then I start off a program running that takes a LONG time to complete (e.g. rendering a complex 3d model, or doing a video conversion). I want to leave “chuck” logged on, but I want to disconnect from the VNC session and turn off the Windows machine.
If I turn the Windows machine on the next day and I bring up my VNC client I can log back on to the Linux machine with my userid “chuck” – but it brings up a fresh instance of the desktop. I know that my old session is still logged on because I can see it when I do a who -u
So, if I want to “reconnect” to that prior login session is there any way to do that?
I can kill the old session but I can’t figure out how to switch back to it and see my prior desktop with applications running. Is it possible?
I have the same question. I understand this may require a change to the file /etc/xinetd.d/vnc but I’m unsure as to what needs to change. I tried adding the “-NeverShared” option to the configuration but was unable to connect afterwards.
Does anyone who has done this before know what needs to be changed? Thanks for your response.
I log on to my mother’s openSUSE PC with vnc all the time. I do it with simple vnc commands from the konsole, and I never have these problems. I always join the session that I just left, and that session also happens to be the main desktop session that my mother uses. This is great for helping/training her. (She lives a continent away so we need to pick a time in which we are both up ) … Since I never use any software front end to this, and since I use the most basic of commands, I doubt that I can help. All that I can state is it is possible.
Thanks for the response. It’s good to know it is possible.
To clarify, you are saying you did not make any changes to the VNC configuration on the machine you are connecting to?
Also, what command line options are you using for the VNC viewer? And which VNC viewer application? I’m personally using a graphical version of VNC (the one that comes with UltraVNC) but I can change that of course.
Assume 2 PCs … My local PC (running openSUSE-10.3 and 11.0 (I’ve done this from both) and a remote PC (running openSUSE-10.2). I use x11vnc and tightvnc.
I send 2 command from two separate konsoles, both from my Local PC:
I’ve also used x11vnc/tightvnc to log on to my Mother’s PC when she is running winXP or winME. I have the tight vnc server running on both os. For that case, since her server is already running, I just type:
vncviewer internet-ip-address-of-moms-pc:0
I can’t give you any options nor variations on this. The above “just works” for me and I have never had to deviate, and hence I have never read more.