Change SSH TTY session type to X11 at console?
I have a Debian 12 VM that and when I boot it remotely the user session is a TTY, can I have it launch an X11 session at the console end?
Attempt A
• KDE is installed
• I have selected plasma-x11 as my default session
manager
• I have changed the default display manager to sddm
but my user keeps login into a TTY session. How can I solve it?
Attempt B
• I have tried starting the display-manager.service
but it started lightdm instead of sddm even though I set x-session-manager to /usr/bin/startplasma-x11, and the session is still type=tty.
Attempt C
• I have manually started sddm
• I have tried startx, startplasma-x11 and startkde, but to no avail.
As a result, an x11 session has been started for the sddm user instead of changing my user's session to X11.
When I have a regular X11 session, it's my user's session, not the session for the display manager user.
Attempt D
• I have tried startX with root privileges and detaching it, so it doesn't block the terminal.
but it doesn't work.