Re: Testing live persistence
Posted: Sun Feb 02, 2014 9:36 am
If we need to add something to the doc on "Persistence," please post revised/additional copy.
TIA
TIA
Support for MX and antiX Linux distros
http://www.forum.mxlinux.org/
Ah. That's a bug in my program. I will fix it. Thanks.dolphin_oracle wrote:Works pretty well. If you run halt as a regular user, the save still happens before the warning that you have to be superuser to run halt.
My thought was to leave "shutdown" alone so it gives people a way of shutting down from the CLI that bypasses my bypasses. I figured that if a program was going to call a program to shutdown or reboot then it was more likely to call "shutdown" rather than "halt" or "reboot". Also, both /sbin/reboot and /sbin/halt are in /etc/sudoers.d/antixers so normal users are allowed to run those commands without entering a password but /sbin/shutdown is not. OTOH, please feel free to try this:One other point...if you want to talk about old-school commands, you might want to also link shutdown (as in shutdown -h now).
Code: Select all
ln -s xfce4-session-logout /usr/local/bin/shutdown
I will post a blurb about intercepting commands. I will leave it to you (or others) to decide if and where it should go in the docs. PLMK if this is not what you meant.Jerry3904 wrote:If we need to add something to the doc on "Persistence," please post revised/additional copy.
Code: Select all
TEST: sudo /sbin/reboot x y z
Jerry3904 wrote:If we need to add something to the doc on "Persistence," please post revised/additional copy.
IOW, please feel free to heavily edit this to make it more suitable for users (from your perspective). Or ask me to trim it down. I often tend to go into too much technical detail. I think you want a users manual, not a technical reference manual. It is possible that users don't need to know any of the information I give below.Larry Wall wrote:The following two statements are usually both true:
- There's not enough documentation.
- There's too much documentation.
Thanks! There should be a log file at /var/log/live/remaster.log (or something like that). Could you post it please? Maybe we should move this to a new thread?taydui wrote:I found that persistent feature works well for both static and dynamic but remaster one terminates early with null error and nothing created.
Code: Select all
sudo cp /var/log/live/remaster-live.log /live/boot-dev
Code: Select all
--- /live/linux/usr/local/lib/antiX/antiX-common.sh 2012-12-13 05:52:01.000000000 -0500
+++ /live/aufs/usr/local/lib/antiX/antiX-common.sh 2014-02-10 03:12:43.308476250 -0500
@@ -18,11 +18,11 @@
# This is needed for restarting
CMDLINE_ARGS=("$@")
- GUI_TERM="roxterm"
+ GUI_TERM="/etc/alternatives/x-terminal-emulator"
TERM_OPTS="--geometry=+50+50 -e"
TERM_TITLE_OPT="--title"
- GUI_FILER="rox"
- FILER_OPTS="--new -d"
+ GUI_FILER="thunar"
+ FILER_OPTS=""
ARCHIVE="archive"