martedì 21 gennaio 2025

Red Hat xrdp machine login screen freeze after writing the password

I've encountered and issue while connecting from a Windows Server 2014 to a remote machine (VM) using XRDP through Windows Remote Desktop.

Everything was working fine. After some time the VM entered in standby mode, and when I attempted to reconnect, I was stuck at login screen and I was unable to perform any operation beside changing the value of the volume and show/hide the password. The message below the form of the password was Sorry, that didn't work. Please try again.

I tried logging in the VM as a different user, and it worked. After some investigation I've noticed that my original user session was still alive. Since I didn't have root privileges, I couldn't force log out of my original user.

Searching online I've found:

https://github.com/neutrinolabs/xrdp/issues/1795

https://superuser.com/questions/1264096/xrdp-rejecting-login


From these sources I learned that the color depth setting in Windows Remote Desktop could be causing the problem. So why don't give it a try.


Steps:

1. In the Windows Remote Desktop change the color depth from 32-bit to 15-bit.

2. Connect to the VM.

3. Log in. However I was not able to open any application beside the terminal.

4. Run the command pkill -u your_user_name

5. Log back in.

6. All fine. You can also connect again with 32-bit.

Nessun commento:

Posta un commento

Red Hat xrdp machine login screen freeze after writing the password

I've encountered and issue while connecting from a Windows Server 2014  to a remote machine (VM) using XRDP  through Windows Remote Desk...