When user try to shutdown the XFCE, the button is grayed out, only logout option is available. When the session ended, xfce-shutdown-helper does not work (maybe the program does not have permission to shutdown the machine. So, we have inserted the line in the slax.cfg:
" APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;startxfce4;poweroff changes=/slax/ "
Sollution: Autoexec read the first command, and then read the next command that separated by semicolon. So, after "startxfce4" command done, poweroff command will take place, parsing the logon screen and the machine will shutdown. (However, user will have to restart manually via xterm).





No comments:
Post a Comment