Windows RDP to OpenSUSE Server

Share this post on:

To establish a remote desktop connection from a Windows machine to an OpenSUSE system using RDP, you need to configure both the client (Windows) and the server (OpenSUSE). On the OpenSUSE side, you’ll likely need to install and configure an RDP server like xrdp, and on the Windows side, you’ll use the built-in Remote Desktop Connection client. 

Steps on the OpenSUSE side (Server):

  1. 1. Install xrdp:.Opens in new tabOpen a terminal and use sudo zypper install xrdp to install the xrdp package. 
  2. 2. Enable and start xrdp:.Opens in new tabUse sudo systemctl enable xrdp and sudo systemctl start xrdp to enable and start the xrdp service. 
  3. 3. Configure the firewall:.Opens in new tabOpenSUSE’s firewall needs to allow RDP connections. You can use YaST (System > Security and Users > Firewall) or command-line tools to add a rule to allow traffic on port 3389. For example: sudo firewall-cmd --zone=public --add-port=3389/tcp --permanent
  4. 4. Optional: Enable session management:.Opens in new tabIf you want multiple users to be able to connect and have their sessions persist, enable session management in YaST under Network Services -> Remote Administration (VNC). 

Steps on the Windows side (Client):

  1. Open Remote Desktop Connection: Search for “Remote Desktop Connection” in the Windows search bar and launch it.
  2. Enter the OpenSUSE machine’s IP address: Type the IP address of your OpenSUSE machine into the “Computer” field.
  3. Connect: Click “Connect” and enter your OpenSUSE username and password when prompted. 

Important considerations:

  • Firewall:.Opens in new tabEnsure your firewall on both machines allows the connection on the RDP port (3389).
  • Color Depth:.Opens in new tabFor optimal performance, especially with slower connections, consider setting the color depth to 16-bit or 24-bit in the RDP connection settings.
  • Alternative Clients:.Opens in new tabWhile RDP is natively supported on Windows, Linux clients like Remmina or Vinagre can also be used to connect to the xrdp server on OpenSUSE. 

Share this post on:

Leave a Reply