Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Email Station?, looking to make a email station from DSL< Next Oldest | Next Newest >
LordKurgan Offline





Group: Members
Posts: 1
Joined: Mar. 2005
Posted: Mar. 30 2005,14:49 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 30 2005,17:15 QUOTE

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
Back to top
Profile PM WEB 
1 replies since Mar. 30 2005,14:49 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Email Station?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code