[kde-freebsd] rebooting laptop when KDE4 is down

Matthias Apitz guru at unixarea.de
Mon Nov 4 07:28:37 UTC 2013


Hello,

Due to a bug/problem in the new Xorg wit KMS, the X-server does not
switch back to alpha console on termination. To power-down the laptop
you only can user the power-off button to initiate with a short press
the shutdown sequence. Ofc you do not see any messages of it and you
have to hope that the machine goes to power-off state. Last day it
happened that it did not went down and was sitting around two hours in
my backpack in run level until the battery was finally empty :-(

In short, is there a way to reboot the machine after
/usr/local/kde4/bin/startkde terminates, something like in .xinitrc:

...
/usr/local/kde4/bin/startkde
/sbin/reboot

but as a normal user, not as root. /sbin/reboot only works as root. Such
a reboot would bring the machine down, reset it and you may power-off
while going through the boot menue screen.

Any ideas?

Thanks

	matthias

-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de     |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211       |  / \ - Respect for open standards


More information about the kde-freebsd mailing list