Page 1 of 1

error in rc.4 related to autologin

Posted: 06 Dec 2022, 17:01
by fab
The script /etc/rc.d/rc.4 tries to modify lxdm.conf, but is using "slim" config syntax to do so.

lxdm syntax is:
autologin=$login

slim syntax is:
auto_login on
default_user=$user

the last lines in rc.4 should be:

Code: Select all

[ "$login" ] && sed -i 's/^autologin=.*/autologin='$login'/g' /etc/lxdm/lxdm.conf
[ "$nologin" ] && sed -i 's/^autologin/#autologin/g' /etc/lxdm/lxdm.conf
/usr/sbin/lxdm
fab

error in rc.4 related to autologin

Posted: 06 Dec 2022, 17:04
by Ed_P
Thank you.

error in rc.4 related to autologin

Posted: 07 Dec 2022, 10:51
by fab
I forgot some single quotes in the [ "$login" ] line, fixed it.

Furthermore I noticed:

It affects /etc/rc.d/rc.4 in 003-xfce.xzm and at least also 003-lxde.xzm.
003-kde5.xzm has a different rc.4 and if you change rc.4 using "changes" you cannot dual boot with kde anymore,
so you have to rebuild 003-xfce.xzm. (which is easy)

rc.4 modifies /etc/lxdm/lxdm.conf and if you decide to remove boot option "nologin" you have to manually change lxdm.conf
to make that work.

error in rc.4 related to autologin

Posted: 07 Dec 2022, 13:01
by ncmprhnsbl
known and fixed some time ago, (somewhere in this topic: Porteus-v5.0x86_64_bugs reports )
please run the updater to get the latest modules: menu > system> porteus settings centre > porteus updater .

error in rc.4 related to autologin

Posted: 07 Dec 2022, 22:45
by fab
Thank you, and I'm sorry I missed that. I checked for updates on the wrong mirror (ftp.vim.org).

error in rc.4 related to autologin

Posted: 08 Dec 2022, 04:12
by Ed_P
fab wrote:
07 Dec 2022, 22:45
I checked for updates on the wrong mirror (ftp.vim.org).
:o Thanks for the update and sorry for the inconvenience. Not sure why vim.org is lacking the updates.

error in rc.4 related to autologin

Posted: 08 Dec 2022, 04:36
by ncmprhnsbl
yes, some mirrors are currently faulty:
http://ftp.vim.org and it's host http://ftp.nluug.nl/os
and http://ftpmirror1.infania.net are not syncing properly for the updates directory.
i've tried to contact them about this, but haven't received any response as yet

error in rc.4 related to autologin

Posted: 08 Dec 2022, 05:49
by Ed_P
Does Hamza interface with them?

error in rc.4 related to autologin

Posted: 08 Dec 2022, 20:23
by donald
--> ..known and fixed some time ago <--
--> ..some mirrors are currently faulty...not syncing properly for the updates directory. <--
Why not upload updated isos from time to time?

error in rc.4 related to autologin

Posted: 08 Dec 2022, 20:24
by Ed_P
ncmprhnsbl wrote:
08 Dec 2022, 04:36
yes, some mirrors are currently faulty:
We should change the porteus-mirrors url to be:

Code: Select all

http://porteus.org/porteus-mirrors.html?avoid&vim.org&nluug.nl&infania.net
Added in 10 hours 56 minutes 56 seconds:
How do mirrors work? Do they pull files from porteus.org or does porteus.org upload files to them? :unknown:

error in rc.4 related to autologin

Posted: 15 Dec 2022, 05:30
by ncmprhnsbl
Ed_P wrote:
09 Dec 2022, 07:21
How do mirrors work? Do they pull files from porteus.org or does porteus.org upload files to them?
it's synced from their side
anybody with a server can set up a mirror, they don't need permission or anything
usually, it's polite to inform the source that you're doing it.
update on mirrors: have received a response from one of the faulty mirrors, with hopefully a fix to follow

error in rc.4 related to autologin

Posted: 24 Dec 2022, 04:48
by Rava
ncmprhnsbl wrote:
15 Dec 2022, 05:30
update on mirrors: have received a response from one of the faulty mirrors, with hopefully a fix to follow
Meaning: the other mirror maintainer has not replied at all for weeks now?