Help, no login screen
  • Probably a dumb question. Apologies. I had a look through other threads but couldn't find an answer.

    I have no login screen despite the fact that there are two users on the computer. Perhaps this is an option I chose during in installation(?). If I logout, I get the login screen, but not from boot. From a net search it seems that in other Ubuntu distros there is a 'login screen' option in one of the menus but I can't find it in LXLE.

    I'd appreciate the help.

    And thanks for LXLE. It runs like a dream on my old notebook.
  • lxlelxle
    PMPosts: 2,656
    Go to Menu>System>Users and Groups, click on change next to Password  of the account that is logged into automatically at startup

    Make sure that the box is unchecked next to Don't ask for password on login Then restart

    If it still doesn't work I'll show you how to do it manually.
  • Thanks so much for your swift reply.

    The box is unchecked. I checked it, rebooted, unchecked it again, rebooted again, to no avail...
  • lxlelxle
    PMPosts: 2,656
    Then open up a terminal and type

    gksu gedit /etc/lxdm/default.conf


    In the fist few line, you will see something like autologin=username change it to the original state of
    #autologin=dgod. Save the file, and then reboot your machine.
  • Tried it. But no change. I've pasted the contents of the file you referred to below. I altered the third line as you suggested. Any further ideas? Thanks.

    [base]
    ## uncomment and set autologin username to enable autologin
    autologin=dgod

    ## uncomment and set timeout to enable timeout autologin,
    ## the value should >=5
    # timeout=10

    ## default session or desktop used when no systemwide config
    session=/usr/bin/startlubuntu

    ## uncomment and set to set numlock on your keyboard
    # numlock=0

    ## set this if you don't want to put xauth file at ~/.Xauthority
    # xauth_path=/tmp

    ## greeter used to welcome the user
    greeter=/usr/lib/lxdm/lxdm-greeter-gtk

    [server]
    ## arg used to start xserver, not fully function
    # arg=/usr/bin/X -background vt1

    [display]
    ## gtk theme used by greeter
    gtk_theme=Greybird

    ## background of the greeter
    bg=/usr/share/lubuntu/wallpapers/lubuntu-default-wallpaper.png

    ## if show bottom pane
    bottom_pane=1

    ## if show language select control
    lang=1

    ## if show keyboard layout select control
    keyboard=0

    ## the theme of greeter
    theme=Greybird

    [input]

    [userlist]
    ## if disable the user list control at greeter
    disable=0

    ## whitelist user
    white=

    ## blacklist user
    black=

  • lxlelxle
    PMPosts: 2,656
    you must put a # in front of autologin=dgod like the following

    #autologin=dgod

  • linux_is_funlinux_is_fun
    PMPosts: 3
    Solved! I was struggling with the same issue today. Tried the previous posted suggestions to no avail. Then I searched for the same issue on Lubuntu. Found two references to this autologin problem that indicated the file that needs to be edited is actually '/etc/lightdm/lightdm.conf'.

    http://www.itworld.com/article/2725495/it-management/how-to-put-lubuntu-into-automatic-login-mode.html

    "In Ubuntu releases starting with 12.04, however, you need to
    edit a different file. With the new display manager, lightdm, a
    different file is used to manage this setting. So, you edit the
    /etc/lightdm/lightdm.conf file instead.

    lightdm is an X
    display manager that is fast, extensible and provides the ability to use
    multiple desktops -- like lubuntu and OpenBox."

    When I examined this file on my system, it had my username on the 'autologin-user= ' line, which I tried setting to false like the 'guest-user=false' was already set as. Saved and restarted, good to go now!

    The lightdm.conf file,
    after your changes, will look something like this:

    [SeatDefaults]
    autologin-guest=false
    autologin-user=false
    autologin-user-timeout=0
    autologin-session=lightdm-autologin

    Thanked by 1lxle
  • julianpigottjulianpigott
    PMPosts: 5
    Thank you both.

    lxle: sorry for the missing #. I added it, but no difference...

    linux_is_fun: I solved the issue with the steps you recommended.

    So, for complete numbskulls like me, the command would be:

    gksu gedit /etc/lightdm/lightdm.conf

    and then make sure it says 'autologin-user=false' and save the file. Reboot.

    Thanks so much for this.



  • lxlelxle
    PMPosts: 2,656
    What version are you using? 12.04 or 14.04? I should have asked instead of assuming.
  • 12.04.5

    All the best.
  • @julianpigott - thanks for the kind words. Plus, I am the complete numbskull, what was I thinking when I installed LXLE as autologin? Was beginning to think I would have to re-install to get around problem, but what a relief!

    @lxle - thank you for your efforts and a wonderfully refined distro!!! I am primarily using Ubuntu 14.04, but am not a fan of Unity, so I have been trying distros with more legacy desktop paradigms. I was beginning to think Mint with the Mate desktop may be the best alternative, but I really like what I see with LXLE! The close kinship with Lubuntu means that there is a larger community of interest to lend support for issues!