OK, I assumed those are just special cases for when you don’t want to grant ‘global’ access. My compose snippet for that service is pretty run of the mill:
display:
build: ./display/
privileged: true
restart: always
depends_on:
- mqtt
xserverrc
#!/bin/bash
exec /usr/bin/X -s 0 dpms
My understanding is that the rc’s are called as part of X startup so above is called by startx… not super sure about that though.
I think most of the service is based on snippets I found in the playground yes.