Lord Kenneth Posted February 23, 2004 Report Share Posted February 23, 2004 How can I have it so mldonkey starts up on bootup without putting it in the rc.local file? If I do that, then scripts after rc.local can't initialize and I'm basically screwed out of the operating system if X can't load for whatever reason. Quote Link to comment Share on other sites More sharing options...
fissy Posted February 23, 2004 Report Share Posted February 23, 2004 if you use gnome, you can add it to your default session, look around the gnome settings in preferences:/// Quote Link to comment Share on other sites More sharing options...
Lord Kenneth Posted February 23, 2004 Author Report Share Posted February 23, 2004 With the way mldonkey works, it prevents all other scripts from initializing after it because that's how it stays on. If I do that the splash stays on the screen. Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 23, 2004 Report Share Posted February 23, 2004 How did you put it in rc.local? If you do it with sudo -u [yourusername] mldonkey & or something like that, it should work nicely. Quote Link to comment Share on other sites More sharing options...
Lord Kenneth Posted February 24, 2004 Author Report Share Posted February 24, 2004 How did you put it in rc.local?If you do it with sudo -u [yourusername] mldonkey & or something like that, it should work nicely. I bet that's it, thanks! Quote Link to comment Share on other sites More sharing options...
Lord Kenneth Posted February 26, 2004 Author Report Share Posted February 26, 2004 Uh-oh, it's not working. For example, when I try it normally in console: [root@localhost kenny]# sudo -u mldonkey /var/lib/mldonkey/Desktop/mldonkey-2-5-12/mlnet Fatal error: exception Unix.Unix_error(1, "mkdir", "/root/.mldonkey") Quote Link to comment Share on other sites More sharing options...
aRTee Posted February 26, 2004 Report Share Posted February 26, 2004 Can you not make a startup script in your /home/mldonkey/bin that just performs the right commands? And then have that script executed by root with sudo? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.