Solved

Linux like Terminal Server? (resume graphical sessions)

Posted on 2009-05-11
7
628 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 10

Expert Comment

by:lanboyo
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now