Page 1 of 1

xfce live cd install -- shutdown reboot -- wrong links

Posted: 20. Feb 2012, 12:20
by oldmantux
when the live cd was installed, the shutdown and reboot don't work, because the link is not set correctly
i used the xfec-menu exit which displays a choice, and whatever selected, starts shutting down
and is stopping before the real power down/off
the link for shutdown and reboot is set to a script which is found in a /mnt - sub-folder which is only present in live cd mode
the script name is cleanup
i found 4 scripts in another distro (mepis derived anti-x m11), which particulary worked (shutdown.sh, suspend.sh and so on)
how can i modify the menu from the xfec-exit function to that scripts or modify the xfce-menu-structure so that it uses these scripts
(4 different logout options in the xfce menu would be perfect)

Re: xfce live cd install -- shutdown reboot -- wrong links

Posted: 21. Mar 2012, 10:33
by JRD
Which version of Salix Live did you used ?
Did you have this problem after an installation made with this Live CD ?

There was some problem with the Salix Live 13.1 version. To repair it on your installation, as root, do the following:

Code: Select all

# rm /sbin/{reboot,poweroff,halt}; slapt-get --install --reinstall sysvinit

Re: xfce live cd install -- shutdown reboot -- wrong links

Posted: 21. Mar 2012, 12:00
by gapan
I'm guessing old hardware with acpi issues. Start with acpi=force.

Re: xfce live cd install -- shutdown reboot -- wrong links

Posted: 21. Mar 2012, 13:14
by Shador
gapan wrote:I'm guessing old hardware with acpi issues. Start with acpi=force.
No, for live the actual reboot etc scripts are replaced by other scripts. So that on a shutdown first those scripts can run and properly stop the live system. When they're finished they call the actual, original reboot/... binary, which initiates the regular system shutdown.