UbuntuHelp:UbuntuLTSP/GnomeWatchdog
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
This page is dedicated to installing and configuring the gnome-watchdog package. gnome-watchdog is a script that launches upon user login from an LTSP thin-client. It monitors the status of their "gnome-panel" process, and if it dies, waits an amount of time, and kills the remaining process. The idea is that when a user logs out, their gnome-panel process cleanly exits, but other, misbehaving applications might not (such as Firefox, or OpenOffice in some cases I've personally experienced). It logs everything it does to syslog, which makes debugging/tracking what it kills very useful (for, say, reporting commonly stale processes to their respective package maintainers so they can fix them). To install gnome-watchdog, download the package from the following link: http://logicalnetworking.net/other/gnome-watchdog_0.9.2_i386.deb Install it (and gtkdialog, which it requires) on your LTSP server:
sudo apt-get install gtkdialog sudo dpkg -i gnome-watchdog_0.9.2_i386.deb
In the case that gnome-panel doesn't cleanly exit (such as if the thin-client crashes), gnome-watchdog will do nothing - unless you create the following file, which will cause gnome-watchdog to check the status of the logging-in user's gnome-panel process, and give them the option to kill their previous session:
sudo touch /etc/check_previous_login
Please see /usr/share/gnome-watchdog/README for further information regarding this package. Thanks to [email protected] for creating this great package!