-
01-25-2005, 05:04 AM
#171
I guess it depends which distribution it is applied to.
On Firefox LiveCD (vff4.iso) I believe the .mozilla directory under /home/morph doesn't exist until Firefox is started up. Since Firefox can't find it, Firefox creates it as if this is the first time it has ever been run for this user (morph). If I use /copy the directories are created for [f3dbc060.default] but the only thing in it is the prefs.js. It gets created by default as read only owner root group root. Firefox can't do anything with it and won't use it, instead offering the user manager screen and advising me to create a user for myself. If I try, it fails I think because Firefox can't write to the .mozilla directory. I have had partial success putting a script in /exec that changes the .mozilla directory group to users and chmod -R 777 but then Firefox started creating a different profile directory for default and ignored mine. Next I am going to try taking the whole .mozilla directory while LiveCD is booted and copy it to my build source /copy directory. That way my rebuilt iso should have a real copy of the morph user profile for Firefox. I may get to try that tomorrow.
Before all this I tried adding my configuration to firefox.js and forget the user prefs. I could never get it to respect my home directory setting even though I could see it when I used about:config. Also, I am using autohide.xpi to get the full screen mode. That takes some sorting out and may be interfering with my test run succeding.
G, Thank you for you fine work on this distribution. I am further along than when I was trying to get a KNOPPIX distro small enough to fit on a 200mb CD and still function correctly, let alone get a browser configured. Please feel free to point out any misunderstandings I have on the sequence of execution or expected behavior.
-
01-25-2005, 05:19 AM
#172
Another behavior I need is when the browser is terminated, the CD is umount, ejected, and shutdown is called. The umount and eject work fine. I already set up sudo so morph is allowed to run shutdown. The problem is once the CD is ejected, the shutdown program is no longer available (or any other bin or sbin). Any thoughts on how I can run a command from the ram disk? Maybe I can copy the shutdown program to morph home directory and execute it from there? I looked on Morphix docs for information on what directories are sym linked to the CD and which are in ram disk but haven't found that kind of info, only examples that don't address these kinds of topics. I (ctrl-alt-Fn) switched to another console but I didn't see that any directories are sym linked. Don't know what I did wrong there. I'm not a newbe to Linux, in fact my first computers 25 years ago were all unix (up to System 5 rel 3). I have a gap over the last 15 years of no unix and this last year started catching up.
-
01-25-2005, 12:57 PM
#173
Senior Member
registered user
Hmm, how do you do your umount and eject? I'd like to include that back into next version.
Otherwise, why not run shutdown -h 1 i, unmount and eject and system will shutdown after one minute. Since binary will be read into memory (it will just wait 1minute) you won't have that problem anymore.
-
01-25-2005, 05:39 PM
#174
Junior Member
registered user
I hear rumors of a stallion3 with better ability to handle these sorts of modifications is in process. Is there a time frame?
-
01-25-2005, 11:08 PM
#175
To get the CD to eject on Firefox LiveCD (vff4.iso)
I installed from debian the packages (apt-get while chroot'ed) sudo and eject.
I altered /usr/bin/firefox.sh
#!/bin/bash
#while [ 1 ]
#do
/usr/bin/firefox -fullscreen $1
# sleep 10
sudo /bin/umount -l /cdrom
sudo /usr/bin/eject /dev/cdrom
sudo /sbin/shutdown now
#done
Obviously this is the script that can't shutdown because after the CD is ejected the shutdown program is no longer available. Since I want to use this distro as a secure exam platform, each student after exiting firefox will probably not want to wait one minute for the computer to shutdown. As an alternative I might just instruct them that after the CD ejects they can turn the power off or better would be if they could hit ctrl-alt-del to reboot into their native OS. By the way, they will take these exams on their own computer and we are trying to set it up where they cannot access their HD, internet, or chat with their classmates during an exam.
-
01-26-2005, 12:06 AM
#176
Senior Member
registered user
Steve F: I think 1min for cd to eject and for X11 to properly shutdown is not too much. I'll do some more experiments.
Giving deadlines is a bit ungreatful. We (livecd.net team) will try to have something ready by February.
-
01-26-2005, 01:15 AM
#177
I hope the deadline thing was in response to another person's question; take as long as it takes and thank you for including me both in guidance and accepting my contributions.
I can't use shutdown. The init process has initctl piped on a different filesystem than the one running the computer. I get the typical error 'init: timeout opening/writing control channel /dev/initctl'. I found out that reboot -f responds. Now in firefox.sh I copy /sbin/halt to /home/morph/reboot, umount, eject, reboot -f and 15 seconds later I'm back in windows. This is pretty slick!
I have read some articles that suggest killing X11 can disrupt the video h/w. That's news to me as I haven't experienced any problems rebooting back into windows. I hope they meant killing X and trying to restart back into X without rebooting is a no-no.
Now to fix the firefox config overrides and I'll be pretty much done. I plan to try using firefox command line option -CreateProfile "myprofilename", copy my prefs.js to "myprofilename", start the browser session with -p "myprofilename". I still have to straighten out the autohide global installation. I can't do it chroot'ed because firefox will fail when it can't find an X session to run under even though it never goes GUI on global extension installation. I had a partial success installing firefox on my workstation, adding the global extension and then copying the /usr/lib/mozilla-firefox and /var/lib/mozilla-firefox directories from my workstation to the morph_hd source directory. I'll tell the results of all this tomorrow afternoon USA central time.
-
01-26-2005, 02:43 PM
#178
Junior Member
registered user

Originally Posted by
Ghandalfar
Giving deadlines is a bit ungreatful. We (livecd.net team) will try to have something ready by February.
I don't mean to give you a deadline and I apologize for that being conveyed. It is only that I am under a deadline and can't seem to get this working as expected so was wondering if something was planned. I don't mean to rush you.
I'll probably work it out another way and revisit this next time around. I appreciate your work on it and am greatful for the progress you have made.
-
01-26-2005, 03:06 PM
#179
Senior Member
registered user
I meant to give myself a deadline
-
01-26-2005, 04:00 PM
#180
Junior Member
registered user

Originally Posted by
Ghandalfar
I meant to give myself a deadline

oh, you stretch my english with an uncommon usage of that word. Thanks!
Similar Threads
-
By pinoylinux in forum General Support
Replies: 2
Last Post: 01-05-2005, 11:52 AM
-
By dragonwheels in forum Hardware & Booting
Replies: 1
Last Post: 11-22-2004, 07:17 PM
-
By Eero in forum General Support
Replies: 1
Last Post: 09-29-2004, 01:23 AM
-
By sn0wflake in forum General Support
Replies: 3
Last Post: 12-05-2003, 04:13 AM
-
By adamm in forum Customising & Remastering
Replies: 30
Last Post: 06-13-2003, 09:12 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB)
$164.95

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$43.00

G.Skill Trident Z RGB 128GB (32GBx4) DDR4 RAM 3600 (F4-3600C18Q-128GTZR)
$775.00

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

MUSHKIN 32GB (2x16GB) MES4S213FF16G28X2-AZ DDR4-2133 RAM + Other DDR3 RAM free
$80.00

NMA1XXD128GPS Intel Optane 1X128GB DDR4 PC4-21300 DCPMM Persistent Server Memory
$75.00

Corsair Vengeance RGB Pro SL DDR4 RAM 32GB (2x16GB) 3600MHz White
$200.00

Lot of 6 Mixed DDR3 DDR4 RAM 4GB 16GB 32GB HyperX Micron Samsung Untested
$25.00

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99