Questions tagged [startup]
For questions regarding the processes that automatically run after booting.
1,780
questions
765
votes
10
answers
1.6m
views
How to run scripts on start up?
How can I run scripts automatically when Ubuntu starts up so I don't have to run them manually after startup?
449
votes
34
answers
395k
views
How can I deactivate Bluetooth on system startup?
How can I deactivate Bluetooth on system startup?
195
votes
3
answers
444k
views
How do I run a single command at startup using systemd?
I'd like to startup an Apache Spark cluster after boot using the following command:
sudo ./path/to/spark/sbin/start-all.sh
Then run this command when the system prepares to reboot/shutdown:
sudo ./...
154
votes
2
answers
358k
views
How do you get a list of all starting services?
I know about the update-rc.d SERVICE OPTIONS command to add and remove services from startup, but how do I use it to get a list of all the services that are currently configured to start at startup?
...
147
votes
20
answers
556k
views
"dev/sda1: clean, ..." This message appears after I startup my laptop, then it won't continue booting
dev/sda1: clean, 552599/6111232 files, 7119295/24414464 blocks
After I turn on my laptop this message appears. The system never boots, the message just stays there.
140
votes
5
answers
548k
views
How do I run a script at start up? [duplicate]
I have a script in a folder:
/path/to/my/script.sh
I need this script to run every time the system starts (even if no one logs in to the system). What do I need to do in order to make this happen?
112
votes
2
answers
299k
views
How do I disable the boot splash screen, and only show kernel and boot text instead? [duplicate]
I'd like to be able to disable the Ubuntu splash screen that I see on boot with the indicator meter of progress, and replace that with a text-only readout of the boot up process (such as you can get ...
111
votes
8
answers
188k
views
How do I manage applications on startup in GNOME 3?
I had a nice GUI for changing startup applications (after logging in) on GNOME 2. How can I start that application on GNOME 3?
Where can I download it? What is the package name? What command is used ...
106
votes
2
answers
321k
views
Unable to format USB drive with Disks (udisks-error-quark, 0)
Upon trying to make a startup disk (USB) for Ubuntu 12.04, the system prevented boot loader installation. I'm getting message:
Error synchronizing after initial wipe: Timed out waiting for object (...
105
votes
7
answers
92k
views
No Dropbox icon in the indicator panel?
I have recently installed Ubuntu on my machine and everything has been working fine, except I don't see the Dropbox indicator. I have installed and re-installed Dropbox multiple times and can confirm ...
101
votes
4
answers
517k
views
How can I make /etc/rc.local run on startup?
I have a script I would like to run when my system starts and have put it in /etc/rc.local, but it doesn't work. How can I enable it to run on startup?
85
votes
4
answers
362k
views
How to install an init.d script?
I am trying to install an init.d script, to run celery for scheduling tasks.
Here is the steps I followed:
copied the file celeryd and pasted it in folder /etc/init.d/
created a configuration file ...
80
votes
3
answers
182k
views
disable services on startup in ubuntu [duplicate]
I installed these applications on my Ubuntu:
nginx
php5-fpm
mysql server
redis
...
These applications run every time the computer turns on.
How can I prevent these applications from running on ...
80
votes
11
answers
134k
views
How do I improve boot speed?
I have seen many videos that make Ubuntu faster, but these methods only make desktop performance faster.
I am looking to make my computer boot faster. Is their anything I can do to make Ubuntu boot ...
76
votes
2
answers
17k
views
Can I make the webcam take a picture when an incorrect password is entered?
I am using a laptop . I was thinking to have a support in my Ubuntu machine. When an incorrect password is entered, a picture is taken later revealing who has been trying to gain access.
I have ...
67
votes
1
answer
180k
views
How to run a command at login? [duplicate]
I need to run the following command (with real parameters) after login:
ssh -f [email protected] -L 54321:example.com:54321 -N
I need it only for my user, not all users on the machine. Also, I need ...
64
votes
4
answers
476k
views
How can I start Ubuntu in Safe Mode?
I did a clean install of Ubuntu 12.04 on an Acer AX1430G desktop. Everything went fine until I installed the additional ATI driver.
When I rebooted the computer, my monitor gives a "signal out of ...
63
votes
18
answers
57k
views
How can I prevent Skype from starting automatically on boot?
How do I prevent Skype from automatically starting every time I boot my Xubuntu 12.10 netbook?
Things I've tried:
Removing it from the Settings Manager->Session and Startup->Application ...
63
votes
6
answers
92k
views
How to make Guake start at login?
I had to reinstall Ubuntu and always used Guake Terminal and it was always starting when the desktop appeared and I only pressed F12 and it did everything I had to.
But now it doesn't start ...
60
votes
5
answers
94k
views
How do I add/remove the "hidden" startup applications?
How do I manage (add/remove) all the startup applications in Ubuntu 11.10 and up?
Startup Applications doesn't show all the applications which are started during boot.
60
votes
11
answers
49k
views
How do I save/remember last-used window position and size for applications?
When I log in Ubuntu, I would like all windows opened at previous session (terminal and Firefox mainly) to be re-opened automatically at the same size and position.
How to proceed?
53
votes
3
answers
79k
views
Ubuntu 20.04 Failed to Set MokListRT: Invalid Parameter
I have a MacBook Pro and only use Ubuntu on it. I just upgraded from 18.04 to 20.04.
Now when I start the computer it says:
Failed to Set MokListRT: Invalid Parameter
Could not create mokListRT: ...
52
votes
8
answers
58k
views
Remove evolution-calendar-factory from startup
Is there a way of removing it from startup?
I don't need it and I'm not using evolution at all.
52
votes
3
answers
57k
views
Where are startup commands stored?
When you go to "Startup Applications", you see a list of commands that are executed at startup and you can add your own.
I would like to know where this list is stored. Is it in gconf somewhere?
...
52
votes
1
answer
33k
views
"CRITICAL: We failed, but the fail whale is dead. Sorry..."
When I started up my machine today I got some quite bizarre messages in my syslog:
...
Aug 17 18:58:15 Floral-Towel systemd[1349]: Startup finished in 266ms.
Aug 17 18:58:15 Floral-Towel systemd[1349]...
52
votes
2
answers
20k
views
bashrc or bash_profile?
I know the difference between the two bash login scripts:
.bashrc is run only by "non-login" shells.
.bash_profile (or .bash_login or .profile) is executed by "login" shells.
Does anyone have some ...
50
votes
8
answers
234k
views
Why is the command in /etc/rc.local not executed during startup?
I have a single command in my /etc/rc.local script that is supposed to start the update daemon for Tiny Tiny RSS during startup, but the script is not executed during startup. Why?
The entire /etc/rc....
48
votes
3
answers
103k
views
How can I make a specific set of iptables rules permanent?
Is there a "best practice" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot?
I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx).
Thank ...
47
votes
6
answers
74k
views
How can I delay a specific program on startup?
How to delay a program such as cairo-dock (No openGL) or Firefox?
Sometimes programs crash when started with other startup apps. I want programs to start 10 seconds late to avoid a crash.
46
votes
4
answers
54k
views
im-launch in Ubuntu startup
I found this im-launch startup entry after installing Ubuntu 19.10 which executes
sh -c 'if ! [ -e "/usr/bin/ibus-daemon" ] && [ "x$XDG_SESSION_TYPE" = "xwayland" ] ; then exec env ...
44
votes
6
answers
118k
views
How do I save my new resolution setting with xrandr?
I found somewhere in a forum the solution to a problem where the only resolutions available were 800x600 and 1024x768. I managed to get 1440x900, which works very well. Every time I reboot, this mode ...
44
votes
1
answer
32k
views
Which to use - systemd OR supervisor?
I have a plugin for alerting on elasticsearch.
This is run manually everytime
python -m elastalert.elastalert --verbose --rule example_frequency.yaml
By this way have to dedicate a screen to ...
41
votes
6
answers
211k
views
Starting OpenVPN client automatically at boot
I'm trying to get OpenVPN to start automatically at boot. Today I have to manually type in
sudo openvpn --client --config $HOME/openvpn/anonine.ovpn --ca $HOME/openvpn/anonine.ca.crt
followed by ...
41
votes
6
answers
197k
views
Lightdm not starting on boot
I installed gdm for a while as my display manager, and after removing it, lightdm does not start by itself. I instead have to login to a tty, and run sudo start lightdm.
Running dpkg-reconfigure ...
39
votes
4
answers
46k
views
Telegram at Startup?
I've installed the latest Telegram App (v 0.8.32) On my Ubuntu 14.04.
I want Telegram to run minimized at startup in Tray and show me new messages but I can't because In the app settings there isn't ...
37
votes
7
answers
46k
views
how to stop apache2, mysql from starting automatically as computer starts?
My os is 11.04.
I have apache2 & mysql installed.
How to stop apache2, mysql from starting automatically as computer starts?
37
votes
7
answers
93k
views
"Waiting for network configuration" adding 3 to 5 minutes to boot time
I get the following pieces of information at the startup, takes about 3 to 5 minutes, while normally about 1 minute:
Waiting network configuration
Booting system without full network configuration
I ...
36
votes
4
answers
137k
views
Why doesn't rc.local run all my commands, and what can I do about it?
I have the following rc.local script:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# ...
36
votes
4
answers
70k
views
Start MySQL on Startup
I installed MySQL, and changed the configuration so the databases are stored on a separate hard drive. In the process MySQL has stopped starting up automatically. When I start the computer, I need to ...
35
votes
11
answers
411k
views
mysql server start failed
I am running ubuntu server.
When I tried to login to mysql(which was running),I got the following error
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/...
35
votes
4
answers
76k
views
How to get rid of cloud-init?
I'm using Ubuntu 14.04 image as my base box for vagrant. Unfortunately this base box contains cloud-init which causes many problems during starting-up the machine: https://github.com/mitchellh/vagrant/...
33
votes
11
answers
109k
views
Start Dropbox on Startup
I installed Dropbox (2.0.26) via the command line instructions here.
Dropbox is running great except that it won't start on startup. The command given, ~/.dropbox-dist/dropboxd, runs fine via the ...
30
votes
11
answers
56k
views
How can I run a program on startup, minimized?
I just want Telegram to be run and I have added it to startup apps. The point is that I need it to be minimized. Any commands?
29
votes
7
answers
123k
views
How to make a jar file run on startup & and when you log out?
I have no idea where to start looking. I've been reading about daemons and didn't understand the concept.
More details :
I've been writing a crawler which never stops and crawlers over RSS in the ...
27
votes
5
answers
27k
views
How can I stop mongodb from starting on system boot
I installed mongodb for learning purpose, the problem I am facing is that it starts on system boot and consume resources even if not being used. I want it to be removed from system boot, how can I do ...
26
votes
2
answers
100k
views
17.10: How to auto mount drives on startup? [duplicate]
Every time I log in, I need to go to disks and mount all my partitions manually.
How can I make it automatic?
26
votes
2
answers
86k
views
How can I get autologin at startup working on Ubuntu Server 16.04.1?
I have a problem with autologin at startup in Ubuntu Server 16.04.1 LTS.
I use this server only for listening internet radio so I do not care about security.
I was able to create a bash script to ...
25
votes
2
answers
69k
views
How to disable OpenVPN from autostarting at boot-up or reboot?
I am using Ubuntu 12.04.2 LTS, 64-bit, OpenVPN client 2.3.1
How do I prevent OpenVPN from autostarting at boot-up or reboot?
25
votes
3
answers
12k
views
How can I delay dropbox from starting, but not disable it?
When I log into my user account on Ubuntu 10.10, there is a unsatisfying delay before my system becomes usable. Even launching a terminal, I have to wait a few seconds before the bash prompt appears. ...
23
votes
3
answers
26k
views
Remotely turning on computer?
I need a simple way to turn on my dell optiplex remotely, and shut it off. Its running ubuntu 13.04. How would i go about that? would i need a separate device to press the power button, or would it ...