Posts by mike (1)

Connecting to Linux via RDP

<p>This instruction is covering the process how Windows machine user is able to connect to rented ubuntu linux machine using standard RDP client (build in windows) and ssh (windows component) without additional 3rd party software.</p> <p><h4><font color="#28a4c9">SSH Connection</font></h4></p> <h6><font color="#b4eeff">Install SSH client for Windows 10/11 (skip this step if you are able to run ssh in terminal):</font></h6> <p>Click Start choose Settings</p> <p>Choose Apps from Windows Settings</p> <p>Click “Optional features“</p> <p>Click “Add a feature“</p> <p>Choose “OpenSSH Client” and click the Install button</p> <img src="/static/rdp_manual/0.png" width="601" height="467" alt="win_app"> <br> <br> <h6><p><font color="#b4eeff">Open ssh connection to rented server</font></p></h6> <p>On your windows machine press WINDOWS+R, it should open RUN window (WINDOWS is a key in between ALT and SPACE usually)</p> <p>In Run window type "cmd" and press ENTER. You should see terminal window after that.</p> <p>In terminal window type:</p> <code>ssh 37.112.249.182 -l user -L 3333:localhost:3389 -p XXXX</code> <br> <br> <img src="/static/rdp_manual/1.png" width="738" height="168" alt="win_cmd"> <br> <br> <p>where XXXX - is a port number that will be provided in connection details on <a href="https://gpurental.com/myrentals"><b>https://gpurental.com/myrentals</b></a> page after "-p" flag</p> <p>System should ask you for a password, then you will get ssh access to rented server with rented server RDP port available on your local machine. You will only need to install xRDP server on rented server.</p> <p><h4><font color="#28a4c9">Install xRDP server on rented server</font></h4></p> <p>After you logged in using ssh, in terminal window type line by line ensuring there is no error during execution:</p> <p><code>wget https://www.c-nergy.be/downloads/xRDP/xrdp-installer-1.2.3.zip</code></p> <p><code>unzip xrdp-installer-1.2.3.zip</code></p> <p><code>chmod +x xrdp-installer-1.2.3.sh</code></p> <p><code>./xrdp-installer-1.2.3.sh</code></p> <img src="/static/rdp_manual/2.png" width="738" height="379" alt="win_cmd"> <br> <br> <p>System will ask your password and install xRDP server ending with message "Installation Completed"</p> <img src="/static/rdp_manual/3.png" width="736" height="742" alt="win_cmd"> <br> <br> <p><h4><font color="#28a4c9">xRDP connection</font></h4></p> <p>On your windows machine type WINDOWS+R, you will see RUN window</p> <p>In Run window type: <code>mstsc</code>, you will see Remote Desktop Connection window</p> <p>Set host name as: <code>localhost:3333</code></p> <p>Click on "Show options" button</p> <p>Enter User name = <code>user</code></p> <p>Click Connect</p> <p>System will ask you login (user), password (from <a href="https://gpurental.com/myrentals"><b>https://gpurental.com/myrentals</b></a> page), also you need to accept the certificate. After that you should be able to see your Ubuntu desktop. </p> <br> <img src="/static/rdp_manual/4.png" width="408" height="474" alt="win_cmd">

1