You are not logged in.
Pages: 1
I am using arch and linux for quite a while now but I am still worried whether executing the commands shutdown, halt, reboot and init 3 directly in XFCE can be harmful to the system. Thank you for your answers.
fi-dschi
Last edited by fi-dschi (2008-01-17 21:09:30)
Offline
I'm pretty sure that as the reboot command runs it shutsdown any process, i know that in KDE if you run the shutdown etc it just won't save your current session.
hope thats of some help
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
A cleaner solution is to use /usr/lib/xfce4/xfsm-shutdown-helper
Offline
Thank you genisis and misfit!
I believe the helper you mean is the default logout dialog? Your command gives me:
$ /usr/lib/xfce4/xfsm-shutdown-helper
XFSM_SUDO_DONE >enter<
FAILED
But I can access the logout dialog with the command xfce4-session-logout. i don't want to use this as I have just got suspend to work and this can't is not included in the default logout dialog, so I want to create my own.
I don't want the session to be saved anyway. But are there further risks?
Offline
Maybe you find an answer there: http://bbs.archlinux.org/viewtopic.php?id=87839
Offline
I found Dieters argument convincing: shutdown sends SIGTERM to all processes. That should make all applications exit gracefully. If it doesn't, there is a problem, but (a) the problem is with the application and (b) the application will probably also misbehave if you shutdown via the DE (or if you close its window).
Last edited by grey (2010-04-27 08:34:28)
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Pages: 1