mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Mar. 30 2005,17:15 |
|
First i'd try replacing "fluxbox" in .xinitrc with "sylpheed" and see how well that works. I've seen trouble doing this with Firefox, but i think that's a firefox issue.
I suppose there are probably numerous ways to do the "one app only" thing. The first thing i thought was to change permissions to all the non-vital programs in the system, making them 750 or 700. This should be done only to the non-vital programs...the user should still be able to run most everything in /bin.
To prevent (or attempt to prevent) the user from shutting down X and using tty, you could add another command after "sylpheed". Make a script, "restartx" for example, which has this: sleep 3 && exec startx Then add "restartx &" as the last line in .xinitrc.
I haven't tested it, but what I expect it to do is this....Sylpheed is started, and .xinitrc waits. If the user shuts sylpheed down xinitrc continues. It loads the restartx script in the background and closes itself. restartx waits a couple of seconds, just to allow x to shut down, and then restarts X automatically, putting you back in Sypheed. It might work....
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|