Run script after auto login on graphical system
Hi,
I was wondering if there is a way to run a script after the autologin (don't shoot me, I'll explain why) on a restart of a server. The reason I'm asking this is that I need to execute a command to start a process on the server whenever the system is rebooted BUT this command can ONLY be run from a graphical interface.. If possible I'd like to prevent any "user-action" if the server was rebooted so any tips would be very much appreciated! Thank you very much for your help! Regards |
Quote:
|
Isn't that going to make it execute whenever that user logs in? Because it has to be executed only once.. when the server is booted...
Or am I wrong here? Thank you! |
Quote:
In fact, here are the two requirements you have specified: 1. "it has to be executed only once.. when the server is booted ..." 2. "this command can ONLY be run from a graphical interface..." You cannot have both. You must decide which one you want more, and abandon the other. Quote:
|
Quote:
BTW, needing to do this is a ugly hole to have gotten into :jawa: |
Quote:
|
All times are GMT -5. The time now is 05:44 PM. |