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!
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 installed CentOS 5.5 successfully and I have VNC working. This server will be a headless box that will reside in a server rack. I intend to perform any necessary maintenance on the machine remotely though my desktop computer. My problem is that when CentOS is on the login screen, I cannot connect with VNC. Once I have logged into a user account, then I can connect.
I would like the server to automatically login to one of my users each time it boots so that the VNC connection will be opened. Currently I have two users, root and Zachary. I would like the server to automatically login to the user Zachary.
In the CentOS Gnome GUI, when I go into System > Administration > Login Screen, and then click on the Security tab there is an option to "Enable Automatic Login." If you check this box a select form field becomes active; however, there are no user accounts showing in that select field. I tried typing in the user name that I wanted to automatically login, but after closing the screen it clears that username. What am I missing?
Personally I would recommend that you not do that. Anyone that happens to get physical access to your server then is able to get into the machine with an account. Should you require a GUI to administer the server use something like freenx to connect to the server.
I don't think anybody has to be logged in for vncserver to run. I believe you just need to set it to start at boot with "chkconfig --levels 235 vncserver" besure to sub out vncserver for what ever the service is called. I don't have centos installed no more so I can't check.
Well to actually answer the question instead of treating you like a child playing with matches:
Go to System->Administration->Login Screen->Users. Add yourself (or whomever you want to automatically login as) to the "face browser" "Include" list. Just hit '+ Add', then type the user id. The user name will now show up in both the "Enable Automatic Login" and "Enable Timed Login" drop down menus.
(If they have physical access, game's over anyway. It's not like they'll be sitting around trying to guess user id/passwords.)
Last edited by phil_s_stein; 11-03-2010 at 05:20 PM.
Reason: added snark