X and Fluxbox :: My remasters always break flux/X. Please help
I have remastered DSL about 50 times this last week tring to figure out why Xwindows and flux will not work when I boot the remastered DSL.
This is what I do after I extract the KNOPPIX image copy it and chroot:
mount -t proc proc /proc
dpkg-restore
(download gnu-utls.dsl and) tar zxvf gnu-utils.dsl
apt-get install libc6 (gnu-utils need to be installed to install this)
apt-get install debconf
apt-get install python
apt-get install vim
apt-get install ntlmaps
apt-get install xine-ui
apt-get install perl
apt-get install libdvdcss2
I then: rm /var/cache/apt/archives/*.deb
umount proc
exit chroot
recompress this directory to a new KNOPPIX and either make the iso or slip this image into my usb stick inplace of the old one
when I start DSL up everything is fine unil it tries to start X. X blinks on and the spits out that there is no "//.xinitrc" where it need to be (but it is there). if I type starx at the command line it does the same think all over. If I type xinit x starts up but it starts very basic with only a terminal opened up - default in systm wide xinitrc I think. Can anyone tell me why this is happening.
thank you
Keeper Of The Grove, it sounds like apt-get updated the xserver for you because of a dependancy issue, probably from either xine-ui or libdvdcss2.
Did you check what .xserverrc contains? Does it contain anything different than the original did?
When you say that .xinitrc is there, it is there in user dsl's home directory, but is it in root's home directory? If you copy it there does that help? Could xinit be trying to run as root for some reason?
Last time I remastered DSL I physically put .xinitrc in root's home directory - still didn't work. I'll try and remaster again and look at the depends. The only xwindow upgrade I saw was libxv. I'll try without xine-ui.
OK, I have got this down to how it is that I remaster the KNOPPIX image, or that dpkg-restore breaks it - so it has got to be me but I don't know what I am doing wrong.
I downloaded DSL embedded - put it on my usb stick, booted it to see if it works - it does.
extracted KNOPPIX to "extractedK" mounted it in new directory "Kmnt," made another directory "Knew"
then: cp -Rp Kmnt/* Knew
chroot Knew
mount -t proc proc /proc
dpkg-restore
umount proc
exit (chroot)
rm KNOPPIX (old KNOPPIX image)
mkisofs -R -L Knew | create_compressed_fs - 65536 > KNOPPIX
cp KNOPPIX /mnt/usb/KNOPPIX/KNOPPIX
Now I try to boot DSL again and it comes up to a commandline prompt to whicj I enter: startx. it goes through the xsetup.sh questions and tried to start X. X blinks on and the back off and spits out an error about //.xinitrc and gives a warning anout .Xauthority.
What am I doing that is making this break??
Thank you.
You may have the wrong owner on .Xauthority so X won't start. Try changing the owner and group of .Xauthority to dsl and staff:
sudo chown dsl /home/dsl/.Xauthority
sudo chgrp staff /home/dsl/.Xauthority
then try startx again.
Next Page...
original here.