Sponsored Link
If you want to enable automatic login in ubuntu follow this procedure
Go to System--->Administration--->Login Window.
Now it will prompt for root password enter your root password and click ok
In the Login Window Preferences window, select the Security tab.Check the Enable Automatic Login checkbox and Select your username from the User dropdown.Click the Close button.
Automatic login in Ubuntu 8.04 causes that keyboard switching applet stops work.
I added the following command to Session (System -> Preferences -> Session)
gnome-screensaver-command --lock
Why? When I login now:
* all programs are fully loaded
* all e-mails are retrieved
* no waiting time after login to work
* computer is locked, so nobody but me can use it
I like this. I have a headless server that is a pain to reboot. This way, I could have it boot and auto login, then lock the screen saver automatically. This way I can RemoteAccess into the box. Now, I can’t seem to get RemoteAccess until logged in the first time at the console.
Nice tip, thanks you …
Nice tip indeed. I get irritated sometimes typing in the same username and pass the hundredth time.
How can I do that on shell?
Erick,
Did you figure out how to change the auto login setting via the console. We have a machine which we only have console access to and we would like to enable the remote access to the desktop via vnc. If we knew which file the auto login setting was stored in we could change it via the console and reboot.
Steve, You can edit the file /etc/gdm/gdm.conf to setup auto login which will allow you to vnc to the client.
# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AutomaticLoginEnable=true //This line to true
AutomaticLogin=’USERNAME’ // Your username on this line with out the single quote
“You can edit the file /etc/gdm/gdm.conf…”
This file doesn’t exist in Lucid. Does anybody know how to do this from the command line in this newer Ubuntu ver?
mastapat11-
It looks like the file on Lucid is /etc/gdm/custom.conf. The syntax would be the same.
/etc/gdm/custom.conf
kool. Thanks fellas!
Old old thread and a bit off topic but still in response to jacrider:
no need to autologin the server to autostart vnc. the simplest and yet clean way I found was to install xrdp. That adds 2 bonuses 1/ you can connect with windows remote desktop client (and your ubuntu equivalents) 2/ there is some acceleration resulting from the use of rdp.
if you feel adventurous try the NX protocol (freenx or neatx) there you have the whole package: speed and security.
And if your not running Gnome?