Powershell
Posts: 44
Joined: Fri Apr 08, 2016 10:24 am

XRDP and Desktop

Sun Mar 19, 2017 1:03 pm

Hello everybody!

Would you suggest a solution for the following:

I use my Pi 3 as a headless mini-server. Mostly without a monitor, but sometimes with. On boot, I made it launch Firefox, Hexchat etc.

Whats the best way to get same one display session - when connected to a monitor, and interchangeably via VNC (I use XRDP from Windows)?
I know it has something to do with X' Display settings, please lead me in a right direction.

Thanks!

fruitoftheloom
Posts: 23549
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: XRDP and Desktop

Sun Mar 19, 2017 1:26 pm

Powershell wrote:Hello everybody!

Would you suggest a solution for the following:

I use my Pi 3 as a headless mini-server. Mostly without a monitor, but sometimes with. On boot, I made it launch Firefox, Hexchat etc.

Whats the best way to get same one display session - when connected to a monitor, and interchangeably via VNC (I use XRDP from Windows)?
I know it has something to do with X' Display settings, please lead me in a right direction.

Thanks!
IF you are Running Raspbian Jessie with Pixel DE, you will need to remove all of RealVNC and install x11vnc server

Code: Select all

sudo apt-get update
sudo apt-get install x11vnc
x11vnc allows one to view remotely and interact with real X displays (i.e. a display corresponding to a physical monitor, keyboard, and mouse) with any VNC viewer.

http://www.karlrunge.com/x11vnc/
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: XRDP and Desktop

Sun Mar 19, 2017 2:32 pm

The easiest way is to use RealVNC which is pre installed in Raspbian Jessie Pixel

Some advantages of RVNC over RDP:
- Data encryption
- Copy & Paste works
- The actual desktop session is mirrored
- Auto reconnect on RPi reboot
- User and password can be saved in view app for one click access.
- Simple file transfer tool

Some minor disadvantages:
- Boot to desktop (GUI) must be enabled
- If running without a monitor attached then force HDMI and resolution mode must be configured in /boot/config.txt

Also note that the RealVNC viewer must be used on remote computer:
https://www.realvnc.com/download/viewer/
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Return to “Beginners”