I am trying to test a totem in minimal chroot (host and chroot like ubuntu 12.04 amd64). When I upload a video, I get an error
** (totem:25660): WARNING **: Problem inhibiting the screensaver: GDBus.Error:
org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
In fact, the screen will be turned off (inactive session) while watching a video. To confirm, I tested with python:
>>> import dbus
>>> bus = dbus.SessionBus()
>>> bus.get_object('org.gnome.SessionManager','/org/gnome/SessionManager')
and get an error
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
Does anyone know which packages will provide the org.gnome.SessionManager dbus interface in chroot? After searching on this issue, I tried gnome-session, gnome-session-common and gnome-session-bin to no avail.
Searching packages.ubuntu.com and the full 12.04 system where both of these work correctly, there is no package providing a file called org.gnome.SessionManager.service, so what kind of .service file is it looking for ?.