Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| — | anwenderwiki:linuxclient:ubuntu_ruhezustand_bereitschaft_unterbinden [2014/08/06 20:45] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | {{tag> | ||
| + | ==== Ubuntuclient: | ||
| + | |||
| + | //(wilfried ed larisch.biz)// | ||
| + | **Problem**: | ||
| + | |||
| + | **Lösung**: | ||
| + | |||
| + | Auch ein brauchbarer **workaround**, | ||
| + | |||
| + | http:// | ||
| + | |||
| + | ".... Ich gehe jetzt davon aus, dass du standardmäßig pm-utils verwendest, d.h. nicht uswsusp oder etwas anderes. | ||
| + | |||
| + | Ganz unterbinden kannst du dann SUSPEND und HIBERNATE so: | ||
| + | So wie in pm-utils beschrieben, | ||
| + | |||
| + | * thaw/ | ||
| + | * hibernate|suspend) einfach aussteigen lässt ;-) | ||
| + | |||
| + | Inhalt für den pm-utils-Hook 000disableSuspend: | ||
| + | |||
| + | #!/bin/sh | ||
| + | # | ||
| + | # Disable SUSPEND/ | ||
| + | # | ||
| + | . " | ||
| + | case " | ||
| + | hibernate|suspend) | ||
| + | echo "We don't allow SUSPEND/ | ||
| + | exit 1 | ||
| + | ;; | ||
| + | esac | ||
| + | |||
| + | } | ||
| + | |||
| + | 000disableSuspend speichern als root in / | ||
| + | |||
| + | sudo chmod 755 / | ||
| + | |||
| + | ..." | ||
| + | |||
| + | |||
| + | ==== Ubuntu 14.04 Knopf " | ||
| + | siehe [[http:// | ||
| + | |||
| + | Create a new file called / | ||
| + | |||
| + | < | ||
| + | Identity=unix-user: | ||
| + | Action=org.freedesktop.upower.suspend | ||
| + | ResultActive=no | ||
| + | ResultInactive=no | ||
| + | ResultAny=no | ||
| + | |||
| + | [Disable suspend (logind)] | ||
| + | Identity=unix-user: | ||
| + | Action=org.freedesktop.login1.suspend | ||
| + | ResultActive=no | ||
| + | ResultInactive=no | ||
| + | ResultAny=no | ||
| + | |||
| + | [Disable suspend when others are logged in (logind)] | ||
| + | Identity=unix-user: | ||
| + | Action=org.freedesktop.login1.suspend-multiple-sessions | ||
| + | ResultActive=no | ||
| + | ResultInactive=no | ||
| + | ResultAny=no | ||
| + | </ | ||
| + | |||
| + | and then reboot. | ||