Access to device screen remotely

Hi !

I’ve looked at the balena-vnc-exemple. It looks like the purpose of this repo is to run on a headless device to run remote only GUI application.

I’m looking for a way to connect to a device with a screen and see what is on the device screen (running something similar to the browser block).

Has anyone build something similar already ?

I’m running a multi service app, with thoses services:

  • ui.x11 : based on balenaplayground/balenalabs-browser but does not start the browser)
  • ui.browser : based on balenaplayground/balenalabs-browser but connect to the x11 server from the ui.x11 service (/tmp/.X11-unix & /tmp/.X11-auth are shared by volume)

It’s done like this because I also run other x11 app, so it’s safer to edit or add x11 app Dockerfile. It also allows me to update one app without restarting the whole x11 server (a user might be using the browser I don’t want to restart the browser just because another app is updated)

I tried with TeamViewer but couldn’t manage to automate the initialisation. I’m now trying to run a vncserver but I’m having issue with that as well.

I’m also open to any suggestion of other tools I could use here :slight_smile:

thank you !

1 Like

Hey @mathroc looks like you are building a really interesting application. We would love to help you more!

Do you have any public repo where we can check this out and see how we can help you more on specific issues?

On the other hand, since some time ago we have been thinking that VNC and x11 would be great blocks to add on balenaHub. Would you like to contribute on them?

Quick followup question, did you ever get this running Mathieu?