Remote Desktop Connection for Raspberry PI (xrdp)


On Linux, we can usually run startx to start the desktop. However, this is not supported over SSH because it requires the X-server (Graphics) to run and the SSH connections are usually text-based only.

If you try to run startx remotely using SSH, you will get messages like this.

f18d4a63df7b5648feff968926a8bda8.jpg Remote Desktop Connection for Raspberry PI (xrdp) console linux Raspberry PI Technology tools / utilities tricks ubuntu

However, the process seems to hang until you press Ctrl + C (Signal 2) to exit. The X window does start on remotely, so if you connect monitor to Raspberry PI you will see the X windows does run.

The easy installation of XRDP enables to remote desktop connect to the Raspberry PI. To install xrdp simply run sudo apt-get install xrdp on Raspberry PI. For other linux distribution, command might slightly differs, e.g. sudo yum install xrdp

After xrdp is installed, you can run either sudo /etc/init.d/xrdp restart or sudo service xrdp restart, both produces similar output:

Stopping RDP Session manager : sesman xrdp.
Starting Remote Desktop Protocol server : xrdp sesman.

Now we can invoke the Remote Desktop Connection, e.g. on Windows.

ae6402a520a3c8d0d368d2fbe45ec267.jpg Remote Desktop Connection for Raspberry PI (xrdp) console linux Raspberry PI Technology tools / utilities tricks ubuntu

And, login window shows up:

5524f495f7d9ff24192804f5ef1e0339.jpg Remote Desktop Connection for Raspberry PI (xrdp) console linux Raspberry PI Technology tools / utilities tricks ubuntu

After login, we have the remote desktop, which is like we are directly controlling the Raspberry PI.

9222d62b4976559e5b173498354e7aba.jpg Remote Desktop Connection for Raspberry PI (xrdp) console linux Raspberry PI Technology tools / utilities tricks ubuntu

Such is a lightweight and really easy tool to install for a remote administrative GUI desktop.

Raspberry Pi

–EOF (The Ultimate Computing & Technology Blog) —

GD Star Rating
loading...
453 words
Last Post: Using a external USB cooler fan to drop temperature of Raspberry PI (Model B) from 51 degrees downto 40 degrees for just ten minutes
Next Post: Test SD Card Speed on Raspberry PI

The Permanent URL is: Remote Desktop Connection for Raspberry PI (xrdp)

Leave a Reply