-
Re: Knoppix Hacks Book problem

Originally Posted by
empress101
ok you all know the knoppix Hacks book....good book , but i have problem..i have written about it in a few other post ..I have been attempting to create a remastered kiosk cd. I have been hammering away at getting a kiosk setup. I need a knoppix cd remastered(reduced in size dont need all that stuff) and that boots into kiosk mode.
Glad you like the book
I understand that you don't need all the programs, but sometimes overengineering a remastered CD makes things a lot more complicated. You could even potentially create a kiosk CD without decompressing the KNOPPIX filesystem at all just by putting the knoppix.sh and configs.tbz file in the KNOPPIX directory like the hack mentions. But in either case, I think the cause of your problem is possibly sitting in the configs.tbz file (see below)
I have managed to work out getting the cd reduced in size, thanks to tthe book and post on here on how to. And i have the bootable cd in kiosk mode working. It opens up mozilla with all the settings and goes to the exact site i want. However problem it only works on the development machine i used to create it.
I need this cd to boot into kiosk mode on other machines. When i insert it into other machines i get error at end of booting ...it says "unable to find suitable xserver for your specific card" what that mean?
Basically it sounds to me that the saveconfig saved your /etc/X11/XF86Config-4 file to configs.tbz, which is overwriting your config that Knoppix generates, but it looks like you guys have already figured that out, and you are already on the right track:
ok so i thought hum if it only work on my machine perfectly and not on others when i am remastering it and making comrpessed .iso image of it i am somehow copying setting from the development computer i do not want to(specifically the xserver, XF86 stuff maybe?).
So I did some more hunting around, and reading out of book and find it says in hack#21 pg.63-64 to only save personal configuration settings if you plan to take the cd to other computers. Ok so i do this and probelm now the cd refuses to boot into kiosk mode

what wrong? even though all the setting for browser and stuff is there. I have put into kiosk mode.
by doing the
knoppix@ttyp0[knoppix] sudo sh -c "echo 'DESKTOP=\"kiosk\"' > etc/sysconfig/desktop"
knoppix@ttyo0[knoppix] sudo init 2 && sudo init 5
commands
You are right, since you aren't just using this disc as a kiosk for a single class of machine (a lot of kiosks are often run on almost identical hardware) you don't want to copy that XF86Config file. Copying just the personal configuration almost gives you all the files you need, except for 2. /etc/sysconfig/desktop and /etc/X11/Xsession.d/45xsession. So what you can do is run saveconfig and save only your personal configuration. Let's say that you save the configs.tbz file in /mnt/sda1. All you need to do is add the two extra files:
Code:
knoppix@ttyp0[knoppix]$ sudo bunzip2 /mnt/sda1/configs.tbz
knoppix@ttyp0[knoppix]$ sudo tar -rpPf /mnt/sda1/sysadmin/configs.tar /etc/sysconfig/desktop /etc/X11/Xsession.d/45xsession
knoppix@ttyp0[knoppix]$ sudo BZIP2=-9 bzip2 /mnt/sda1/configs.tar
knoppix@ttyp0[knoppix]$ sudo mv /mnt/sda1/configs.tar.bz2 /mnt/sda1/configs.tbz
This basically unzips the config tarball, appends those two files, then zips it back up. Now you can put that configs.tbz file on a newly-remastered CD and the X config files shouldn't get in your way any longer.
Similar Threads
-
Replies: 44
Last Post: 01-17-2008, 05:38 PM
-
By rgavel in forum Hardware & Booting
Replies: 2
Last Post: 05-22-2005, 01:16 AM
-
By metavoid in forum General Support
Replies: 3
Last Post: 12-29-2004, 04:45 PM
-
By whil in forum General Support
Replies: 2
Last Post: 12-16-2004, 10:56 PM
-
By dmpop in forum The Lounge
Replies: 0
Last Post: 09-18-2004, 02:51 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

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$319.99

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo - IdeaPad Slim 3i 15.3" 2K Touchscreen Laptop - Intel Core 7 350 2026 ...
$679.99

Laptop Lenovo ThinkPad T14 G2 Ryzen 5 PRO 5650U 16GB 500GB Black Fair
$18150.00

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99