I am trying to launch google chrome via startx on boot with systemd to create an Ubuntu 16.04 browser kiosk. Everything works great, except I am unable to play any videos in the browser.
When I log into the user on the device and force launch chrome with startx videos do play, but if I close that session and relaunch it, videos stop working.
I also tried running startx with chromium and firefox with the appropriate codecs installed. The same behavior occurs. When logging into the user and running startx google-chrome
, startx chromium
, or startx firefox
the first time running startx videos will work. When I close that Xsession, any subsequent application running a new startx X session seems to be unable to play videos.
I am running Ubuntu without any GUI on boot, just the terminal.
Is there something I need to run when starting an X server for codecs to be recognized?
Thanks!