/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.
Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster
$38.99
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$10.90
Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust
$30.95
KLIM Cool Laptop Cooler Fan, Portable Quiet Cooling Vacuum w/Display - BLUE LED
$15.95
Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US
$11.29
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$9.79
2-In-1 Air Duster & Vacuum 60000 RPM Rechargeable Auto Computer Keyboard USB
$24.26
Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust
$29.98
Duster Cleaner Blower & Vacuum Rechargeable
$79.99
Ropvanic A1 Self-Charging Robot Vacuum Cleaner
$75.00