I've read many and many threads about Raspberry and xrdp but each time it seems people had a screen display connected to their raspeberry.

It is not my case : I've installed Raspian to the mirco SD card, then add 2 files to enable SSH and configure the WiFi. Then I connect through SSH.

I've installed xdrp, vnc4server, tightvncserver And I always get the following message :

connecting to sesman ip port 3350
sesman connect ok
sending login info to session manager, please wait ...
login failed for display 0

Is xrdp only available if a display is connected to the raspeberry ?


All of these programs mirror a display.

This can be the screen or a virtual screen.

https://raspberrypi.stackexchange.com/a/93372/8697 shows hot to create a virtual screen.

See also the Foundation tutorial

The Pi does not need to have a physical screen - if you boot to the GUI and set a default resolution it can be used without.

You can specify size on the command line, or by setting the default resolution in raspi-config.

I have not tried xrpd.

| improve this answer | |
  • Hi, I've set boot on GUI but how can I set resolution and create virtual display ? – Bm28 Jul 27 '19 at 20:43

This worked for me: You can add to


the line

allowed_users = anybody

| improve this answer | |
  • How does this answer the question: "Is xrdp only available if a display is connected to the raspeberry ?" – Ingo Jun 20 at 19:12

I had the same problem ... I was trying to connect with another account. It only worked when I logged in using credentials User: pi Password: raspberry (if you not change the default password)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.