/etc/init.d/xsession
and
/etc/x11/Xsession.d/45xsession
define $USER and $HOME
You can replace both by an appropriate knoppix.sh script, so there is no need to remaster. I did the same here and now my Knoppix runs under root by default![]()
after a few days of ironing out a remaster, i'm left with a problem.
i've edited the config to allow for a login upon boot, but the problem is, when i login under root, it is trying to write my settings to the actual root directory instead of to ramdisk:/home/root. i've fiddled and faddled for quite a while now, and was just hoping that someone familiar to this issue could let me know how to straighten that out. i'm sure that it could be solved if i could find out where $HOME is initialized, but i haven't been able yet to find it. it's kind of wearing me out, considering the time it takes to recompile the KNOPPIX imagte. i'd appreciate a heads up on this.
thanks in quick
/etc/init.d/xsession
and
/etc/x11/Xsession.d/45xsession
define $USER and $HOME
You can replace both by an appropriate knoppix.sh script, so there is no need to remaster. I did the same here and now my Knoppix runs under root by default![]()
many thanks for your response.
i've tried the remedies that you suggested, to no avail.
when i login as root from the kde login screen, i am receiving an error similar to:
'unable to create $HOME. directory /root is out of space'
when i login as knoppix, all is fine, all is good.
my goal is to simply require login through the kde login manager, and have the option of logging in as root or knoppix.
you mentioned your use of a knoppix.sh script.
would it be possible for you to post your script?
i'd appreciate it, as i've spent hours trying to 'fix' this last flaw of my remaster.
thanks.
man, i'm hanging here.
no matter what i change, i'm getting stuck with the same error when i try to login as root:
$HOME directory (/root) is out of disk space.
in /etc/init.d/xsession, i've changed line five to read USER=root
in /etc/X11/Xsession.d/45xsession, i've changed line twelve to read
[ -z "$HOME" -o "$HOME" = "/" ] && HOME="/home/root"
i've edited miniroot.gz to create /home/root
nothing seems to work.
i've put my remaster on hold for now, these changes are the only ones made to a new image. why is it not working?
can someone help me out on this?
what am i missing?
i've gotten it figured out. if anyone else is having a problem with this, post and i'll help ya.
the root folder must be symbolically linked to a ramdisk/home/root folder created and linked through linuxrc in the bootdisk
Hehe, I just wanted to post that. As far as I know Morphix works that way. instead of using the CD (or compressed image) as root-filesystem you create a ramdisk and symlink everything in it, at the end you chroot and start the second stage of the boot process.

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS
$127.54
Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600 Win 10
$109.99
Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU
$7.95
Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49
Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98
Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA
$374.48
HP Z440 Workstation TWR Xeon E5-1603 v3, 8GB RAM, NVS310, SB1570, NO SSD/OS #95
$89.99
Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99