You are not logged in.

#1 2022-01-29 04:25:42

drtkm
Member
Registered: 2022-01-03
Posts: 10

[SOLVED] Can't start desktop after trying to swich display manager

I am using Arch Linux for a month now. Everything was fine and I was running gdm display manager with nvidia graphics card GeForce GT 710. I decided to test KDE Plasma desktop and it failed to pass the login screen. When I tried to return to gdm, it is stuck with a black screen with white cursor blinking at the top left. I can, however, login by tty2 terminal but can't get to desktop.

What should be done?

Thaks in advance.

Last edited by drtkm (2022-01-30 12:57:02)

Offline

#2 2022-01-29 05:02:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: [SOLVED] Can't start desktop after trying to swich display manager

Which of the nvidia-related steps have you followed from here?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-01-29 06:57:02

drtkm
Member
Registered: 2022-01-03
Posts: 10

Re: [SOLVED] Can't start desktop after trying to swich display manager

Thanks, Trilby for your quick reply. I did installed egl-wayland, but that didn't help
. I am hesitant to modify kernel, so didn't tried modifying DRM-Kernel settings.

Last edited by drtkm (2022-01-29 07:35:25)

Offline

#4 2022-01-29 08:47:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,018

Re: [SOLVED] Can't start desktop after trying to swich display manager

From the tty login,

sudo systemctl restart gdm

If that gets you a working GDM you need to apply https://wiki.archlinux.org/title/NVIDIA … de_setting - you're *not* modifying the kernel, but adding some modules to the initramfs and pass the nvidia module a parameter.

Offline

#5 2022-01-29 12:31:52

drtkm
Member
Registered: 2022-01-03
Posts: 10

Re: [SOLVED] Can't start desktop after trying to swich display manager

I created another user, just in case it helps. Regrettably, it did the opposite. I can't now login even via tty1. The white cursor laughs at me from the to left corner. There is only one way left, I suppose: to login via arch installation media.

So, I can't use sudo systemctl restart gdm as Seth suggested.

Offline

#6 2022-01-29 13:30:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,018

Re: [SOLVED] Can't start desktop after trying to swich display manager

Boot the iso, DON'T FORGET TO MOUNT THE BOOT PARTITION, arch-chroot into the system, amend the kernel parameters and the mkinitcpio.conf modules, regenerate the initramfs, reboot and report back.

Offline

#7 2022-01-30 03:53:15

drtkm
Member
Registered: 2022-01-03
Posts: 10

Re: [SOLVED] Can't start desktop after trying to swich display manager

Boot the iso : Booted but couldn't mount - "windows not clean". Fast boot disabled, Windows shut down properly after error checking didn't help. Rescuzilla image couldn't be selected, so could not be restored. When every option was closed except reinstalling, a bright ray of hope shined - Systemrescue disk allowed me to login to the Arch installation via GDM-greeter window straight into my desktop!! Admittedly, it was freezing intermittently but allowed sufficient time in between freezes to work in terminal to remove windows entry from /etc/fstab file and removing the extra user I created. I can now login to tty1 windows without any trouble.

Amended the kernel parameter : through editing /etc/default/grub file and then grub-mkconfig -o /boot/grub/grub.cfg. No errors reported.

Added nvidia-drm_modeset=1 to the Modules, then run sudo mkinitcpio -P linux. Errors : module not found 'nvidia', 'nvidia_modeset', 'nvidia_uvm', 'nvidia_drm_modeset=1' and possibly missing firmware for module : qla2xxx, aic94xx, qla1280, qed, wd719x,bfa, xhci_pci. Errors were encountered during the build. The image may not be complete.

Rebooted. Same white blinking cursor in black window appeared. However, I can now login by CTRL+ALT+F2 in tty1 console and can login by giving my username and password.

Just a thought.... I installed NVIDIA-Linux-x86_64-470.94 package manually as I failed to do so through pacman. Very recently, system upgrade installed new kernel. Did that make changes to nvidia ? I also noticed that the WPS office suit I installed was removed after the upgrade.

What next?

I really appreciate help of the Forum members. Thanks again.

Offline

#8 2022-01-30 09:55:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,018

Re: [SOLVED] Can't start desktop after trying to swich display manager

Just a thought.... I installed NVIDIA-Linux-x86_64-470.94 package manually as I failed to do so through pacman. Very recently, system upgrade installed new kernel. Did that make changes to nvidia ?

This means that there're no nvidia drivers for the installed kernel. Don't do that.
Install the nvidia-470xx-dkms and nvidia-470xx-utils packages from the AUR - if you struggle w/ that, report the errors.
If you can't uninstall the pacman-bypassing nvidia installation anymore, you'll likely have to use --overwrite '*'

You can upload console errors by

failing_command_here 2>&1 | tee curl -F 'f:1=<-' ix.io

Offline

#9 2022-01-30 12:56:23

drtkm
Member
Registered: 2022-01-03
Posts: 10

Re: [SOLVED] Can't start desktop after trying to swich display manager

Success at last !! I also understood that after kernel upgrade, many changes occurred to the programs installed manually. I reinstalled nvidia package. On rebooting, GDM-greeter appeared and on login, the desktop. The problem is solved.

Does that mean I have to reinstall nvidia and other manually installed packages like WPS office each time after a kernel update?

Thanks.

Offline

#10 2022-01-30 13:53:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,018

Re: [SOLVED] Can't start desktop after trying to swich display manager

Does that mean I have to reinstall nvidia and other manually installed packages like WPS office each time after a kernel update?

I don't see the problem w/ WPS office (looks like a binary release, maybe it depends on functional GLX?) but you'll have to re-install the nvidia driver for each kernel update - the dkms package does that automagically, but the installer you got from nvidia certainly won't.

Offline

#11 2022-02-01 04:53:07

drtkm
Member
Registered: 2022-01-03
Posts: 10

Re: [SOLVED] Can't start desktop after trying to swich display manager

Many thanks for you help, Seth. I am using Arch for about a month and I started to love it's speed, security, extreme control in a bloatware-free system. Obviosly, newbies need advice from experienced users.

Almost all programs that I installed manually (that is, not through Pacman) were disrupted by the recent kernel update. Nvidia, WPS, dolphin - to name a few. They were simply wiped out! Although reinstallations are very easy and took 5 minutes only, this should not happen in my honest opinion.

Thanks again.

Offline

#12 2022-02-01 07:43:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,018

Re: [SOLVED] Can't start desktop after trying to swich display manager

They were simply wiped out!

It's more likely that another part of the update (not the kernel) shoveled some updated library version that those programs relied on an required them to be recompiled/relinked.
The exception is the nvidia driver which needs to match the kernel.

You're fully responsible to maintain AUR packages and 3rd party software w/ updates - there's no way to prevent those incompatibilities w/ updates (unless you go for the idiotic container releases of docker/flatpack/snapper which "mitigate" this by shipping half a dated OS w/ the application to almost make sure that the linked libs are there - but that does not only waste space and has security issues, but also doesn't work reliably in practice because the containers end up being hybrids that still rely on part of the OS libraries)

Offline

Board footer

Powered by FluxBB