![](https://seccdn.libravatar.org/avatar/3d65ce348306eb0e36a6ec890e3e1b2d.jpg?s=120&d=mm&r=g)
On Wednesday 05 February 2003 16:59, Richard Fletcher wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday 05 February 2003 15:54, Prabu Subroto wrote:
Hi everybody....
I am using KDE 3.0.x not yet 3.1 and SuSE Linux 8.1 .
I have written a web enabling database application with PHP4. The users use the application with internet browser mozilla.
My boss said that his sellers may only use the internet browser for the database application.
So how can I lock everything in KDE 3.0.x ? I want after the user login, the mozilla will be automatically launched. I also want if they close the mozilla than the user will be automatically kicked out (log out).
Is it possible with KDE 3.0.x? Do I have to upgrade 3.1 ?
Since your using mozilla kde doesn't come into it. I had a go at doing what you described and was partially successful.
I edited ~/.xinitrc to change the line exec $WINDOWMANAGER to /usr/local/mozilla/mozilla -- -geometry 1280x1024-0-0
and altered ~/.bashrc so that the last line said "exit"
The idea being that when that user logged in they got mozilla, instead of a window manager, and mozilla would be opened up to fill the screen. When mozilla died a shell would appear, don't ask me why, but by adding "exit" to ~/.bashrc it disappears. With nothing left to do the xserver shut down.
The only problem is that mozilla didn't fill the screen, anybody know why?
Yep, there's a problem with mozilla not obeying the --geometry instruction. I wrangled with this for some time before realising it wasn't me at fault. You can get into and edit the file .mozilla/default/[strangenumber].slt/ localstore.rdf and change the resolution, though - if you then make that file read only, mozilla will start at the appropriate size even if your punters have found a way to alter the size. You're looking for lines like this: <RDF:Description about="chrome://navigator/content/ navigator.xul#main-window" width="800" sizemode="normal" height="600" screenX="0" screenY="0" /> You can fix other things directly in this file too, although they can just as easily be fixed by choosing the options in the running application and then making the file read only. No doubt there are much better ways, but that's the workaround I blundered across, HTH Fergus
- -- Richard Fletcher, Sheffield, UK. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+QULgFv+mlSC+6l4RAvHpAJ9lGfKGsinbYOcFloyljdSDY7SbdACeOhYL 92OrM750L1cQ9Uptj+Mq/fA= =+9xP -----END PGP SIGNATURE-----
-- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk