Open Szewcson opened 1 year ago
Sorry, I jus realize that there was 2 new commits since I last try to install skywave. I will try toomorow if now it works.
Ok, still system after cloning is in ro and can't be upgraded. Now also X not working. Don't know maybe my change with mounting /sys causing the problem but without it chrooted system can't see system partition.
Hello Szewcson, What error message do you get when X fails to run?
xset: unable yo open display ""
xset: unable yo open display ""
xset: unable yo open display ""
and after startx
:
xauth: error in locking authority file /home/skywave/.Xauthority
xauth: error in locking authority file /home/skywave/.Xauthority
(EE)
Fatal server errorr:
(EE) Cannot move old log file "/home/skywave/.local/share/xorg/Xorg.0.log" to "/home/skywave/.local/share/xorg/Xorg.0.log.old"
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth: error in locking authority file /home/skywave/.Xauthority
I'm using skywave 4.3.0 flashback since I have some problems with i3 in vm.
Those messages resemble the sequence sent from the system if the home folder and its contents are owned by root . If you can get a working prompt as root or chroot into the system, use "chown -R" to set the home folder ownership to your regular user:
chown -R skywave:skywave /home/skywave
Edit: /home is owned by root, but users own their own directories. So if you create a new user named "joe" then /home/joe is owned by joe (and the group for it is also "joe").
Ok, I will check it but I think it should be handled by script during chroot. I think that adding user creation and changing root password will be good feature.
I tried from console and got many errors that fs is ro. Then I tried using chroot but after boot everything was the same.
Can't upgrade cloned system.