Touchscreen behaves different depending on network_mode

Hey all,

We have been using balena for a while and I am currently going through and optimizing some of the containers security as in the past, it was easiest to just run our multicontainer apps on network_mode as host. Don’t really want to open everything up to everything on that network but I noticed that when removing network_mode: “host” on our xserver/x11 application, the touchscreen no longer works.

I know this is a pretty open ended description as explaining how ours is setup would be quite the nightmare-ishly long message but long story short:

Touchscreen works when privileged: true and network_mode: “host” and doesn’t work removing the network_mode: “host”. Before getting into more details and explaining further, any reason why the network_mode would change how a touchscreen interaction would behave?

Also, copied the x11 server block from balena blocks to be able to run a graphical application.