All nine of our kiosks, running a mix of Ubuntu 14.04.5 LTS and 16.04.3 LTS, are now exhibiting this bug. So we can definitely reproduce it on a mix of hardware and software. Uninstalling and reinstalling Chromium did not help.
Here's someone else's forum post on the same topic too: https://askubuntu.com/questions/958378/chromium-will-not-start-in-guest- session-on-ubuntu-16-04-3-lts As the original bug report notes, it only affects guest session users, not regular users. While logged in as a regular user, though, it can be demonstrated by trying to run Chromium via the lightdm-guest-session: $ /usr/lib/lightdm/lightdm-guest-session /usr/bin/chromium-browser /usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory Now libffmpeg.so *is* provided as part of the Chromium install, under /usr/lib/chromium-browser/libffmpeg.so, and simply copying it to a standard directory allows Chromium to launch via the guest session: $ sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64_linux_gnu $ /usr/lib/lightdm/lightdm-guest-session /usr/bin/chromium-browser [Chromium launches] Obviously, that's not an ideal solution. I also found that disabling AppArmor's profile for the LightDM guest session allowed the above test to succeed (i.e., to launch Chromium): $ sudo apparmor_parser -R /etc/apparmor.d/lightdm-guest-session $ /usr/lib/lightdm/lightdm-guest-session /usr/bin/chromium-browser [Chromium launches] Or, editing out the #include statement in /etc/apparmor.d/lightdm-guest- session which includes the sub-profile /etc/apparmor.d/abstractions /lightdm_chromium-browser and then reloading AppArmor also worked: [comment out #include of abstractions/lightdm_chromium-browser in lightdm-guest-session] $ sudo apparmor_parser -r /etc/apparmor.d/lightdm-guest-session $ /usr/lib/lightdm/lightdm-guest-session /usr/bin/chromium-browser [Chromium launches] Interestingly, nothing is captured in /var/log/kern.log; there's no obvious error message here. Digging into the /etc/apparmor.d/abstractions/lightdm_chromium-browser configuration, it looks like the Chromium binary is executed with the "Cx" settings, e.g.: /usr/lib/chromium-browser/chromium-browser Cx -> chromium According to the man page (http://manpages.ubuntu.com/manpages/xenial/en/man5/apparmor.d.5.html), the "Cx" setting means "transition to subprofile on execute -- scrub the environment". Now, the /usr/bin/chromium-browser shell script has some code which sets LD_LIBRARY_PATH to include /usr/lib/chromium-browser, precisely so that libffmpeg.so can be located by the runtime linker. My guess, therefore, is that the AppArmor sub-profile for Chromium is causing LD_LIBRARY_PATH to be scrubbed from the environment, so libffmpeg.so can not be located at runtime. One other oddity is why all our LTS machines (both 14.04 and 16.04) now have libffmpeg.so in /usr/lib/chromium-browser, not /usr/lib/chromium-browser/libs. But when I checked with dpkg-query, the former (/usr/lib/chromium-browser/libffmpeg.so) is definitely what was listed, and that's where the shared library was installed. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1718885 Title: chromium doesn't start in guest session (xubuntu 16.04) Status in chromium-browser package in Ubuntu: Confirmed Bug description: Hi, on one of my kiosk systems running xubuntu 16.04.2 (Kernelversion 4.4.0-28-generic) chromium stop working today. It just won't start anymore. When I try to run the launcher from shell it just reports: /usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory The funny thing is ffmpeg was'n installed in the first place and chromium runs just fine in the context of a normal userprofile. I checked the apt histroy and saw chromium was updated today. I then tried to install ffmpeg in the hopes to solve the issue but to no avail. Now I can find libffmpeg in the guest user contest via locate but chromium still repsonds with the same error message. apt-cache policy chromium-browser chromium-browser: Installiert: 61.0.3163.79-0ubuntu0.16.04.1300 Installationskandidat: 61.0.3163.79-0ubuntu0.16.04.1300 Versionstabelle: *** 61.0.3163.79-0ubuntu0.16.04.1300 500 500 http://de.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages 100 /var/lib/dpkg/status 49.0.2623.108-0ubuntu1.1233 500 500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 18.0.1025.151~r130497-0ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu precise/universe amd64 Packages I start chromium via a custom starter with line: chromium-browser %U --app=http://quickborn.library4you.de/iopac/main.php -- kiosk The behavior started after unattended upgrades Start-Date: 2017-09-22 09:28:13 Commandline: /usr/bin/unattended-upgrade Upgrade: python-samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.9, 2:4.3.11+dfsg-0ubun tu0.16.04.11), libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.9, 2:4.3.11+dfsg -0ubuntu0.16.04.11), samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.9, 2:4.3.11+ dfsg-0ubuntu0.16.04.11), chromium-browser:amd64 (60.0.3112.113-0ubuntu0.16.04.12 98, 61.0.3163.79-0ubuntu0.16.04.1300), samba-common:amd64 (2:4.3.11+dfsg-0ubuntu 0.16.04.9, 2:4.3.11+dfsg-0ubuntu0.16.04.11), chromium-codecs-ffmpeg-extra:amd64 (60.0.3112.113-0ubuntu0.16.04.1298, 61.0.3163.79-0ubuntu0.16.04.1300), libsmbcli ent:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.9, 2:4.3.11+dfsg-0ubuntu0.16.04.11), sam ba-common-bin:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.9, 2:4.3.11+dfsg-0ubuntu0.16.0 4.11), chromium-browser-l10n:amd64 (60.0.3112.113-0ubuntu0.16.04.1298, 61.0.3163 .79-0ubuntu0.16.04.1300) End-Date: 2017-09-22 09:28:30 Start-Date: 2017-09-22 10:32:17 Requested-By: gast-settings (1001) End-Date: 2017-09-22 10:32:17 Start-Date: 2017-09-22 10:43:42 Requested-By: gast-settings (1001) Install: libavdevice-ffmpeg56:amd64 (7:2.8.11-0ubuntu0.16.04.1, automatic), ffmp eg:amd64 (7:2.8.11-0ubuntu0.16.04.1), libsdl1.2debian:amd64 (1.2.15+dfsg1-3, aut omatic) End-Date: 2017-09-22 10:43:44 Any ideas? Best Regards To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1718885/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp