I followed the instructions in How to set a PIN password or a short password in Ubuntu Linux to make my life easier, but apparently it didn't made my life any easier:

Now I can't login to my Ubuntu 18.10 desktop environment even with my own PIN password that I set up.

what should I do now?

  • 4
    And what is the question?
    – yms
    Dec 29 '18 at 2:05
  • I can't login even with my own password, "pin that I set up using that instructions."
    – user889789
    Dec 29 '18 at 2:07
  • But the image you posted has nothing to do with the problem you are describing... it is just a wizard to select your display manager (X11 vs Wayland). askubuntu.com/questions/11537/why-is-wayland-better
    – yms
    Dec 29 '18 at 2:08
  • 2
    Matter is solved now. Thanks u yms and guivrec. I also used stackflow to reinstall default display manager. Thanks again.
    – user889789
    Dec 29 '18 at 4:47
  • 2
    Welcome to Ask Ubuntu! If you solved your own problem, please consider to answer your own question one it it reopened and accept your answer. Don’t put the answer in your question or the comments! :-) Jan 2 '19 at 14:43

The instructions in the tutorial that you followed are out-of-date because the default login display manager in Ubuntu 18.10 is gdm3, not lightdm. Uninstall the packages that you installed by following the instructions from How to set a PIN password or a short password in Ubuntu Linux, and reinstall the default login display manager (gdm3).

Access a virtual console by pressing the keyboard combination Ctrl+Alt+F3 from the screen where the system is stopped when trying to boot the computer.

To login from a virtual console:

  1. At the login: prompt type your username and press Enter.

  2. At the Password: prompt type your user password and press Enter. After you have logged in, you can run commands from the virtual console.

Run the following commands.

sudo apt purge libpam-pwdfile lightdm    
sudo apt install gdm3   
sudo dpkg-reconfigure gdm3    
sudo reboot

sudo dpkg-reconfigure gdm3 will open up a new window allowing you to select gdm3 as the default login display manager. Use the arrow keys to select gdm3 and press the Tab key to put the focus on <OK> and press Enter. Then reboot by running this command: sudo reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy