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

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
oldmantux
Posts: 2
Joined: 20. Feb 2012, 12:01

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

Post 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)
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

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

Post 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
Image
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

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

Post by gapan »

I'm guessing old hardware with acpi issues. Start with acpi=force.
Image
Image
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Post 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.
Image
Post Reply