RDP issues in RL10

Hi Guys,
I’ve been struggling with configuring an RDP connection with RL10. ( using MobaXterm )
With RL9 I had no issues cause I just installed xrdp, but in this case RDP is already the default.
Here are some prints on my settings. I have not issues connecting via SSH.

Thank you.
Pedro Santos

Perhaps firewalld is blocking the port:

firewall-cmd --add-port=3389/tcp
firewall-cmd --runtime-to-permanent

An alternative instead of the port is:

firewall-cmd --add-service=rdp
firewall-cmd --runtime-to-permanent
1 Like

Thank you for your reply Iwalker.
Port 3389 and 3390 are open, rdp service also added.
But still, I can connect via SSH and desktop sharing ( only with port 3389)
desktop sharing with port 3390, (which is the port in use when remote login is active) also give me wrong pass.
The Remote Login it always give me wrong password ( with 3389 or 3390)

image

For completeness, can you confirm that xrdp is running and listening:

sudo systemctl status xrdp
sudo netstat -tulpn | grep xrdp

Tony

1 Like

Just in case net-tools package isn’t installed, which provides netstat, the newer tool would be:

ss -tunlp

so we can then see if port 3389 is listening on the IP of the server or 0.0.0.0 instead of just localhost.


this is the current status.
I don’t have xrdp because I believe it is not needed with RL10 and the Desktop Sharing option it is working.

Full disclosure: This is the result of a Google search for xrdp in RedHat 10:

To use xrdp in Red Hat 10, you’ll need to install and configure it, potentially alongside a desktop environment if one isn’t already present. Red Hat 10 utilizes Wayland, and while RDP support is built into the GNOME desktop, you’ll likely need to install xrdp and xorgxrdp packages for a more complete and reliable experience. Make sure to open the necessary firewall port (3389) and potentially configure SELinux if it’s enabled.

1 Like

Haven’t used Gnome RDP myself but the RHEL docs makes it seem fairly straightforward, see link below.

I would troubleshoot by doing this:

  • Try using Gnome Connections as a client instead of MobaXterm.
  • Try using a very simple password the keyboard settings can’t mangle, like “abcde12345”.

In 1.2 it says

By activating Remote Login in GNOME, you can allow remote clients to log in to the GNOME session as the Linux users on your system.

Note where it says “as the Linux users”

Then in 1.2.8 it says

Set a user name and a password in the Login Details section. Remote clients must enter these credentials when connecting to this system’s login screen from a remote client.

Why would a remote user enter “these credentials” instead of their linux user credentials? Does it mean you have to enter two sets of credentials?

Who (or what) is acting as the server here; is it built-in to gnome-remote-desktop?

Most likely. Also the Gnome one only works if the session is already logged in. If you reboot the computer, you’ll no longer be able to connect.

I haven’t used Gnome Remote Desktop before (I use ThinLinc on RL8/9/10, free for home use) so I activated Remote Login on a test machine and did some quick testing. Got an error when I tried connecting, rebooted the destination machine, connected successfully after that.

The credentials are used to connect to the remote desktop. Once the connection is established, you are presented with a normal Gnome login screen and can log in with a Linux user (if you activated “Remote Login”).

The “server” is Gnome Remote Desktop, nothing has to be installed, only activated.

“Desktop Sharing” requires a running user session to connect to, I guess it would be used for remote support. If you activate “Remote Login” you can connect to a machine where no one is logged in.

I am connecting with mobaxterm with windows.

I was thinking of having both “Desktop Sharing” and “remote Login” with the same credentials but different ports. So after a reboot I connect via “remote Login” and after that I can connect with “Desktop Sharing”. Both when I have both options active I cannot connect to either of them.

XRDP is suppose not to be needed and it was removed from the RL10 default repo.
Do you know which repo I can use to install it? ( with rl9 i had no issues)

Did you try what @sspencerwire suggested? RDP apparently doesn’t work with wayland.

I’ve been trying to install xrdp and xorgxrdp but have been found some issues.
looks like xrdp is not a part of rl10: RL10 Unable to find a match: xrdp - Rocky Linux Help & Support - Rocky Linux Forum

Why? If you use Remote Login to start a new session, you wouldn’t need to use Desktop Sharing, you can just reconnect to the existing Remote Login session.

Don’t know. As I wrote earlier, I use ThinLinc.

Did you mean that XRDP doesn’t work with Wayland?

I don’t know for sure, but the clue is in the name 'X’rdp