Being able to remotely start quake on the contestant machine.
Isn't that simply a DISPLAY=:0 some_command?
But this is an ugly hack, we should be able to do way better using xauth creds.
I think of at least three issues once we are on the remote machine:
So, 1. somehow solved itself in the past year, for 2. DISPLAY is stored in the systemd user process and is inherited by processes started by it and for 3. we can use machinectl shell.
Here are a few working examples:
# machinectl shell USERNAME@ /usr/bin/systemd-run --user /usr/bin/quake3 # Gets DISPLAY from systemd-run
# machinectl shell USERNAME@ /usr/bin/notify-send 'Pour jouer à quake, cliquez ici' # Gets DBUS_SESSION_BUS_ADDRESS from machinectl shell
The next step is to validate theses commands and then write them into docs/source/cookbook.rst.