Forum › Forums › antiX-development › Development › WARNING!
- This topic has 28 replies, 8 voices, and was last updated Dec 25-10:59 am by anticapitalista.
-
AuthorPosts
-
December 23, 2021 at 4:30 pm #73501Forum Admin
anticapitalista
::Don’t login as root (though it shouldn’t cause this issue as far as I know).
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
December 23, 2021 at 6:14 pm #73507Member
oops
::sudo sv status /etc/service/*
To see what runit services are working (or not) and which are symlinked in /etc/service.
Post a picture/screenshot and we can start from there.Thx Xecure, Here it is:
PS: Not always easy to reply sometimes here 😉
“*** Forbidden. You sent forms too often. Please wait a few minutes. *** … or “arobase” into the code”PS2: at user:
$ lightdm
Only root can run Light Display Manager. To run as a regular user for testing run with the –test-mode flag.
$ slimski
slimski: only root can run this login manager programPS3: It is no a problem, I have, in case of, a snapshot of this VM.
Attachments:
December 23, 2021 at 7:24 pm #73513Member
Xecure
::It seems to be there, but it doesn’t seem to be starting.
First check what is the default login manager
cat /etc/X11/default-display-manager
if it is still lightdm, then the problem is that elogind is not starting, and because it isn’t starting, lightdm doesn’t start either.sudo sv start elogind sudo sv start lightdmIf it starts properly, then you will probably have to edit the /etc/sv/elogind/run file to be similar to this one.
If its still doesn’t start, we will have to take a look at /etc/sv/elogind/run and /etc/sv/lightdm/run
antiX Live system enthusiast.
General Live Boot Parameters for antiX.December 23, 2021 at 9:26 pm #73519Member
oops
::Thx … I have these files, but lightdm do not run automatically.
Edit:
Maybe because I do not have the /run/user/1000 (etc, generated now) ?root@a:/run/user# ls -ls
total 0
0 drwx—— 2 root root 40 déc. 23 15:03 0
0 drwx—— 9 user1 user1 180 déc. 23 14:08 1000
0 drwx—— 4 lightdm lightdm 80 déc. 23 13:06 118
root@a:/run/user#- This reply was modified 1 year, 4 months ago by oops.
- This reply was modified 1 year, 4 months ago by oops.
- This reply was modified 1 year, 4 months ago by oops.
Attachments:
December 23, 2021 at 10:30 pm #73525Forum Admin
anticapitalista
::You haven’t provided all the info requested by Xecure.
look at /etc/sv/elogind/run and /etc/sv/lightdm/run
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
December 23, 2021 at 10:44 pm #73527Member
oops
December 23, 2021 at 10:58 pm #73530Forum Admin
anticapitalista
::… It is in the screenshot above.
It isn’t. You have /usr/share/runit/sv not /etc/sv/*
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
December 23, 2021 at 11:06 pm #73531Member
oops
::… Sorry
so, no files here:
root@antix-21-64R:/home/tof-mx# cat /etc/sv/elogind/run cat: /etc/sv/elogind/run: Aucun fichier ou dossier de ce type root@antix-21-64R:/home/tof-mx# cat /etc/sv/lightdm/run cat: /etc/sv/lightdm/run: Aucun fichier ou dossier de ce type root@antix-21-64R:/etc/sv# tree /etc/sv/lightdm /etc/sv/lightdm └── supervise ├── control ├── lock ├── ok ├── pid ├── stat └── status 1 directory, 6 files root@antix-21-64R:/etc/sv# tree /etc/sv/elogind /etc/sv/elogind ├── control └── supervise ├── control ├── lock ├── ok ├── pid ├── stat └── status 2 directories, 6 files root@antix-21-64R:/etc/sv#December 24, 2021 at 9:12 am #73541Member
Xecure
::so, no files here:
Ok. the issue now is clear.
Copy over the contents of /usr/share/runit/elogind/ and /usr/share/runit/lightdm/ to /etc/svsudo cp -r /usr/share/runit/sv/elogind/* /etc/sv/elogind sudo cp -r /usr/share/runit/sv/lightdm/* /etc/sv/lightdmand then restart the services
sudo sv restart elogind sudo sv restart lightdmhopefully this fixes the issue. It is strange that the services folders were still created empty. You will have to check if other services have also experienced this issue.
- This reply was modified 1 year, 4 months ago by Xecure.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.December 24, 2021 at 1:12 pm #73558Member
oops
::so, no files here:
Ok. the issue now is clear.
Copy over the contents of /usr/share/runit/elogind/ and /usr/share/runit/lightdm/ to /etc/sv
…
hopefully this fixes the issue. It is strange that the services folders were still created empty. You will have to check if other services have also experienced this issue.Thank you Xecure and Congratulations, that’s worked (after I did for all services, and rechecked with runit-service-manager.sh)
sudo cp -r /usr/share/runit/sv/* /etc/sv/Have a good end of year for you and for all.
Thanks again.December 24, 2021 at 1:35 pm #73563Member
Xecure
::Thanks for reporting back. Great to know it worked. Hopefully we can figure out what caused this so it doesn’t happen again in the future.
Marry Christmas, oops!
antiX Live system enthusiast.
General Live Boot Parameters for antiX.December 24, 2021 at 2:51 pm #73564Member
oops
December 25, 2021 at 8:14 am #73600Member
seriousness
::Merry X-mas 2 all!
sudo apt full-upgrade says:
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: gir1.2-polkit-1.0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0 sysuser-helper Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.Is that correct?
December 25, 2021 at 10:59 am #73606Forum Admin
anticapitalista
::Merry X-mas 2 all!
sudo apt full-upgrade says:
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: gir1.2-polkit-1.0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0 sysuser-helper Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.Is that correct?
Yep, it’s ok.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
-
AuthorPosts
- You must be logged in to reply to this topic.

