I am having trouble to start chromium within openbox within xorg on startup, using systemd.
I have a script that starts everything:
#/opt/kiosk.sh
#!/bin/bash
xset -dpms
xset s off
openbox-session &
start-pulseaudio-x11
chromium-browser --kiosk --no-first-run 'http://thepcspy.com'
typing (as root):
sudo -u kioskuser startx /etc/X11/Xsession /opt/kiosk.sk --
starts the browser just as it should be.
How can I accomplish this via systemd
Right now I have:
#/etc/systemd/system/kiosk.service
[Unit]
After=systemd-user-sessions.service
[Service]
User=kioskuser
StartExec=/bin/bash -c 'startx /etc/X11/Xsession /opt/kiosk.sk --'
[Install]
WantedBy=multi-user.target
But it does not work. Any Ideas?
Here the resulting error:

systemmd-user-sessions.service. If that is the actual file, fix that for starters!