autorun script on login

Jonathan Hartje hartje at arlut.utexas.edu
Mon May 16 15:52:50 MDT 2005


Joseph,
    Thanks for the info. Would the follwing work for waiting..?

.xinitrc:

   #!/bin/bash

    EXEC="/home/demo/runtime/bin/DEMO.sh"

    $EXEC start >/tmp/DEMO.log 2>&1

    sleep 20;

    exec startkde &

    wait;

    $EXEC stop

#End of xinitrc



Joseph E. Sacco, Ph.D. wrote:

>Take a look at
>
>	~/.bash_logout
>
>There are other options...
>
>-Joseph
>
>On Mon, 2005-05-16 at 13:09 -0500, Jonathan Hartje wrote:
>  
>
>>Joseph and Mark,
>>    Thanks again. The .xsession did the trick! I read the info Joseph 
>>pointed me to; However, I'm now in the same situation but the reverse 
>>timing. Is there an equivalent file which gets sourced on logout? I'll 
>>need to reset the software on logout so the next user that comes along 
>>gets a fresh runtime. I'm half way there.. Thanks.
>>
>>Jonathan
>>_______________________________________________
>>yellowdog-general mailing list
>>yellowdog-general at lists.terrasoftsolutions.com
>>http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>>HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>>    
>>


More information about the yellowdog-general mailing list