nilssohn;647597 Wrote:
> 13005 pts/0 S+ 0:00 grep gsession-inhibit
>
>
> I am running the german version of Ubuntu 11.04. "Systemeinstellungen
> -> Energieverwaltung" seems to have the same meaning as what you wrote.
> What I changed right now is that computer suspension after 30 Minutes is
> set as a rule for all users. I'll report the result later in the
> evening.
That looks like gsession-inhibit isn't running, since grep only found
"grep". Did you run the ReallyPreventStandby setup script to modify
/etc/sudoers?
What does:
# sudo cat /etc/sudoers | grep "gsession-inhibit"
..say? If nothing, then you haven't configured sudoers properly yet.
To run the install script, in a terminal window, run:
Code:
--------------------
# sudo
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ReallyPreventStandby/bin/unix/debian-install.sh
--------------------
You need to modify /etc/sudoers so that the squeezeboxserver user
account has permissions to run gsession-inhibit masquerading as the
logged-in gnome user.
In /etc/sudoers:
Code:
--------------------
squeezeboxserver ALL = (ALL) NOPASSWD:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ReallyPreventStandby/bin/unix/gsession-inhibit*
squeezeboxserver ALL = (ALL) NOPASSWD: /usr/bin/killall -9 gsession-inhibit
--------------------
The setup script will make the modifications to sudoers for you. Or
you can modify sudoers yourself, copying and pasting the lines above.
--
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins