Remote Desktop Connection (RDP, not VNC) From Ubuntu Laptop to Ubuntu Cloud Server

sudo apt install ubuntu-desktopsudo apt install xrdp
sudo service xrdp status
Dec 28 14:31:50 ishar xrdp[3397067]: (3397067)(140393615636288)[DEBUG] Closed socket 7 (AF_INET 127.0.0.1:3389)
Dec 28 14:31:50 ishar systemd[1]: xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted
...
Dec 28 14:31:51 ishar systemd[1]: Started xrdp daemon.
Dec 28 14:31:52 ishar xrdp[3397068]: (3397068)(140393615636288)[INFO ] starting xrdp with pid 3397068
Dec 28 14:31:52 ishar xrdp[3397068]: (3397068)(140393615636288)[INFO ] address [127.0.0.1] port [3389] mode 4
Dec 28 14:31:52 ishar xrdp[3397068]: (3397068)(140393615636288)[INFO ] listening to port 3389 on 127.0.0.1
Dec 28 14:31:52 ishar xrdp[3397068]: (3397068)(140393615636288)[INFO ] xrdp_listen_pp done
$ telnet localhost 3389Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
port=tcp://127.0.0.1:3389
$ ssh user@<remoteserver> -L 127.0.0.1:33000:127.0.0.1:3389
haries@thinkpad-x1:~/.ssh$ telnet localhost 33000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
  • Put any Name
  • set the protocol to RDP
  • For server address we will connect to our localhost port 33000
  • Resolution custom, click the […] to add desired resolution. I would suggest 720p for the balance between details and speed. If you don’t do this step, the default resolution will be 640x480.
  • Color depth 16bpp is enough and chosen for speed reason
  • Click save

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Introduction

Hackathons 101 — and why you should consider going to one

Download Winzip For Mac 10.6.8

Improving your logs management solution

Suberra Public Testnet V2 Launch

How to send beautiful HTML emails with Laravel using Beauty mail

Aito and Parabola make your computer work for you

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
haRies Efrika

haRies Efrika

More from Medium

Don’t Tread On Me      Liberty or death, what we so proudly hail  Once you provoke her, rattling…

Daily Wats’on The News of Aducanumab & Alzheimer’s by Professor Lawrence Rajendran Issue 5

Is Brooklyn’s Grand Street Bike Lane a safe connector between Manhattan and Queens?

Why You Shouldn’t be Results Oriented