I use Manjaro linux. After an update, when I boot, journalctl says the system reached graphical target, but it starts up in tty1 cli, and I need to type startx to start the kde gui, and then type my password again in a kdewallet popup, to connect to wifi. After that, everything works fine. In Manjaro, the gui starts in tty1, while in other distros, it usually starts in tty7.
I tried setting the default to graphical.target with the systemctl command, and by editing grub menu by replacing the quit parameter by `systemd.unit=graphical.target, but it still starts up in the tty1 session.
I also tried adding a custom entry in the grub menu, but that does not help either To add this to the grub menu: - copy the first grub menu entry from /boot/grub/grub.cnf into the file /etc/grub.d/40_custom
replace the quit command by `systemd.unit=graphical.target
change the menuentry title and run sudo update-grub
Any ideas on how to get the system to start normal again. I posed the question in the Manjaro forum a week ago, but there is no reply.
I suppose it will be faster to just re-install, but I am curious why this happens, and how to correct it.
Thanks for the tips. I found that ssdm is installed but not active, it is masked.
When I try to re-install it, I get this error sudo pacman -S sddm
warning: sddm-0.19.0-2.2 is up to date -- reinstalling ... error: sddm: signature from "Philip Müller (Called Little)<email@example.com>" is invalid :: File /var/cache/pacman/pkg/sddm-0.19.0-2.2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: failed to commit transaction (invalid or corrupted package (PGP signature)) Errors occurred, no packages were upgraded. [marc@ass ~]$ systemctl enable sddm.service Failed to enable unit: Unit file /usr/lib/systemd/system/sddm.service is masked.
When I look for /usr/lib/systemd/system/sddm.service, I see that it is empty.
Am I correct that there is some kind of packaging error, and that due to the corrupted package, the system blocked it from starting ? If the package is corrupt, should not more people have this problem ?
Should I wait some time for the package to get repaired, or should I uninstall it and install another greeter like lightdm ?