# RaspberryPi OS Bullseye and xrdp not working

**URL:** <https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796>\
**Category:** General\
**Created:** [17 January 2022 12:38 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796 "2022-01-17T12:38:55Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [17 January 2022 12:38 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/1 "2022-01-17T12:38:55Z")

</div>

I am trying to set up a new Raspi with Bullseye. Unfortunately xrdp is not working. Does anybody have the same problem and eventually a solution?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 January 2022 13:01 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/2 "2022-01-17T13:01:27Z")

</div>

In what way does this have anything to do with Node-RED?

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [17 January 2022 14:59 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/3 "2022-01-17T14:59:18Z")

</div>

yes, it has to do something with node-red as I am editing my node-red flows using my Windows PC and xrdp. I suppose, that I am not the only one doing it this way.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 January 2022 15:03 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/4 "2022-01-17T15:03:20Z")

</div>

> [@juntiedt](#):
>
> I suppose, that I am not the only one doing it this way.

no, but then, there is no need to do that. You can simply access the remote node-red via a browser...

`http://<ip-of-node-red-server>:1880`

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [17 January 2022 15:06 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/5 "2022-01-17T15:06:07Z")

</div>

you are right!  
What I meant is installing and update node-red and editing node-red related files. This is much easier with xrdp than with a direct connection to the Raspi. Especially with 10 Raspi which I want to manage.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 January 2022 15:16 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/6 "2022-01-17T15:16:59Z")

</div>

I have had mixed results with xrdp over the years and tend to just use VNC.

Is VNC not an option?

If not, then I suggest you have a look at raspberry pi forums - they will likely know the reason or be better equipped to help.

* * *

Personally, i just use SSH (terminal) and `mc` for those times when I cant remember how to chmod or want to edit a file.

![WindowsTerminal_hhRvalR3xS](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/b/7bd9358883327cd4e31ee03a425e022a007205ff.gif)

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [17 January 2022 15:22 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/7 "2022-01-17T15:22:30Z")

</div>

That looks very good. I will give it a try.  
Thanks

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 January 2022 17:19 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/8 "2022-01-17T17:19:08Z")

</div>

> [@juntiedt](#):
>
> yes, it has to do something with node-red as I am editing my node-red flows using my Windows PC and xrdp. I suppose, that I am not the only one doing it this way.

No, it is a raspberry pi config and apps question.

Node-RED has a web-based Editor and doesn't require remote desktop access. Running remote desktop on most Pi's slows them to a crawl when used along side a healthy set of services.

---

<div class="post-metadata">

**Author:** ![mickym2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mickym2/32/36128_2.png) [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Post date:** [17 January 2022 17:55 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/9 "2022-01-17T17:55:27Z")

</div>

I guess I solved that - you need to create an additional user to get an RDP session - now it works fine for me. 😉 You cannot use pi - as this user probably is already logged on, on your raspberry desktop.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/0/30f245553e2f4c4df2fb2ba3e458583253112175.jpeg)

However I use the Webinterface to edit my NodeRed flows - is much faster as on the Raspberry. 😉

If you create a new user, you have to add the new user-id in the sudoers etc .to have the same rights as the pi user.

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [18 January 2022 16:47 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/10 "2022-01-18T16:47:35Z")

</div>

looks very good!

I am not very familiar with unix.  
Which commands do I need to add a new user with the same rights as pi?

PS: I of course use google chrome on my PC to edit my flows. I was putting it wrong in my former post.

---

<div class="post-metadata">

**Author:** ![mickym2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mickym2/32/36128_2.png) [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Post date:** [18 January 2022 17:08 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/11 "2022-01-18T17:08:45Z")

</div>

I am also not a power user in unix, so I had to Google as well.  
But I think, you can google as well. So [addusers](https://linuxize.com/post/how-to-create-users-in-linux-using-the-useradd-command/#creating-a-user-with-specific-home-directory) and a user to [sudoers](https://linuxize.com/post/how-to-add-user-to-sudoers-in-ubuntu/) or looking to which groups pi and [add the new user to the same groups](https://linuxize.com/post/how-to-add-user-to-group-in-linux/) should be possible. I managed that - and I am sure you will be able to do this as well.

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [19 January 2022 14:39 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/12 "2022-01-19T14:39:14Z")

</div>

I successfully got access to my Raspi with xrdp useing a different user! Many thanks for the tip  
Still have to find a way to add it to sudoers.  
This link should possibly help.  
Great Web-Site: [Raspi Support](https://raspberrytips.com/change-raspberry-pi-username/)

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [19 January 2022 14:42 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/13 "2022-01-19T14:42:38Z")

</div>

I totally forgot MC. Great tool.  
Many thanks for the tip.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 January 2022 14:44 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/14 "2022-01-19T14:44:43Z")

</div>

did you install it?

It is my go-to LONG before RDP/VNC.

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [19 January 2022 14:47 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/15 "2022-01-19T14:47:46Z")

</div>

yes I did. Like it. Very helpfull!  
I used it long time ago and then forgot it 😉

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [20 February 2022 16:07 UTC](https://discourse.nodered.org/t/raspberrypi-os-bullseye-and-xrdp-not-working/56796/16 "2022-02-20T16:07:56Z")

</div>

this helped me with xrdp! 👍 🙂

 ![bullseye-xrdp](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/8/28642241e66615e8b9141b4c46860ca90e5a95fe.jpeg)
