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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 02: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.