/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.
Cisco GLC-FE-100FX-RGD 100BASE-FX SFP Transceiver Module
$17.99
Cisco Meraki MA-SFP-1GB-SX 1000BASE-SX SFP Transceiver Module
$24.99
Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF
$29.99
CISCO SFP GLC-GE-100FX 10-2019-02 100Base-FX SFP GBIC Transceiver Module 1pcs
$52.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02
$5.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
10Gbps 10GB SFP+SR transceiver for UniFi Switch 16 XG 16port Ubiquiti US-16-XG
$10.99
10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module
$85.00
New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module
$49.99