You are not logged in.

#1 2025-03-22 11:12:21

afrostmage
Member
Registered: 2024-09-05
Posts: 23

[SOLVED] tty2 stuck on sddm login screen

Kind of a minor annoyance really, but tty2 is stuck on a non-interactive sddm login screen, where I appear to have entered my password before it hung. I'm not entirely sure how I caused this to happen as it was a while ago and I was just ignoring it for the most part. Interestingly it appears to be an X11 session (I just get the feeling from how the mouse cursor moves). I'm also suspecting nvidia shenanigans.

Anyhow, is there a way to reset it to the normal tty login screen?   

I've tried

 systemctl stop getty@tty2.service 
 /sbin/agetty -8 38400 vc/2 linux  # got this from an ancient post xd  

but it didn't seem to do anything.

My main session is on tty1 and tty3-6 are fine.

Last edited by afrostmage (2025-03-23 15:39:48)

Offline

#2 2025-03-22 13:03:28

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

Re: [SOLVED] tty2 stuck on sddm login screen

SDDM defaults to X11, what kind of session do you start from there?
https://wiki.archlinux.org/title/SDDM#Wayland

Offline

#3 2025-03-22 13:54:40

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

I use plasma on Wayland.

Offline

#4 2025-03-22 14:01:47

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

Re: [SOLVED] tty2 stuck on sddm login screen

See what happens for plasma/X11 resp. SDDM/wayland (ie. align the display servers either direction)

Offline

#5 2025-03-22 14:02:14

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

I tried the systemctl stop command again and now it's just a black screen with the new plasma "x" cursor. lol

Offline

#6 2025-03-22 14:04:02

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

seth wrote:

See what happens for plasma/X11 resp. SDDM/wayland (ie. align the display servers either direction)

I'm sorry if I misunderstood, but I can login into an X11 session without problem.

Offline

#7 2025-03-22 14:06:19

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

Re: [SOLVED] tty2 stuck on sddm login screen

Just to be clear, plasma on wayland doesn't start at all or it starts but switching to TTY shows the froezn SDDM?

So if running DM and DE on X11 works, what about running both on wayland?

Offline

#8 2025-03-22 14:11:26

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

seth wrote:

Just to be clear, plasma on wayland doesn't start at all or it starts but switching to TTY shows the froezn SDDM?

So if running DM and DE on X11 works, what about running both on wayland?

Plasma on wayland starts. Switching to tty2 used to show a frozen sddm, but after running the command again it's now just a black screen with a cursor.  I can login with any other tty, it's just tty2 that has an issue.

Offline

#9 2025-03-22 15:48:32

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

Re: [SOLVED] tty2 stuck on sddm login screen

seth wrote:

what about running both on wayland?

Offline

#10 2025-03-22 16:22:38

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

seth wrote:
seth wrote:

what about running both on wayland?

I'm starting sddm with wayland now and after reboot it defaults to tty2. tty1 is now just a blinking cursor with no interaction. I'm very confused.

Offline

#11 2025-03-22 16:43:37

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

Re: [SOLVED] tty2 stuck on sddm login screen

w/ the original situation it stands to reason that you've been starting SDDM on TTY2 all along, for whatever reason.
MinimumVT seems ignored these days, https://wiki.archlinux.org/title/SDDM#S … ad_of_tty7
But I assume some other process is blocking TTY1? At least during the startup?

Offline

#12 2025-03-22 17:02:06

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

I tried rebooting again then switching to tty1 before I logged in,  and it worked? but then when I switched to tty2 and back to tty1, its now back to a black screen with a blinking cursor. Could this issue be with plasma somehow? Also, when I switched to tty7 I got back to the DE that I logged into with tty1?

Last edited by afrostmage (2025-03-22 17:04:25)

Offline

#13 2025-03-22 21:42:08

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

Re: [SOLVED] tty2 stuck on sddm login screen

Instead of switching TTYs (which might show you stale framebuffers) what's the output of "ps aux | grep tty"?

Offline

#14 2025-03-23 00:05:07

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

 ps aux | grep tty 

outputs

 
user       855  1.4  0.1 229116 43896 tty2     Ssl+ 04:00   0:00 /usr/bin/startplasma-wayland
user      2210 20.8  0.4 2779500 156572 ?      Ssl  04:01   0:00 /usr/bin/ghostty
user      2264  0.0  0.0   6600  4064 pts/1    S+   04:01   0:00 grep --color=auto tty 

Offline

#15 2025-03-23 06:42:19

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

Re: [SOLVED] tty2 stuck on sddm login screen

So plasma runs on tty2 and nothing runs on tty1 (it was probably used by sddm resp. its greeter but stopped)
I assume when you logout you'll find some sddm-related process on tty1 which is why nothing else must spawn there?

Offline

#16 2025-03-23 07:27:14

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: [SOLVED] tty2 stuck on sddm login screen

This is actually how SDDM always behaves and always has behaved on my machine, ever since the VT specification stopped working. TTY1 shows the boot process with a blinking cursor. On shutdown, the system reverts to this and the process there continues or another process takes over. SDDM is always on TTY2. TTYs 3-6 are console. TTY7 no longer exists.

I assumed this was normal behaviour ....


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#17 2025-03-23 14:08:42

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

seth wrote:

So plasma runs on tty2 and nothing runs on tty1 (it was probably used by sddm resp. its greeter but stopped)
I assume when you logout you'll find some sddm-related process on tty1 which is why nothing else must spawn there?

After logging out to the sddm greeter it appears I'm back to tty1. I switched to tty2 and ran

ps aux | grep sddm

which outputted

root         586  0.0  0.0 155876 29112 ?        Ssl  17:33   0:00 /usr/bin/sddm
root        4726  0.0  0.0  76112 28736 ?        S    17:56   0:00 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-3367cc10-a65a-457f-8e98-e2223516edbb --id 4 --start /usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--ZTXtLo --theme /usr/share/sddm/themes/Andromeda-plasma-6 --user sddm --display-server kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --greeter
sddm        4731  0.1  0.0  20248 11720 ?        Ss   17:56   0:00 /usr/lib/systemd/systemd --user
sddm        4733  0.0  0.0  22496  3864 ?        S    17:56   0:00 (sd-pam)
sddm        4743  0.0  0.0  57952 17184 tty1     Ss+  17:56   0:00 /usr/lib/sddm/sddm-helper-start-wayland kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 /usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--ZTXtLo --theme /usr/share/sddm/themes/Andromeda-plasma-6
sddm        4746  1.0  1.0 1569200 339652 tty1   Sl+  17:56   0:01 /usr/bin/kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
sddm        4749  0.8  1.3 2413824 444144 tty1   Sl+  17:56   0:01 /usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--ZTXtLo --theme /usr/share/sddm/themes/Andromeda-plasma-6
sddm        4750  0.0  0.0   8008  3684 ?        Ss   17:56   0:00 /usr/bin/dbus-broker-launch --scope user
sddm        4751  0.0  0.0   4272  2560 ?        S    17:56   0:00 dbus-broker --log 4 --controller 10 --machine-id 15a2e22f4a484d5d84876a6252f45baf --max-bytes 100000000000000 --max-fds 25000000000000 --max-matches 5000000000
sddm        4776  0.0  0.0 100136 11840 ?        S<sl 17:56   0:00 /usr/bin/pipewire
sddm        4777  0.5  0.0 477736 20924 ?        S<sl 17:56   0:00 /usr/bin/wireplumber
sddm        4829  0.0  0.0 305948  7428 ?        Ssl  17:56   0:00 /usr/lib/xdg-permission-store
user      5091  0.0  0.0   6468  3972 tty2     S+   17:58   0:00 grep --color=auto sddm

So I think you were right?

cfr wrote:

This is actually how SDDM always behaves and always has behaved on my machine, ever since the VT specification stopped working. TTY1 shows the boot process with a blinking cursor. On shutdown, the system reverts to this and the process there continues or another process takes over. SDDM is always on TTY2. TTYs 3-6 are console. TTY7 no longer exists.

I assumed this was normal behaviour ....

Thank you for confirming! at least I don't have to worry that I accidentally messed something up smile

Offline

#18 2025-03-23 15:18:13

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

Re: [SOLVED] tty2 stuck on sddm login screen

iirc SDDM/X11 would re-use X11 server (and TTY) w/ X11 session, so that's maybe the cause of some confusion.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#19 2025-03-23 15:40:10

afrostmage
Member
Registered: 2024-09-05
Posts: 23

Re: [SOLVED] tty2 stuck on sddm login screen

Done! Thank you so much for your help with this.

Offline

#20 2025-03-23 16:02:46

tekstryder
Member
Registered: 2013-02-14
Posts: 518

Re: [SOLVED] tty2 stuck on sddm login screen

cfr wrote:

TTY1 shows the boot process with a blinking cursor. On shutdown, the system reverts to this and the process there continues or another process takes over. SDDM is always on TTY2. TTYs 3-6 are console. TTY7 no longer exists.

FTR, this is how it all works with GDM as well. For a long while now.

Offline

Board footer

Powered by FluxBB