I always run Porteus KDE as root and in Always Fresh mode. Instead of a changes folder I make separate "myXXX.xzm" files and put them in a subfolder "Settings" in modules. To start Porteus, I select Always Fresh <enter> and in about 1 minute I am online. If I mess anything, rebooting solves it!
Of course, the regular versions of Porteus fail to respond to that procedure; they weren't thought to work so. Then the first change i make is to /boot/syslinux/porteus.cfg; there I add "login=root" to the APPEND line of the "Always Fresh"menu. Then try to start Porteus -> It doesn´t work! But this is still not a bug...
Then I try to force start in AF root mode: start up in text and login as root; switch to X by typing xinit; Porteus responds with a red prompt...Then moving the X cursor to the upper left corner and typing "startx", the desktop should come to life..hurra! If it doesn´t, there is a bug!
To automate the startup as described in the third sentence of the first paragraph, I must extract 003-kde5.xzm (in my case) in base and go there to file /etc/rc.d/rc4. This file is small but very complex! It should collect information from the initial selection screen and proceed accordingly!
I changed the two lines following "#Start KDE desktop" as follows:
# Start KDE desktop:
login=`egrep -o " login=[^ ]+*" /proc/cmdline | cut -d= -f2`
nologin=`grep -o "^nologin" /proc/cmdline`
I only changed the file to scan to /proc/cmdline an deleted a spurios "^" that was in the first line ("^login= -> " login=)....
After rebuilding the module, starting Porteus in AF as root got as expected.
The next addition I did was adding login sound to my Porteus 5.0. but that and other twists, I will describe later in another post.
Enjoy
