You may also like...

14 Responses

  1. Ivan says:

    Automatic login in Ubuntu 8.04 causes that keyboard switching applet stops work.

  2. Guru says:

    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

  3. jacrider says:

    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.

  4. uzisuicide says:

    Nice tip, thanks you …

  5. Abhisek says:

    Nice tip indeed. I get irritated sometimes typing in the same username and pass the hundredth time.

  6. √Črick says:

    How can I do that on shell?

  7. Steve says:

    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.

  8. Tafadzwa says:

    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

  9. mastapat11 says:

    “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?

  10. Ralph Nunn says:


    It looks like the file on Lucid is /etc/gdm/custom.conf. The syntax would be the same.

  11. S says:


  12. mastapat11 says:

    kool. Thanks fellas!

  13. Philippe says:

    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.

  14. Adam Hall says:

    And if your not running Gnome?

Leave a Reply

Your email address will not be published. Required fields are marked *