Email Station?


Forum: Other Help Topics
Topic: Email Station?
started by: LordKurgan

Posted by LordKurgan on Mar. 30 2005,14:49
Hello what would be the easiest way to creating a email only station from DSL? I guess what i'm trying to really do is only allow one GUI app to run. Any idea's how to do this? (it would be a hard drive install)

Thanx,
LK

Posted by mikshaw on 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....

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.