/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.

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
MSI PRO Z790-P WIFI DDR4 LGA 1700 Intel Z790 SATA 6Gb/s DDR4 ATX Motherboard
$163.49
Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99
CPU-RAM-MOBO COMBO- 32gb DDR4 3600MHz, i5 CPU, Asus Prime Motherboard
$370.00
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90
ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99
MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$101.99
ASUS B85M-G/B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI for Inter 4thCPU
$45.00
ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99