Hello,
I tried to update from 16.04 to 18.04 lately and ran into similar problems as I am having now. I tried to solve it with a clean 18.04 Installation, but it did not help.
The clean install with Nouveau driver does start correctly, but does not restart after suspending the computer. I read that this might be solved by using the Nvidia driver, I wanted to use anyway. After installing the computer did not start and I had to change to UEFI insecure boot and set boot options in /etc/default/grub to
At this point the computer got stuck in the loading screen atGRUB_CMDLINE_LINUX_DEFAULT= "nomodeset"
Started user manager for UID 121
I used the recovery mode to install lightdm and switched to lightdm it using
At this point the computer starts and hear the Ubuntu starting sound, but the screen is black. I can switch to tty and login. Checking the status of lightm usingSudo dpkg-reconfigure lightdm
ShowsSystemctl status lightdm
Restarting lightdm does not work. I realised that I don't have a lightm.conf file at this point, so I created one with minimal Information:● lightdm.service - Light Display Manager
Loaded: loaded (/lib/systemd/system/lightdm.service; indirect; vendor preset: enabled)
Active: active (running) since Sat 2020-01-04 13:47:57 CET; 43s ago
Docs: man:lightdm(1)
Process: 916 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS)
Main PID: 921 (lightdm)
Tasks: 13 (limit: 4915)
CGroup: /system.slice/lightdm.service
├─921 /usr/sbin/lightdm
└─936 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Jan 04 13:47:57 DeepThought lightdm[979]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Jan 04 13:47:57 DeepThought lightdm[979]: PAM adding faulty module: pam_kwallet5.so
Jan 04 13:47:57 DeepThought lightdm[979]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Jan 04 13:47:58 DeepThought lightdm[1126]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Jan 04 13:47:58 DeepThought lightdm[1126]: PAM adding faulty module: pam_kwallet.so
Jan 04 13:47:58 DeepThought lightdm[1126]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Jan 04 13:47:58 DeepThought lightdm[1126]: PAM adding faulty module: pam_kwallet5.so
Jan 04 13:47:58 DeepThought lightdm[1126]: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "marius"
I hope that is correct.Greeter-session =lightdm-slick-greeter
User-session = Ubuntu
I can start my computer normally by purging the Nvidia driver and restaring the system, working with gdm3 and lightdm.
The lightdm status is then similar but with additional line:
I tried with different versions of the Nvidia driver, same result. I am using an Inspiron 15 7000 with i5 processor and GeForce 940MX.lightdm[xxxx]: pam_unix(lightdm:session) : session opened for user marius by (uid=0)
lightdm[yyyy]: Failed to write utmpx: No such file or directory
Please let me know if you need more Information. It would be nice if you could explain some backgrounds for me to understand what is going on ( or just add some links).
Thanks,
Marius
Bookmarks