vincentvo
vincentvo

Reputation: 51

Docker: Setting up a GUI in a Docker Container on a Raspberry Pi

I've been playing around with Docker in the past few weeks and currently I'm trying to set up a project.

I'm running a Raspberry Pi with Docker installed. I want to set up a container and use RDP to connect to a remote host.

I have tried working with Xorg (LXDE) and tried starting my graphical environment with startx but that doesn't seem to work. After some googling I found out that you cannot run startx on a virtualized device since startx will look after the graphics card and a virtual machine does not have that.

In order for my RDP to work I need a GUI that runs in a Docker container and uses the ARM architecture.

Has anyone else had any experience with this? All help is appreciated!

Thanks Vincentvo

Upvotes: 2

Views: 1779

Answers (2)

vincentvo
vincentvo

Reputation: 51

Adding --privileged to my docker run command fixed my issue.

Upvotes: 3

aholt
aholt

Reputation: 2981

Just curious, but are you 100% tied to RDP? If you use VNC, you could just use the ubuntu ARM distro and then VNC into it. IF you are using a windows machine, superVNC should work for you.

There are even VNC clients for android. Come to think of it, you might be able to use Chrome RDP as well, havent tried that though.

Upvotes: 0

Related Questions