Linux-Noob Forums
Running programs on start-up? - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html)
+--- Thread: Running programs on start-up? (/thread-2731.html)



Running programs on start-up? - Shock Wave - 2005-04-22

I've written a silly little script that starts an xterm session. I'd like this script to be run as soon as I log in. Where do I add the script to make this possible?



Running programs on start-up? - magikman - 2005-04-22


Quote:I've written a silly little script that starts an xterm session. I'd like this script to be run as soon as I log in. Where do I add the script to make this possible?

 

 

In Slackware you would add the command used to start the session in /etc/rc.d/rc.local.




Running programs on start-up? - znx - 2005-04-22


negative |Sanchez|... thats not 'when he logins in'

 

thats when the system starts up...

 

if you want it when the X starts... add it in ~/.xinitrc

 

if you want it when you login to a shell ~/.bashrc