Solved

Linux like Terminal Server? (resume graphical sessions)

Posted on 2009-05-11
7
635 Views
Last Modified: 2013-12-16
Is there a way to have users remotely connect to a linux server with GUI and do the following?

1. Open a program once logged in.
2. Close the window while leaving the program running
3. Resume the GUI sessions later with program still running.

I'm thinking of something simliar to Windows Terminal Services sessions where you can just close the window and it leaves the user account logged in to resume later.

So the key is, the program HAS to continue running when the window is closed and you HAVE to be able to log back in and see it.
0
Comment
Question by:bluecc
7 Comments
 
LVL 10

Expert Comment

by:lanboyo
ID: 24360104
Generally this is done with VNC. If you need multiple users who each need to have resumable sessions, you need to get VNC  and XDMCP.

http://homepage.ntlworld.com/daniel.rigal/xdmvnc.html

If you have local network access only, you can just set up plain xwindows  XDMCP.

Some distros are easier than others... Google on resumable vnc + distro name for the distro you use. Basically you want resumable vnc.

I have had a day and a time with Ubuntu, but  hre is a link..

http://news.softpedia.com/news/Setting-Up-a-VNC-Server-with-Session-Resume-Support-52875.shtml
0
 
LVL 3

Accepted Solution

by:
coanda earned 500 total points
ID: 24360320
I prefer FreeNX for a Linux terminal server,

http://www.drtek.ca/freenx-server-ubuntu-hardy
http://ubuntuforums.org/showthread.php?t=97277&highlight=FreeNX

They're both about the same difficulty to setup if you find a good how to but I've never been a big fan of a VNC terminal server only because of the sluggish performance.
0
 
LVL 14

Expert Comment

by:Roachy1979
ID: 24362074
I second FreeNX.....it supports full remote sessions, as well as Shadow logins, which I use for VNC type remote assistance and will do what you need.  There is also a Windows client which means that when I'm stuck using a Windows machine in some of our other offices, I can connect into a local session on my machine at my desk...

Go to http://www.nomachine.com/ and download the FreeNX client, node and servers for your OS....

Quality is good (bandwidth can be specified based on the type of link), and traffic is encrypted if needed.....

0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 10

Expert Comment

by:lanboyo
ID: 24363560
Okay, nxmachine is better... Just installed it today after reading coanda's post.


Frankly getting xdm working with vnc is much harder. I bled getting it working on some ubuntus, whare nxclient was just a follow the command line .

There may be some "Free as in freedom" issues with the nxclient but it is easier to configure, uses ssh as a transport and is in general, much sweeter.
I personnally am going to try it out under various tunneled conditions, and network speeds and ad a portable app...

So  coanda's answer is better.
0
 
LVL 14

Expert Comment

by:Roachy1979
ID: 24363616
lanboyo - check out the shadow sessions, and the ability to tunnel multimedia from a remote machine... :)  Remote printing via CUPS is also possible....some really cool features if you can cope with the lack of "freedom".  

Personally FreeNX is a lifesaver for me.... :)
0
 

Author Comment

by:bluecc
ID: 24363629
Thanks everyone for the great feedback. I setup FreeNX last night and used the NX Client for Windows to connect and it was very easy. This will work just fine for a user to connect to a server to run our app.

Now I just need to find a way to prepackage a pre-configured NX Client! Great stuff!
0
 
LVL 10

Expert Comment

by:lanboyo
ID: 24365285
Check the google cached link for portable app freenx. It looks like the entire application is self contained in the install directory.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Steps to follow for Maintenance of Servers 4 72
Using sort and uniq to pare down large syslog 6 50
Upgrade BIOS / EUFI at Scale 4 54
list of sudo access for date range 5 28
The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question