PDA

View Full Version : Linux n00b needs help



pcrage69
11-19-2003, 05:20 AM
Ok, I'll be the first to admit, I am a total n00b at Linux, even though I have been playing around with it for almost a year now, only in the past few weeks have I decided to become serious about learning Linux. Here is my issue:

For work I need to create a Linux kiosk that will boot from a CD and run in a kiosk mode. By this I mean, the PC needs to "auto login" and then launch a browser to a web site. The broswer and the OS can not eb changed by the user. The user only should have access to navigate the web site and thats it. I have read a lot of kiosk tutorials, and I think Knoppix is the best Distro for my choice, but I know I will need to make changes and then remaster it. Here is where I am stupid, I have no clue where to start. I have the lastest version of Knoppix and a lot of printed pages to help me, but I just can't seem to make any of the commands work. I would really appreaciate the help!

I will look like a hero if I can convince my boss to dump M$, and go with Linux. I am not afraid to tell my boss that i got help. So thanks in advance. This seems like a great community.

baldyeti
11-19-2003, 09:13 AM
Hi, did you also read this (http://www.knoppix.net/forum/viewtopic.php?t=5221#23937) tutorial? It explains how to build a kiosk system starting with Knoppix. Good luck, and don't forget to report back!

pcrage69
11-19-2003, 07:11 PM
Yes I have read that one and a few others. The biggest issue seems to be when I try the Knoppix Remastering HOWTO, the part when you copy the KNOPPIX directory to the knx\source\KNOPPIX and the knx\master\KNOPPIX, I always get an error the there is no more space left on the drive, yet the drive has about 29G free! I am sorry if I seem so stupid, but I have been a Windows guru for a long time, and getting to know the Linux commands is mind boggling to me... LOL! But I am bound and determined to become a Linux guru, no matter how long it takes, I just need help from others.

L2Cache
11-20-2003, 12:00 AM
We use a mozilla kiosk that works in linux, and an IE kiosk in windows. This page explains it:
http://www.cclug.org/wiki/Main/KioskMode

pcrage69
11-20-2003, 02:27 PM
Thanks, I will check it out and give it a whirl. I can't wait until I get some good Linux experience, I feel so stupid trying to do stuff right now, almost like when I went from M$-DOS 6.22 to Windoze 95.

The other requirement for my project though is to make the kiosk run from CD only, no HDD needed, so Knoppix seems to be my logical choice. I am just having a major issue trying to follow the tutorials on remastering. When something doesn't work as explain in them, I sit in front of the PC with a blank stare on my face :(

Again, I appreciate any help that any one can give me. I am so willing to learn!

pcrage69
11-20-2003, 09:01 PM
I wanted to give more detail on what I am trying to do, maybe it has already been done. I want to do my own remaster, but I am too dumb to figure it out! LOL!

SPECS:
Internet KIOSK running Linux - to access a jobs hiring page only
DO not use HDD
Run from CD only
PC must boot directly into browser and start the jobs hiring URL
user must not have access to anything in the OS (in other words, the user should only see the browser in full screen, no broswer menus, no OS toolbars, nothing).
The only way to get out of the kiosk would be to power it off physically (the PC is inside a locked kiosk).

I hope this better explains what I am trying to do.

Thanks to anyone who can help. I am still trying to work on the remastering, but it just isn't working properly for me for some reason, even though I am following the tutorial to a T.

L2Cache
11-21-2003, 08:22 AM
With the right version of mozilla, the mozilla kiosk will go full screen, and with no keyboard access, there is no way out. Right click can be disabled with javascript. It can be auto launched from xsession or windowmaker.

pcrage69
11-21-2003, 01:24 PM
I know I am asking a lot of someone, but is there a step by step guide on how to do this. Remeber I am rather new to Linux, and seem to be having trouble with many of the guides that I have read. Most are well written, but assume that you know many of the commands without going into detail. I am working on learning as much about Linux as I can, but the time line in which I need to get this project completed, does not allow me the time to become a Linux expert first - LOL! I have many Linux books, read online tutorials, and printed out hundreds of pages of KIOSK setup guides. Maybe I am just dumb, but I just can't seem to make everything work as written. It's my own fault for not trying to learn Linux sooner, but Windoze has been my mainstay for a long, long time, and I guess I am stuck in the M$ mindset as far as how OS'es work. I really want to switch to a Linux distro at home too. I have a few extra PC's at home running different Distros, Lindows, SuSE, and Lycoris, but I just can't seem to ween myself away from my XP box. One day I hope to be able to be the one on here offering advice, but until then, I appreciate everything that you all are helping me with.

A big thanks from PA!

L2Cache
11-21-2003, 07:22 PM
If you can leave a floppy in the pc, you could save your knoppix configuration to that; and you might be able to use just a knoppix custom boot cd without having to do a remaster.
The custom boot cd is explained on this page:
http://www.cclug.org/wiki/Main/KnoppixTricks

pcrage69
11-21-2003, 07:41 PM
Thanks I am making a little progress finally as I am picking a few things up here and there. My biggest question is how do I make the system boot directly into a full screen browser that is locked down. The user must only have access to whats in the browser window, no toolbars and no "start" menu at the bottom for the OS, in other words a true internet kiosk that can browse web pages only. I also what the system to reboot if anything happens, it can not shutdown and eject the CD, it must reboot into the "kiosk".

Thanks again!

L2Cache
11-22-2003, 07:02 AM
You could add knoppix desktop=wmaker noeject (so the cd won't eject) to your boot cheatcodes, then set up windowmaker to launch a full screen mozilla kiosk at startup (as per my Kiosk page). If you can save the configuration, then maybe you can boot into a kiosk.

L2Cache
11-24-2003, 01:07 AM
You can set up the mozilla kiosk in kde and then tweak it and run it from windomaker. With a knoppix persistent home, the setup will stick.
At boot, I use: knoppix desktop=wmaker screen=800x600 home=scan noeject
These cheatcodes can be put in a custon boot floppy or cd. Note that if you use this trick, the word knoppix must be added at the start of the append, as in knoppix desktop=wmaker rather than just desktop=wmaker. Otherwise, it will just boot into kde.
Then, at startup, windomaker auto loads the full screen mozilla kiosk I have set up.
From a terminal in windomaker, you can run saveconfig; but it didn't seem to make any difference, so I don't use it.

pcrage69
11-24-2003, 07:35 PM
I have it now that the PC boots into the OS and launches the browser in kiosk mode (full screen), but what I also need to do is have the CTRL-ALT-DELETE keys disabled in some way. Also if the PC does shut down or reboot, I need the CD to not eject but stay in the drive, so that on a reboot the PC will boot back into the OS and into the browser in kiosk mode.

Thanks for everyone help so far!

L2Cache
11-24-2003, 08:01 PM
Use the knoppix cheatcode: noeject
to prevent the cd from ejecting.
We have no keyboard connected so the user can't get out of the kiosk. Can you do that? I don't know how to disable individual keys.

pcrage69
11-24-2003, 09:15 PM
Yes, this is a Jobs kiosk, so there is a keyboard attached so that users can enter their information. I hate to be dumb again, but where do I put the "noeject" line of code. I really want to thank you for all your help!

L2Cache
11-25-2003, 05:49 AM
A google search yeilded this javascript for disabling the control key and right click. If it works, you won't be able to get out of the kiosk:
http://www.weberdev.com/phorum/read.php?f=7&i=42&t=42

Another thought: you could get a cheap keyboard and mechanically disable the control key somehow.

The knoppix cheat codes are typed in at the knoppix boot prompt as in:
boot: knoppix desktop=wmaker noeject
You can build them into a custom boot floppy or knoppix cd as described on our Knoppix Tricks page: http://www.cclug.org/wiki/Main/KnoppixTricks

You are welcome to the help. Your project got me setting up a knoppix kiosk which I had not tried before; and now I can show it to our club.