Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I would like to set up a guest account that will automatically start x and mozilla, nothing more. I tried the Public Web Browser HOWTO and it didn't work (X would start up and instantly quit). I tried modifying the xinit file in /etc/X11/xinit to launch Mozilla instead of gnome, but that affects all users not just guest. I've also done some investigating in the X man page, and it sounds like I might have to do some stuff with xdm, but I'm not sure what that is exactly or what to do.
So how do I get a public web browser only guest account working?
P.S. would it be ok to put a message in my /etc/issue saying "use login: guest and password: guest for web surfing"?
Which will open up Mozilla in a new x session with no WM, you'll probably want to make Mozilla fullscreen with F11 though, and of course, be sure to give guest very little in the way of permissions. When Mozilla closes however, the X session will as well, so that could be a problem.
I tried doing what contrasutra said and X starts up fine with only Mozilla, but keyboard behavior is weird. I can use type-ahead find in Mozilla, but I can't type in the address box. I click it and try typing, but nothing happens.
What do I do? I've noticed that after clicking various things and typing stuff I can sometimes access the address box, but I'm not sure what exactly is making that so.
I've also investigated setting up web kiosks. One thing you'll want to watch out for is that the user can type / or /usr/bin or whatever into the URL field, and mozilla will act as a local file browser. This could be a big problem. I know that the normal (non-root) user in Linux is not too powerful, but he can still change things and delete things that he happens to own. You might want to see if you can run mozilla in a chroot'ed environment. That would also prevent them from downloading junk. And if you get it to work, please let me know!