<div dir="ltr"><pre>Package: nvidia-driver<br>Version: 390.87-8~deb9u1<br><br></pre><pre>Dear maintainer,<br><br></pre><pre>as mentioned in <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868087">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868087</a><br>and <a href="https://github.com/the-cavalry/light-locker/issues/77">https://github.com/the-cavalry/light-locker/issues/77</a>, there is a problem<br>when using a combination of the proprietary nvidia-driver + light-locker +<br>lightdm: when locking the screen, the login/unlock screen is never shown.<br>Instead we are sent to a console screen with only a fast blinking cursor.<br>Changing vtty with Ctrl+Alt+F1...F7 does not work and only rebooting allows<br>getting back a login screen.<br><br></pre><pre>The solution I found was simply to generate a /etc/X11/xorg.conf file using<br>'sudo nvidia-xconfig'.
The docs at <a href="https://wiki.debian.org/NvidiaGraphicsDrivers">https://wiki.debian.org/NvidiaGraphicsDrivers</a> suggest it is no
longer needed to run nvidia-xconfig, but for me it was. After running it,
the screen locking mechanism immediately started working correctly.
Maybe the wiki should recommend running sudo nvidia-xconfig anyway to avoid
such problems? It would be even better if the nvidia-driver package's
postinst script did it automatically. <br><br></pre></div>