Removing or Editing a Startup Script September 9, 2005
Posted by Carthik in administration, ubuntu.trackback
Earlier we saw how to add one of your own scripts to run when you startup the computer with ubuntu on it.
Now we get to removing startup scripts, or editing them.
You can install the Debian Runlevel Configuration Tool, rcconf:
$sudo apt-get install rcconf
Then you can execute rcconf as the root user:
$sudo rcconf
and select/deselect services to start at startup by pressing the spacebar to toggle the “*”s, and then use the Tab key to get to “OK” and press Enter to save the changes. I find it useful to turn off those services that I don’t personally need, speeding up the startup process.
On the other hand, you can also do a:
$sudo update-rc.d -f
to remove the service or script from the startup scripts. This is useful if you want to stop a script, but not a whole daemon, or a script which calls a whole lot of other scripts from starting at startup. For example, you can use it to remove the “networking” script from running at startup, if you prefer to setup wireless, or ethernet netoworking after you have logged in. This is useful when you have a laptop, like I do. Of course, if you think you have made a mistake by removing something, you can always add it right back in. Refer to
$man update-rc.d
for more instructions and details on update-rc.d
hmm…and what about bum? Boot-Up Manager. to my mind it does all the same, only in GUI.
$sudo apt-get install bum
http://easylinux.info/wiki/Ubuntu#How_to_install_Boot-Up_Manager_.28BUM.29
rcconf appears to be a weak tool. I’m trying to remove gdm from the startup, but it doesn’t even show it as an option – yet the gdm scripts are there in the /etc/rc.* directories. bum at least show gdm, and offers to change its runlevel priority, but doesn’t seem to offer an option to simply remove its startup scripts. Debian must have a real tool for this somewhere, right? Or does it try to stop users from really controlling their systems – or is it just Ubuntu that’s like this?
Real Player 10 does not work on my Ubuntu partition. Upon searching blogs it says that I need to edit line 73 in the realplay file in /usr/bin/realplay10.0.8 from @REALPLAY to aoss @REALPLAY, but I cannot edit the file as it says I have no right.
Can some one tell me how can I edit the file?
@Adi
You absolutely shouldn’t ask it here. However, I guess you should just type:
sudo gedit THEFILE
Leave it to Ms Lohan..hahaha
wow rconfig is crap… bum is definitly alot nicer.. technically couldnt you just use the sessions in the system -> preferences?
[…] Removing or Editing a Startup Script « Ubuntu Blog $sudo update-rc.d -f FOO remove (tags: ubuntu bash shell startup remove script) […]
+1 on BUM
I have been using the command line tool but am glad you told me about BUM
Way better and easier way to disable the start-up bloat
BUM is better that rcconf.
Apart from gui,it also has other features.
Thanks for helpful information bayan escort siteleri you catch up us with your sagol instructional çok explanation.
rcconf appears to be a weak tool. I’m trying to remove gdm from the startup, but it doesn’t even show it as an option – yet the gdm scripts are there in the /etc/rc.* directories. bum at least show gdm, and offers to change its runlevel priority, but doesn’t seem to offer an option to simply remove its startup scripts. Debian must have a real tool for this somewhere, right? Or does it try to stop users from really controlling their systems – or is it just Ubuntu that’s like this?
I like this website very much so much excellent information.
Good post.You did a well work,and offer much effective imformation for us!Thank you!please
Really nice information this edit will remove the program from beginning immediately when you start your Windows-based computer and may also reduce the time it takes for your computer to boot up.
Health has been good to your site on your hands ad
Health has been good to your site on your hands ad
Adult Sex Toys