PDA

View Full Version : KDE Login Screen



evermore
06-15-2003, 02:59 AM
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

probono
06-15-2003, 03:52 AM
/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 :)

evermore
06-15-2003, 02:35 PM
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.

evermore
06-16-2003, 05:18 PM
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?

evermore
06-20-2003, 06:18 AM
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

Henk Poley
06-20-2003, 08:44 PM
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.