Results 1 to 6 of 6

Thread: How to set a computer to autologin on reboot

  1. #1
    Join Date
    Sep 2013
    Beans
    56

    How to set a computer to autologin on reboot

    I would like to use my laptop (running Lubuntu 20.04) as a server. So I would like to autologin into my account on every reboot. In Ubuntu 20.04 this is really easy to do as one simply toggles a switch in the GNOME desktop. But how does one do this in Lubuntu?


    Following instructions on one website, I have changed /etc/sddm.conf as below


    Code:
    [Autologin]
    Session=Lubuntu
    User=myusername
    but after the reboot, it still requires a login. Can any one help?


    Silverrope

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to set a computer to autologin on reboot

    Quote Originally Posted by srope01 View Post
    I would like to use my laptop (running Lubuntu 20.04) as a server. So I would like to autologin into my account on every reboot. In Ubuntu 20.04 this is really easy to do as one simply toggles a switch in the GNOME desktop. But how does one do this in Lubuntu?


    Following instructions on one website, I have changed /etc/sddm.conf as below


    Code:
    [Autologin]
    Session=Lubuntu
    User=myusername
    but after the reboot, it still requires a login. Can any one help?


    Silverrope
    Is your user name really "myusername"?
    if not set correctly to your user name.
    if your unsure use:
    Code:
    whoami
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Sep 2013
    Beans
    56

    Re: How to set a computer to autologin on reboot

    Quote Originally Posted by 1fallen View Post
    Is your user name really "myusername"?
    if not set correctly to your user name.
    if your unsure use:
    Code:
    whoami
    No, I used my real username, the one I created when I installed Lubuntu. There was an option when I installed to autologin, but unfortunately I didn't click on it. I'd rather not reinstall as I have already customised it. Besides, I assume this must be easy to change.

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to set a computer to autologin on reboot

    I need facts here, will you show the return of:
    Code:
    cat  /etc/sddm.conf
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  5. #5
    Join Date
    Sep 2013
    Beans
    56

    Re: How to set a computer to autologin on reboot

    Sorry, but I found out where the problem was. The sddm.conf had user=myusername, not User=myusername. Capitalizing User solved it. Sorry for the bother. Will mark this solved.

  6. #6
    Join Date
    Dec 2015
    Location
    Japan
    Beans
    139
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: How to set a computer to autologin on reboot

    You can also add
    Code:
    Relogin=true
    to the sddm.conf file.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •