|
|
|
|
|
|
|
[Original]
[Print]
[Top]
|
Hi!
I want to know the possible ways of starting a program when a user logs in, just like we place the programs in startup folder in windows, which start when any user logs in. Where are all such things available in LINUX, so that I can start them at the startup, or when the user logs in. Any response will be of great help. Thanks.
Shankar
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
I was wondering the same thing resently. I was told that /etc/rc.d/rc.local will run at startup, and ~/.bashrc will run when you log in. If you just add lines to those files it will run the commands you put in automatically.
-Tuxlover
|
|
|
----
ASUS A8N-SLI Deluxe | AMD Athlon 64 3200 | Nvidia 6600 LE 256MB Ubuntu | GNOME | Mozilla Firefox
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
if you want different users run different programs when they logon, you will edit .bash_profile located in /home/username and add the commands need to be run into this file.
|
|
|
[Original]
[Print]
[Top]
|
|
|