On Thu, Apr 08, 2004 at 09:42:58AM +0800, Pablo Manalastas wrote:
> Quoting "Winelfred G. Pasamba" <[EMAIL PROTECTED]>:
> 
> > however with this line
> > wingp:x:500:500:Winelfred G. Pasamba:/home/wingp:/usr/bin/mozilla
> > the keyboard doesn't work with mozilla
> 
> This is a wild guess, and I have not tried it, but it might work:
> 
> 1. In /etc/inittab, set init runlevel to 5, or whichever is the
> proper runlevel for graphical login for your distro:
> 
> id:5:initdefault:
> 
> 2. In /etc/passwd, keep the original /bin/sh for the login shell.
> 
> 3. Edit /etc/X11/xinit/xinitrc, or whereever the xinitrc file can
> found, and use the following as the last two lines:
> 
> mwm &  # or whichever your window manager is
> exec /usr/bin/mozilla -geometry #settings for full screen
> 
> 4. From within mozilla, disable shell out.  I do not know how
> this is done.

I've given the idea of Mozilla as the basis for a kiosk some thought.
I haven't done this, but it seems like a "chrome" for Mozilla with some
parts strategically missing would be pretty easy.  To keep it from
shelling out, just run it chroot'd.  Just give it a few libraries (use
"ldd {path}/mozilla-bin" to see which), and feed it whatever
directories/files it expects.  Run it and use "lsof" to see what it's
up to.

There's no reason to run a window manager.  Actually, I would advise
against it.  Run mozilla with full screen geometry and you're set.
Figure out how to make X restart if mozilla dies, or just restart
mozilla if it dies.

Michael
-- 
Michael Darrin Chaney
[EMAIL PROTECTED]
http://www.michaelchaney.com/
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to