Comment 10 for bug 1501041

Revision history for this message
Doug McMahon (mc3man) wrote : Re: No visible display in ubuntu session when using nvidia drivers via nvidia-prime until screen goes to sleep, then waked up

Demonstration 2
If the autostart script was in place then disable

Alter the sleep time of unity-greeter from 300 to 6 (sec) in /usr/share/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml
(at bottom of file, assumes 6 sec is enough time to enter password, if not increase 6 to something suitable

sudo -H gedit /usr/share/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml

recompile schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas

Log out or restart, at black greeter screen wait at least 6 sec., then press a key. (or wait for value set above in the .xml
The greeter screen will become visible - Quickly enter password & press enter while the screen is still visible

Login session will have a visible display as expected