Having problems with this under Ubuntu 10.10. Hope this is the right place to post questions about gsession-inhibit.itI'm probably doing something silly.
Here's the basics: > Linux 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 > GNU/Linux > > Squeezeboxserver: Version: 7.5.2 - r31632 @ Mon Dec 13 13:06:10 PST > 2010 > > ReallyPreventStandby 20101213.144758 > > Running on an Zotac ION-itxc mobo. Unbuntu 10.10. Here's gsession-inhibit.log > 20110107-111514 AppID == gsession-inhibit-ca > 20110107-111514 AppPath == > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ReallyPreventStandby/bin/unix/gsession-inhibit > 20110107-111514 AppData == > /usr/share/squeezeboxserver/.gsession-inhibit > 20110107-111514 AppLog == /var/log/gsession-inhibit.log > 20110107-111514 AppReason == not_idle > 20110107-111514 AppOpts == 0x0000b001 > 20110107-111514 InhibitSecs == 60 > 20110107-111514 InhibitType == 0x0000000f > 20110107-111514 Display env == :0 > *20110107-111514 Error: Inhibit failure. The name > org.gnome.SessionManager was not provided by any .service file* I assume that the last line is the sign of the problem. The computer sleeps and wakes properly and wol works from the squeezecenters and I can use servercontrol plugin to put the computer to sleep. Just not inhibit for some reason. Here's the entry from squeezecenter's log preceding this, which seems to show a successful call from Squeezecenter. > [11-01-07 11:15:14.0021] > Plugins::ReallyPreventStandby::Plugin::_playersBusy (521) Player > Squeezeboom2 is busy... > [11-01-07 11:15:14.0030] > Plugins::ReallyPreventStandby::Plugin::checkClientActivity (451) > Resetting idle counter. 20 minutes left in allowed idle period. > [11-01-07 11:15:14.0142] > Plugins::ReallyPreventStandby::Plugin::_getGnomeUser (312) Gnome User > == ca Display == :0 > [11-01-07 11:15:14.0155] > Plugins::ReallyPreventStandby::Plugin::_inhibitGnome (374) Executing > command: "sudo -u ca > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ReallyPreventStandby/bin/unix/gsession-inhibit > -l -d 60 --quiet >/dev/null 2>&1 &" > [11-01-07 11:15:14.0258] > Plugins::ReallyPreventStandby::Plugin::_inhibitGnome (380) system call > returned 0 I was having trouble with waking up from acpi prior to this and added a few kernel options: > usbcore.autosuspend=-1 acpi_enforce_resources=lax acpi_sleep=nonvs I'm not entirely sure what these do, though they fixed my waking from suspend problems, but perhaps they're relevant. -- Clnanderson ------------------------------------------------------------------------ Clnanderson's Profile: http://forums.slimdevices.com/member.php?userid=6280 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
