google / google-authenticator-libpam

Apache License 2.0
1.76k stars 281 forks source link

Black login screen on POP OS #182

Open TonyStark opened 3 years ago

TonyStark commented 3 years ago

Hello I have compiled and installed library, and generate code I have added this line auth required pam_google_authenticator.so nullok in /etc/pam.d/common-session Then i have restart, my login screen is not appearing, just only black screen

System:

Linux pop-os 5.4.0-7642-generic #46~1597422484~20.04~e78f762-Ubuntu SMP Wed Aug 19 14:35:06 UTC  x86_64 x86_64 x86_64 GNU/Linux
ThomasHabets commented 3 years ago

First of all, why common-session, and not common-auth?

Second: check log files and stuff.

TonyStark commented 3 years ago

I have tried but not working, same issue will see logs

TonyStark commented 3 years ago

may be this is the error, but i dont understand

Sep 11 04:13:36 pop-os systemd[1812]: gnome-session-x11@pop.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session@gnome-initial-setup.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session-pre.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session-initialized.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os dbus-daemon[1833]: [session uid=1000 pid=1833] Activating service name='ca.desrt.dconf' requested by ':1.33' (uid=1000 pid=2455 comm="/usr/libexec/xdg-desktop-portal-gtk " label="unconfined")
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session@gnome-login.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session-x11.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os dbus-daemon[1833]: [session uid=1000 pid=1833] Successfully activated service 'ca.desrt.dconf'
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session@pop.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
Sep 11 04:13:36 pop-os systemd[1812]: gnome-session-failed.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
ThomasHabets commented 3 years ago

That's strange.

Any more detail in other logfiles?

TonyStark commented 3 years ago

No But after i uninstalled build version, and installed using apt-get, it installed old version but works well