Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

  1. #1
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    18.04 LightDM: How to not pre-fill username field when waking from suspend?

    I have LightDM set up to hide the user list and show manual login -
    Code:
    $ cat /etc/lightdm/lightdm.conf
    
    [Seat:*]
    <...snipped...>
    greeter-show-manual-login=true
    greeter-hide-users=true
    In 16.04, when waking from suspend, LightDM would present a blank login prompt, with focus on the username field. I would fill in both username and password to unlock the session. In 18.04, it pre-fills the username field with my username, and moves focus to the password field.

    How to get the old behavior back?
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  2. #2
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: LightDM: How to not pre-fill username field when waking from suspend?

    bump
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    Moved to General Help at user's request.

  4. #4
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    Thanks oldos2er

    bump
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  5. #5
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    bump
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  6. #6
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    bump
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  7. #7
    Join Date
    Mar 2011
    Beans
    157
    Distro
    Ubuntu Development Release

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    http://ubuntuhandbook.org/index.php/...-login-screen/ i have not read it but noticed it
    Dell XPS 8300, Intel core I7-2600, 12 GB ram, 2 TB HDD, AMD Radeon 6770, Soundblaster X-fi Xtreme, Dell 24" monitor, Ubuntu 12.04 and 12.10-testing

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

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    That might work for GDM but OP uses "LightDM"
    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

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

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    Quote Originally Posted by halogen2 View Post
    I have LightDM set up to hide the user list and show manual login -
    Code:
    $ cat /etc/lightdm/lightdm.conf
    
    [Seat:*]
    <...snipped...>
    greeter-show-manual-login=true
    greeter-hide-users=true
    In 16.04, when waking from suspend, LightDM would present a blank login prompt, with focus on the username field. I would fill in both username and password to unlock the session. In 18.04, it pre-fills the username field with my username, and moves focus to the password field.

    How to get the old behavior back?
    Ok just figured this out by adding the created file inside "lightdm.conf.d" folder:
    Add this:
    Code:
    [SeatDefaults]
    greeter-hide-users=true
    greeter-show-manual-login=true
    Code:
    sudo nano /etc/lightdm/lightdm.conf.d/00-hide-user-list.conf
    either restart your system or the lightdm service.
    Last edited by 1fallen; May 25th, 2018 at 04:45 PM.
    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

  10. #10
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: 18.04 LightDM: How to not pre-fill username field when waking from suspend?

    Quote Originally Posted by 1fallen View Post
    Ok just figured this out by adding the created file inside "lightdm.conf.d" folder:
    Add this:
    Code:
    [SeatDefaults]
    greeter-hide-users=true
    greeter-show-manual-login=true
    Code:
    sudo nano /etc/lightdm/lightdm.conf.d/00-hide-user-list.conf
    either restart your system or the lightdm service.
    Thanks 1fallen for the answer. Unfortunately moving those lines from lightdm.conf into a new file /etc/lightdm/lightdm.conf.d/00-hide-user-list.conf had no effect. My username is still automatically filled in when unlocking my session or waking from suspend.
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

Page 1 of 2 12 LastLast

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
  •