Forum › Forums › New users › New Users and General Questions › Broken root-Persistence
- This topic has 1 reply, 2 voices, and was last updated Aug 29-6:05 am by Xecure.
-
AuthorPosts
-
August 27, 2020 at 6:55 pm #40836Member
flyntstone
I managed to break my root-persistence apparently by installing Xfce and then modifying /etc/slim_conf as per
https://wiki.debian.org/XfceThe above page did not mention permissions, so I did this (during a live root-persistence session):
sudo vi /etc/slim_conf using
and made the following change:
#login_cmd setsid /usr/local/bin/desktop-session %session
login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %sessionThe boot works, but the login fails even after ctrl-f1-ing into a Desktop Environment first (as per https://mynixworld.info/2011/11/25/slim-failed-to-execute-login-command/
). I went ahead and remade the key with LiveUSB-maker. It worked for a very little while. Then I ended up cancelling persistence when logging out in an unrelated action. After that I still had the same problem! So now I use the key without persistence. Any suggestions? BTW, I noticed that the key seems to gain a UEFI partition for each remaking. I have stayed away from using UEFI… the screen to choose a boot device gives me the option.August 29, 2020 at 6:05 am #40880Member
Xecure
::I managed to break my root-persistence apparently by installing Xfce and then modifying /etc/slim_conf as per
https://wiki.debian.org/XfceThe above page did not mention permissions, so I did this (during a live root-persistence session):
sudo vi /etc/slim_conf using
and made the following change:
#login_cmd setsid /usr/local/bin/desktop-session %session
login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %sessionI believe you don’t need to modify the slim.conf file. antiX created a script that is hooked to apt. After every desktop installation it will execute and automatically update slim.
Please test it again without modifying slim.
If you are still trying to save the live USB device with persistence, log in from tty1, edit and restore the slim.conf file to how it was before, then persist-save and reboot.antiX Live system enthusiast.
General Live Boot Parameters for antiX. -
AuthorPosts
- You must be logged in to reply to this topic.