Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a server centos 7 minimal install. I believe low footprint of OS make it healthy and lightweight.
Now I want to configure vnc server on it. I want vnc command shell only Gui is not required. I mean I do not want to install Desktop...
How can I install-configure minimal vnc server please.
I don't understand the point of running a VNC server on a console-only system. Why not just ssh in? If you need to maintain a session through dis/reconnects then use screen.
yes ssh is used for operations. But we need a permanent session for running long operations like over night 8 hours...
We cannot take risk ssh may be disconnect for some reason after 5 hours.....
As I said in my previous post, if you need to maintain a session through dis/reconnects then use screen.
Code:
$ screen -S <session name>
Run whatever you want to run in the session, disconnect from it with Ctrl-A D, list all screen sessions with "screen -ls", reconnect to one with "screen -r <session name>", reconnect to one that's already connected to (forcing the other one off) with "screen -rD <session name>". If your ssh session dies for whatever reason, just ssh back in and reconnect to the screen session with "screen -r <session name>".
Last edited by suicidaleggroll; 04-24-2017 at 01:20 PM.
Ok Screen is absolutely which fullfill our requirements...
Thanks a lot.
But for my understanding can we configure vnc to run only console without desktop on minimal installation.
yes ssh is used for operations. But we need a permanent session for running long operations like over night 8 hours...
We cannot take risk ssh may be disconnect for some reason after 5 hours.....
It's been awhile, but I seem to recall that running a job in background would make it immune to ssh disconnects. It would just keep running because, being in background, it was not connected to a terminal. Am I remembering correctly?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.