I have a machine running Almalinux. I can remotely connect to it via XRDP (windows client). However, after disconnecting, it's impossible for someone sitting at the machine to login until they reboot the machine.
What could be causing this?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
I had the exact same problem. The cause is the resolution.
If you login at the machine using a resolution, you can only RDP into that session using the same resolution and bit depth. Because the monitor attached to my server is not too big, I don't want to have a small resolution.
In the same way, if you RDP into the server with a preset resolution, you can login locally only with that resolution too.
For me, this essentially meant that xdrp was out of the question, also because I need my user to remain logged in to keep my vm up and running (somehow can't set it to a service).
My solution was to use a VNC server and connect to different sessions that way. I also have a local viewer user that can do TightVNC locally to connect to a session that way (although that is not necessary if you login locally first, and then connect with VNC.