I am trying to launch google chrome via startx on boot with systemd to create an Ubuntu 16.04 browser kiosk (based on this guide). Everything works great, except I am unable to play any videos in the browser.
I have tried installing ubuntu-restricted-extras. I have also tried installing chromium-codecs-ffmpeg and chromium-codecs-ffmpeg-extra. None of this seems to help.
Having said that, 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.
Is there something I need to run when starting an X server for codecs to be recognized?
Is there some google chrome setting I need to set to use the h264 codecs?
Thanks!
/usr/bin/startx /etc/X11/Xsession /usr/bin/chrome/google-chrome
, which doesn't load videos. When I launch chrome as the user I just run in the terminalstartx google-chrome
. I installed chrome using the .deb package from the download on their website. This was the guide I used askubuntu.com/questions/510056/how-to-install-google-chrome.startx chromium
orstartx firefox
the first time running startx videos will work. Any subsequent application running a new startx X session seem to be unable to play videos.