Functional tty access, but no GUI login screen after initial setup wizard (Qubes 4.2)

Hi,

I run into some trouble following a run of the initial setup wizard on a fresh 4.2 install.
The only post I found similar to this issue is related to booting from a USB drive, but I’m booting from a m.2 drive.

I choose my settings in the wizard, and then tell it to configure the system. When it reaches the end, the GUI of the wizard disappears and I see systemd booting messages regarding units that are starting. After this nothing happens. If I press alt+RIGHT I can access another tty and login using the credentials I setup in the first stage of the installation. When I look at the output of journalctl I don’t see anything that stands out. From running ps ax I can see that lightdm is running, but it seems that it didn’t start a xfce session. This is clearly why I don’t get a login screen, but why didn’t it start the session? I looked at the lightdm log in /var/log but nothing stands out.

Can anybody make a suggestion on what to look into for the next step of troubleshooting? I’m out of ideas. Thanks.

1 Like

Do you use NVIDIA GPU in dom0?

No, the graphics hardware in dom0 is from Intel.

Did you test the installation media before installing Qubes OS (the default boot menu option in Qubes OS installer GRUB menu) to make sure that it’s not corrupted?

Check the Xorg log in /var/log/Xorg.*.

Yes, I ran the verification option and it passed, and also I checked the sha1sum of the disc seperately.

I don’t see anything that interesting in the Xorg log file. There are some messages prefixed by (EE). Below are some samples:

open /dev/dri/card0: No such file or directory

Unable to find a valid framebuffer device

Screen 0 deleted because of no matching config section

Based on the other messages around those, I’m guessing those messages are related to X trying to setup the graphics with the correct kernel modules, and are normal.

When I look at the output of journalctl, I can see messages related to the X server in relation to the run-initial-setup unit. However, I don’t see any messages related to the X server after that. In particular, I don’t see any messages related to X once lightdm starts, and so I wonder if lightdm is even getting to the point of trying to start X. This would mean that the contents of the Xorg log file would all be related to the initial setup wizard, and not related to starting the login GUI.

1 Like

Try to reinstall Qubes OS with kernel-latest.
Or install it in dom0 using TTY if the qubes and networking are working for you.
Or you can try to boot your Qubes OS installation with nomodeset kernel command line option.

By “install it in dom0”, do you mean install it via the command line qubes update utility in dom0? And the package to install would be kernel-latest?

You can install it by running this command in dom0 terminal:

sudo qubes-dom0-updates kernel-latest

Also try this first:

Thank you @apparatus, installing with the latest kernel option solved the issue.

1 Like