One of my friends had the very same error which he resolved by following the steps on this page.
Apparently there is a/are defect(s) which prevent xrdp working with the vncserver. However it works with tightvncserver
Also the order of installation of tightvncserver and xrdp seems to be important.
remove the following packages : xrdp, ...
Ok so I've done some more digging and several more hours of experimenting, and here's a more thorough answer, including info on how to get xrdp remote sessions to have the nice mouse cursor again instead of the big "X".
It appears to me that Raspberry Pi 3 is the first Pi to come pre-installed with RealVNC, and RealVNC interferes with xrdp,...
Try install TightVNC Server on Raspberry Pi:
sudo apt-get install tightvncserver
Run it every time or add it to startup:
You will need a TightVNC Client on your Windows PC o Android Phone.
These two options have been confirmed to work on the RPi: rdesktop and freerdp. These should both work on Raspbian, from within xwin (use startx to get there). You can install either from the terminal prompt using default installer (aptitude).
Install rdesktop with this command:
sudo apt-get install rdesktop
Run like this:
Seems like the real answer lies in the Raspbmc FAQ:
Q: Can I run a VNC server on Raspbmc?
A: No. VNC relies on the X11 window system, but Raspbmc’s XBMC implementation is rendered in the framebuffer only. Thus VNC cannot be used as there is no X-session available for connection.
RDP, just like VNC, relies on the X11 window system—the same ...
Found the answer a while back through superuser.com. It was due to the firewall which I disabled using:
systemctl stop firewalld.service
Also of interest: https://superuser.com/questions/634628/is-there-a-script-to-add-port-forwarding-rule-in-home-...
Sets the colour depth for the connection (8, 15, 16 or 24). More than 8 bpp are only supported when connecting to Windows XP (up to 16 bpp) or newer. Note that the colour depth may also be limited by the server configuration. The default value is the depth of the root window.
It seems that the server you're using is not offering any other depths ...
You can login to your Raspbmc using ssh. Once logged in install XRDP (Or any other of the RDP solutions Remmina, rDesktop) All ways to install these are in the other question you mentioned.
How to install XRDP
Run the following command once your logged into your Raspberry Pi over SSH.
sudo apt-get install xrdp
How to make it run at boot.
Following is from ...
I tried the Raspberry Pi Thin Client project on a Raspberry Pi 2 on a screen with a resolution of 2560 x 1440 pixels. Was a little bit slow on building the screen but much better than installing it under Raspbian.
First of all: very good explained question. But it is a sophisticated setup. And just to answer your question: yes, it is needed to setup special static routes on several devices.
But it is very difficult to give advices remotely. I would need access to the network to try setup and look how it works step by step, the usual way to do the work of a network ...
I'm reading this as you want to use your RPi as an RDP client to connect to a remote Windows computer. If this is the case, try installing the remmina package. I've used it as an RDP client to Windows machines, and it works very well.
You can do this with the RealVNC server which is installed by default in Raspbian. You simply enable it from the Raspberry Pi Configuration app, and you should see the VNC icon appear in the top right to show it's running.
If you click on this icon, go to Options > Troubleshooting and enable "experimental direct capture mode", this will allow you to capture ...
Not understanding how X works.
X is made up of many many components.
For Example -
the Window Manager manages window decorations, placements etc.
the X Server, which everything sits on top of
You can actually start the X server with no desktop environment, no window manager, and all you get is a grey screen ...
I didn't use the VNC server.
Let's check these things before I explain.
In the raspi-config is the hostname set for the network?
For XRDP working with Remote Desktop Connection, for the username you want to put in the Pi's LOCAL ip address. (Eg: 192.168.1.24)
To find out the local IP address you can do (in terminal) ipconfig or ifconfig (I don't ...
Try installing x11vnc daemon on the raspberry pi.
Then run the command :
x11vnc -display :0 -usepw -noxdamage -ncache 10 -ncache_cr
Then you'll be able to connect to the active session from your computer.
The only solution I'm aware of that lets you connect to the same session that is on a local screen is X11VNC, "a VNC server for real X displays". What you'll need is X11VNC on the Pi and some form of VNC client on your remote device.
sudo apt-get update
sudo apt-get install x11vnc
Set a password (you can skip it but probably don't ...
Just noticed that I never had this answered. Turns out it's pretty simple. Just need to connect Android to USB, enable USB Tethering in Android (Settings --> More Networks --> Tethering and Postable Hotspot --> USB Tethering).
Then, on the pi:
sudo nano /etc/network/interfaces
Add the following line at the bottom:
iface usb0 inet dhcp
Save and exit, ...