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.
hello,
Is there a way to configure Red Hat Linux so that a user id and password will automatically be entered and it will reboot to the desktop instead of sitting at a login screen waiting for a user id? We occasionally reboot our server remotely from home, and when it reboots it stops at the login screen, and unfortunately the VNC server service doesn't start until your logged in, so you can't restablish a remote connection to the server.
Alternatively, is there a way to have the VNC server service automatically start and not wait on someone to log into the server?
I'd rather though just have the server not wait for someone to login.
thanks in advance,
david
hello,
Is there a way to configure Red Hat Linux so that a user id and password will automatically be entered and it will reboot to the desktop instead of sitting at a login screen waiting for a user id? We occasionally reboot our server remotely from home, and when it reboots it stops at the login screen, and unfortunately the VNC server service doesn't start until your logged in, so you can't restablish a remote connection to the server.
Alternatively, is there a way to have the VNC server service automatically start and not wait on someone to log into the server?
I'd rather though just have the server not wait for someone to login.
thanks in advance,
david
If you are using Gnome. To enable automatic login, add (or change) the following directives to /etc/X11/gdm/gdm.conf:
{BBI}Nexus{BBI}
Hello,
Do I also need to enter the password of the user name into the gdm.conf?
When I looked at the gdm.conf, it mentioned the gdmsetup GUI near the top, so I ran that from a Terminal. On the general tab under Auto Login it doesn't show any place to put a password.
I also was wondering if maybe it'd be better to tackle this problem by just getting remote VNC connections working and login remotely from the login screen. I looked around the gdmsetup GUI and noticed on the Security tab the Always disallow TCP connections to X server (disables all remote connections) is currently checked. If I uncheck that, would I then be able to VNC to the server login screen after reboot? Or do I need to do something else to make remote VNC to work after reboot.
Do I also need to enter the password of the user name into the gdm.conf?
When I looked at the gdm.conf, it mentioned the gdmsetup GUI near the top, so I ran that from a Terminal. On the general tab under Auto Login it doesn't show any place to put a password.
I am not sure about the specifics of gdm.conf, but I don’t see why you would need to specify a password. Since gdm runs with root privileges (and since root privileges are required to edit the conf file), it can change to whatever user it pleases (without any password).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.