Logging in and running an application on start up
I have a machine running Linux Version 2.6.12.6-arm1 which I use as a music server. We get frequent power cuts and I'd like to have the machine log in when I restart it and run the music server application.
Can it be done? Tom |
Try googling "linux auto login".
If your linux box uses PAM , then you should add "pam" to the searching word list. For example , I found the page below http://littlesvr.ca/linux-stuff/arti...ginconsole.php I don't know if this link will work for you or not, though. |
there is no sense if your application not required any user input to start.
you can put the whole command into "/etc/rc.local" file. so whenever you boot your machine it will automatically start your application without login into system. Code:
#cat /etc/rc.local |
If you check your bios there may be an option to resume state, so after a cut it will reboot. As others have described, set the music server to start on boot. User logins are irrelevant for servers.
|
All times are GMT -5. The time now is 01:57 PM. |