Unable to switch between graphical session and tty

Hello everyone

I am using Wayland Plasma and tried to switch to tty during graphical session. When i press Ctrl+alt+f (x - <4,7> because 1-3 is taken by init, sddm login screen and graphical session) GUI freezes and completely nothing happens. When i press Ctrl-alt-f3 as i would normally return to GUI session it unfreezes.

I tried to switch on x11 session and it behaves slightly different but result is the same: screen goes black (GPU is not sending any signal) and when i press Ctrl-alt-f3 it goes back to GUI session and everything is fine.

What might cause this problem? How to solve it?

Hello @Silvehr ,
Some partial info:

w # shows sessions when you are in a console
chvt 2 # returns to session tty2 as an example

In other cases CTRL+ALT+F7 seems to resume the graphical session.

w and who both show who’s logged in. Sometimes who is more practical because it shows the tty number:

$ LANG=C w
 22:49:16 up  4:59,  2 users,  load average: 0,52, 0,84, 0,97
USER     TTY       LOGIN@   IDLE   JCPU   PCPU  WHAT
matthias tty2      22:45    3:08   0.05s  0.05s -bash
matthias           17:49           0.00s  0.06s lightdm --session-child 13 20
$ who
matthias tty7         2025-09-12 17:49 (:0)
matthias tty2         2025-09-12 22:45

chvt only works when already working in a virtual terminal, it does not work in a terminal within the DE. Example, called from GNOME Terminal:

$ LANG=C chvt 2
chvt: Couldn't activate vt 2: Operation not permitted

(You’d have to use Ctrl+Alt+F2 to switch from the DE to the VT tty2.)

Nowadays, most DEs run their GUI on tty7 (Ctrl+Alt+F7).