Desktop logs out to lock screen (nvidia)

Do the virtual TTY work for you?

When you press, ALT+CTRL+F4 do you get a virtual terminal?

Yes, so far I haven’t had any issues accessing the virtual terminal

1 Like

Ok I will put this info also in this topic:

If I run kernel-server I can use SDDM and login directly and nvidia driver is not crashing anymore.
Problem mentioned above exists only when I am using kernel-desktop. I wonder what is different inside those packaged kernels regarding nvidia?

Indeed.

I will report it.

2 Likes

Next episode, testing after today’s update in ROME - still kernel-server working mostly ok, on kernel desktop I have found more simple procedure: after SDDM loaded, go to TTY (CTRL+F4), login in console and restart SDDM service with sudo systemctl restart sddm - after that I can login through restarted sddm without any issue - and because it is through sddm, KDE wallet for Brave is not asking me for a password.
I have used stopping SDDM service and running startx before - which often cause asking me for password for KDE wallet when running Brave.

So just a little simpler workaround.

2 Likes

@engine This worked for me as well. Question, do you have to do it every time you reboot?

That’s interesting… And brings up 3 questions.

  1. Does it work if you use autologin? (That would certainly explain why I never see the problem)
  2. Does it work if you switch sddm (just sddm, not the whole desktop) to wayland? (In /etc/sddm.conf, add DisplayServer=wayland under [General]
  3. Does it work if you switch sddm to x11 as root? (In /etc/sddm.conf, change DisplayServer=... under [General] to DisplayServer=x11 (the default is x11-user)

@engine I have an integrated screen and yet I have the same inconvenience: your workaround is ok for me. Thanks.
@bero I tested the three points (and followed the instructions) but none of the three work (by me).
@stashan At each reboot I have to do it again (I don’t have to if I close the session).

I was a bit lax in the instructions – of course, after modifying /etc/sddm.conf, reboot to make the settings take effect.
I presume you did that anyway?

1 Like

Yes, reboot after each change.
This was the file before and after the changes.
⁄etc⁄sddm.conf.txt (850 Bytes)
sddm2.txt (872 Bytes)
sddm3.txt (868 Bytes)
sddm4.txt (873 Bytes)

Attempting autologin got me into an infinite loop. I had to stop it with:

sudo systemctl stop sddm.service

It seems (finger crossed) that today’s update fixed finally a problem with sddm and nvidia. I have rebooted 3 times on kernel-desktop and could login without mentioned issues from start (without restarting sddm service).

but… my display signal is lost when I try to go to different TTY with (CTRL+F4) only rebooting with CTRL+ALT+DELETE is possible (so linux is still working in background, but without display)
so a new issue. I am using X11 Plasma6 ROME, LG 4k monitor connected to display port on GeForce RTX 4080 (freesync/g-sync on) and has been using open kmod nvidia driver.

PS. I have tried also a closed source version of nvidia-kmod-desktop and the same issue is happening. I am not able to run any text mode (even console mode from grub) currently on my nvidia card. I will create separate topic for that.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.