Public bug reported: Right now on Ubuntu 16.10, using VLC installed via snap will not inhibit screensaver from kicking in when videos are played. The reason is AppArmor profile for snaps that's blocking VLC from instructing screensaver via dbus:
apparmor="DENIED" operation="dbus_method_call" bus="session" path="/ScreenSaver" interface="org.freedesktop.ScreenSaver" member="Inhibit" mask="send" name="org.freedesktop.ScreenSaver" pid=24667 label="snap.vlc.vlc" peer_pid=2979 peer_label="unconfined" ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: snap-confine 1.0.43-0ubuntu1 ProcVersionSignature: Ubuntu 4.8.0-32.34-generic 4.8.11 Uname: Linux 4.8.0-32-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.3-0ubuntu8.2 Architecture: amd64 CurrentDesktop: Unity Date: Sat Dec 24 15:25:18 2016 InstallationDate: Installed on 2016-11-28 (25 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) SourcePackage: snap-confine UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: snap-confine (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug yakkety ** Summary changed: - Snap(d) AppArmor profile should allow screensaver ihibition via dbus + Snap(d) AppArmor profile should allow screensaver inhibition via dbus -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652444 Title: Snap(d) AppArmor profile should allow screensaver inhibition via dbus To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1652444/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs