Persistent Session remote access

Looking for some help. We’re using 2 opensuse servers in production environment. They are both working well with one minor issue. We really want to remote administer the machines in what I believe is called a persistent session. Ideally I would like to be able to log in locally at the console or remotely and pick up where I left off. For example, if I VNC into the machine now and start a program, or download and close the VNC window of if the VNC connection dies for other reasons, all my work is killed and I get a “fresh” session when I re-connect. Does anybody know a way that I can make the console session available via VNC or ideally xrdp and not have all my programs terminate if the remote session drops?

Thanks,
bjamrok

I am using x11vnc for exactly that purpose.
For documentation have a look at the official site: http://www.karlrunge.com/x11vnc/

regards,
Hendrik

On Fri 30 May 2014 07:06:01 PM CDT, bjamrok wrote:

Looking for some help. We’re using 2 opensuse servers in production
environment. They are both working well with one minor issue. We
really want to remote administer the machines in what I believe is
called a persistent session. Ideally I would like to be able to log in
locally at the console or remotely and pick up where I left off. For
example, if I VNC into the machine now and start a program, or download
and close the VNC window of if the VNC connection dies for other
reasons, all my work is killed and I get a “fresh” session when I
re-connect. Does anybody know a way that I can make the console session
available via VNC or ideally xrdp and not have all my programs terminate
if the remote session drops?

Thanks,
bjamrok

Hi
I use the 3.5 version of nxclinet, nxnode and nxserver, I have not
tried the 4.x version. I configure sshd_config to
use .ssh/authorized_keys2. You then get the option to either disconnect
(as in come back to the running session) or terminate.

Then on this system I just run the client, I did however need to remove
the libz libraries from /usr/Nx/lib so it uses the system ones.

The added bonus is the local servers I connect to don’t run the graphics
target (eg runlevel 3) as Nx starts it’s own.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

If “console” means what I understand as “console” using screen fits nicely. I’m using it on all systems I need to access remotely. If “console” means GUI X11 session, I do not think it is easily possible.Using vncserver or similar would give you persistent remote session but it will be different from local GUI session.

Im sorry all, I think I need to re-explain my situation. I would like the machine to have 1 and only 1 session. If I log in at the local keyboard and mouse, start something (example: a download on firefox or an installation) and leave the session logged on, I would like to be able to establish a remote connection to that same session later. In the reverse scenario, I would like to be able to start a remote session, and later log on at the local keyboard and mouse and see the work that I started remotely. I’m a linux newbie so I’m only using the GUI xwindows environment with XFCE desktop.

I do not think there is any out-of-the-box way to do it.

The only solution I can think of is to configure local X to effectively run single client (a la vncviewer) that connects to vncserver, or similar. Downside is, you will lose any acceleration, access to local devices etc etc.

But yes, that is something I’d really like to have as well. Id someone has an idea …