Skip to Content
SAP HANA

Using Remote Desktop Connection (RDP) to connect to SLES11 SP2

Tags:

"Why?" might be your first thought and quickly followed by "But I use VNC for Linux". That is correct, but many IT departments have no VNC Client in their standard software portfolio. For this reason I have written this document to show you how to configure the SAP HANA server to allow connections via the Remote Desktop Connection (RDP) protocol. This setup is a 100% SAP HANA server-side configuration, so the IT departments doesn't need to change their policy on the VNC Client software.

As of SLES11 SP2 for SAP the package xrdp is shipped. For the installation and configuration perform the following steps:

  • Installation xrdp package
  • Configuring the Firewall to allow RDP
  • Start xrdp during boot

Installation xrdp package

The xrdp package is shipped with SLES11 SP2 for SAP, so it can be installed from the installation DVD. No extra software download is needed.

  1. Start the YaST2 Control Center by selecting Menu => System => YaST
    SetupXRDP_for_HANA001.png
  2. In the YaST2 Control Center filter on soft to find the Software Management tool and start it by selecting it.

    SetupXRDP_for_HANA002.png

  3. In the Software Management tool search for xrdp. When found xrdp will show up on the right hand side. Select it with a right mouse click and from the context menu select the install option.

SetupXRDP_for_HANA003.png

  1. In the pop-up windows Changed Packages select Continue to install the dependencies packages.

    SetupXRDP_for_HANA005.png
  2. Click Continue in the Unsupported Packages pop-up window.

    SetupXRDP_for_HANA006.png
  3. During the installation a nice progress bar is shown. When the installation is finished you will return to the YaST2 Control Center main menu.

    SetupXRDP_for_HANA007.png


Configuring the Firewall to allow RDP

If SLES11 firewall is setup, then SLES11 will block the RDP protocol, so we need to configure the SLES11 Firewall to allow the RDP protocol.

  1. Start the YaST2 Control Center by selecting Menu => System => YaST
  2. In the YaST2 Control Center filter on fire to find the Firewall tool and start it by selecting it.

    SetupXRDP_for_HANA009.png
  3. In the Firewall tool select Allowed Services. In the Service to Allow drop-down menu select Remote Desktop Protocol. On the right hand side select the Add button.

    SetupXRDP_for_HANA010.png
  4. Under Allowed Services theRemote Desktop Protocol is shown. Press the Next button.

    SetupXRDP_for_HANA012.png
  5. Check your setting in the Firewall Configuration: Summery and if everything is correct press the Finish button.

    SetupXRDP_for_HANA013.png

Start xrdp during boot

By default xrdp isn't started during a system boot. In the following section I will show you how to start xrdp during the system boot.

  1. Start the YaST2 Control Center by selecting Menu => System => YaST
  2. In the YaST2 Control Center filter on run to find the System Services (Runlevel) tool and start it by selecting it.

    SetupXRDP_for_HANA014.png

  3. In the System Service (Runlevel): Services window select xrdp and press the Enable button followed by the OK button.

    SetupXRDP_for_HANA015.png

  4. In the xrdp start returned 0 (succes) pop-up window press the OK button.

    SetupXRDP_for_HANA016.png

  5. In the System Service (Runlevel): Services window xrdp show up as started and also will be stared on every next system boot.

    SetupXRDP_for_HANA017.png

Now that the xrdp service is started a Microsoft Windows system can connect to the SAP HANA server using the Remote Desktop Protocol (RDP). Below a few Windows screenshots. Opening an RDP connection using Windows 7 and mstsc.exe.

SetupXRDP_for_HANA021.png

Login to the SAP HANA server.

SetupXRDP_for_HANA022.png

Working with SLES11 SP2 for SAP using a Windows 7 laptop with the RDP protocol.

SetupXRDP_for_HANA023.png

I hope you enjoyed reading this blog and it helps you to make your life with SAP HANA on SUSE SLES11 easier. If you have any questions or remarks please let me know.


For the Linux guru's who are still be asking "Why?" ... just to see if it was possible to get it working.


Disclaimer: No Windows were shattered and no command lines abused during the setup of RDP for SLES11 Linux.