I created a small root filesystem based on the ubuntu-base-18.04 image (http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/). Everything is working well so far (CUDA, libargus, etc.) without GUI but sometimes I have to install a graphical environment. So, I run the following command to install the ubuntu desktop:
sudo apt-get install ubuntu-desktop
The installation works like a charm but after a restart, GDM does not start properly:
Sep 13 14:28:46 hs-dk1 gnome-shell: Failed to create backend: Could not find a primary drm kms device Sep 13 14:28:46 hs-dk1 gnome-session: gnome-session-binary: WARNING: App 'org.gnome.Shell.desktop' exited with code 1 Sep 13 14:28:46 hs-dk1 gnome-session-binary: WARNING: App 'org.gnome.Shell.desktop' exited with code 1 Sep 13 14:28:46 hs-dk1 gnome-session-binary: Unrecoverable failure in required component org.gnome.Shell.desktop Sep 13 14:28:46 hs-dk1 gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session closed for user gdm
So I thought it may have something to do with wayland. Therefore I disabled Wayland in the /etc/gdm3/custom.conf by uncommenting the line:
[daemon] # Uncomment the line below to force the login screen to use Xorg WaylandEnable=false
After a restart, the screen becomes black for some minutes. After that the login screen becomes visible and I can login. The question is, why it takes so long until the login screen is shown? I attached the corresponding boot log.
journal.log (185 KB)