Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [startup]

the startup sequence, from the time the kernel goes live to when all services are up and running

Filter by
Sorted by
Tagged with
3
votes
2answers
1k views

nfs-kernel-server starts too early

I have an RPI-based NFS server with an external USB hard disk. After a recent upgrade to Raspbian 8.0 and systemd I noticed that now nfs-kernel-server seems to be starting before all file systems on ...
2
votes
1answer
4k views

How can I kill a program started from rc.local when Ctrl-C doesn't work?

I was trying to create a program that runs at start-up that takes a picture every 10 seconds (In a infinite loop) on my raspberry pi but I discovered I had made a mistake but couldn't Ctrl+C out of it....
2
votes
2answers
7k views

What is the proper way to start a driver on boot?

I have succeded (full story here) on installing some ethernet card that, according to the docs, must be manually started: # modprobe e1000bp I would like this driver startup to be performed on boot ...
2
votes
3answers
3k views

Execute a command after 10 minutes of boot

I have a CentOS Server. When the server Boots up I want to execute a command after 10 minutes of booting up. How can I do so? $ /usr/bin/curl -u admin:$PASSWORD -i -H 'X-Requested-By: ambari' -X PUT -...
2
votes
1answer
59 views

Unable to start postgres unless I type the command to restart it

Whenever I try to start my project the following error occurs. django.db.utils.OperationalError: could not connect to server: No such file or directory Is the server running locally and ...
2
votes
2answers
8k views

What is bootstrapping?

I am reading about bootstrapping and am confused because the term is used so much in tech (specially bootstrap itself as the CSS framework). But as far as I know bootstrapping in terms of Linux ...
2
votes
3answers
2k views

What is the purpose of a start up script? [closed]

So far I know the basic meaning of a script, it is a file containing shell-commands made executable by chmod +x file and able to be run by ./ file. My friend told me, he had to copy so called start ...
2
votes
3answers
129 views

Advantages of using distribution-specific configuration files over generic start-up scripts?

For example in case of Debian, one can specify network configuration in distribution-specific configuration file /etc/network/interfaces or one could use generic Sys-V scripts where network ...
2
votes
2answers
5k views

Booting into shell instead of graphical interface [duplicate]

I have a laptop with lubuntu. It's great but I wish LXDE was optional instead of autostarting. So my question is, what can I do to make it boot directly into a text only mode, not loading anything ...
2
votes
1answer
5k views

Execute a script as root at boot on Fedora 15/16

I try to run a script (tpfand) at startup, and it asked to be root to execute it. This is a script to control the fans on Thinkpad computers. Despite several attempts, I could not get ...
2
votes
2answers
283 views

Debian 9 (Stretch): Thunderbird mistakenly creating folder “.icedove” when starting

I am a victim of this bug: Thunderbird not start with .icedove folder - Debian 9 #1686 Description: When starting Thunderbird it automatically creates a directory named .icedove. If this directory ...
2
votes
2answers
23k views

How to switch from CLI to GUI Ubuntu

I am currently running Ubuntu 16.04 operating system. In order to experiment, I had asked for the way to login to Ubuntu CLI mode only (i.e. the GUI version must not start at all). In response to my ...
2
votes
1answer
12k views

Make a “java -jar file.jar” run at startup

Hello I am running a kubuntu 13.10 distro, but I guess my question is pretty general...how to make a .jar execute in background at system start?
2
votes
1answer
7k views

Can Start Service With init.d script, however doing service <SERVICE_NAME> start does not work

I am running CentOS 6 and I am trying to get my Oracle database to run at startup. I have been following these steps: http://www.oracle-base.com/articles/linux/automating-database-startup-and-...
2
votes
2answers
14k views

Set global environment variables at boot in Solaris 11

I am wanting to create a file in Solaris, so that I can export a few "items" whenever the machine is started up. i.e. I want to export ORACLE_HOME and ORACLE_SID and some other directories, of my ...
2
votes
2answers
4k views

run executable on boot

For the life of me, I cannot get this to work. I'm running Debian on Raspberry Pi. running this command from CLI: /home/pi/domotiga/DomotiGaServer.gambas -d runs my home automation server. How do ...
2
votes
2answers
3k views

Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?

My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow. While the machine boots up, there is the boring RHEL logo on the screen ...
2
votes
1answer
599 views

Ubuntu 11.04 Startup Applicatation vs /etc/init.d

Is there any difference between these two methods for application to start on boot? I need an application to start before a logon occurs and am questioning whether or not Ubuntu's Startup Application ...
2
votes
1answer
123 views

How to load your own GUI app without the rest of the GUI in Linux?

Is there a way to load my own GUI app without the rest of the GUI in Linux? It's something like running Winamp only, and practically turning your PC into a music player.
2
votes
1answer
3k views

How to start KDE Plasma 5 on start up on FreeBSD 11.2?

On FreeBSD 11.2 I have plasma5-plasma-workspace installed, along with x11/kde5 and sddm and I'd like to boot KDE Plasma 5 on boot. I've DuckDuckGo searched this topic but I haven't found any clear ...
2
votes
2answers
3k views

When is .profile executed?

I was installing an application and had trouble with understanding why the installation guide told to add an export command to the one of startup files. I did not see when it is executed. That was the ...
2
votes
2answers
48 views

Where can I find out the names and definitions of all the grub.conf kernel= parameters (specifically RHEL6)?

I'm having difficulty finding any sort of comprehensive list and description of parameters available in /boot/grub/grub.conf file for the kernel line. I've googled around but haven't found a good ...
2
votes
2answers
2k views

How to autostart KDM on boot in OpenBSD 6.0?

I have installed kde4 (via running # pkg_add kde4) on my OpenBSD 6.0 VM and I would like to automatically boot KDM on startup. I have followed the most applicable guide Google found me, but it didn't ...
2
votes
2answers
2k views

Arch linux can't login

My problem is that I can't login. If I try to loggin with correct username and password it doesn't do anything. I have error message on boot failed to create static device Nodes in /dev . This ...
2
votes
1answer
745 views

Xfce4 mysteriously starts file browser upon login

I'm using Arch Linux and currently installed Xfce4, which after I log in (using LigthDM) opens an instance of the Nemo file browser. This happens regardless what I set as the default file browser (I ...
2
votes
2answers
216 views

Kernel panic if LUKS password is bad x times

Q: Is it normal if a RHEL 6.5 machine kernel panics if I type the LUKS password a few times wrong?
2
votes
2answers
270 views

Can't get out of foreground mode in STunnel

I was trying to debug an STunnel installation on my Raspberry Pi (using Raspbian) and so I set the foreground mode to yes (which is something suggested in the official documentation). Unfortunately, ...
2
votes
1answer
914 views

Check `fsck` automatically

I need to run fsck so that it automatically fixes problems (i.e., fsck -y). And because I am using "systemd" instead of "init" in the linux system, I cannot modify the /etc/default/rcS. So what ...
2
votes
1answer
3k views

Can I force Linux to boot its initializations parallel? [closed]

I was wondering if I could manage to initialize drivers, services etc. (all these jobs what Linux does during startup) in parallel instead of sequentially. I want to aggressively lower the boot time. ...
2
votes
4answers
113 views

Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?

I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
2
votes
1answer
2k views

How to shut down Linux if idle for 30+ minutes?

We define "idle" based on how screen savers in Linux define it. I found this tool called "xautolock". I tested it like this: /usr/X11R6/bin/xautolock -time 1 -locker "notify-send test" I placed ...
2
votes
1answer
2k views

How do I start a gui framebuffer (no X) application on startup instead of console login prompt?

I have a python application that uses pygame to access the framebuffer directly without using X. I want to start this application on startup instead of showing the console login prompt. I haven't ...
2
votes
1answer
1k views

Start up ssh connection on startup

I need to start a ssh connection to a proxy in order to have access to some resources. I have written the shell script and managed to run the script successfully. However, I found it very ...
2
votes
1answer
8k views

Start a service on HPUX at boot

I'm trying to start a service on HPUX 11.31 at boot time. I generated the appropriate symlinks, but the system is not starting it up. If I run the script once the system is up, everything works as ...
2
votes
1answer
479 views

ssh.service will not start at boot if using ListenAddress in sshd_config but it will if started manuall after boot [duplicate]

I have ListenAddress in my /etc/ssh/sshd_config. ssh.service will not start at boot but it will start if I run service ssh start after boot. Here is the error from /var/log/syslog: $ sudo cat /var/...
2
votes
3answers
723 views

Random EXT4 FS errors

I'm having a wired problem in my laptop. It works fine but almost every hour the screen freezes. When I force the shutdown and start it again, I see problems similar to this: The only solution I ...
2
votes
1answer
2k views

Alpine Linux run a startup script to change the /etc/issue

I have done the following shell script that update the /etc/issue with the current ip's of all non-loopback interfaces: #!/bin/sh echo "You can use one of the following ip addresses in order to look ...
2
votes
2answers
5k views

Make grub boot on default without waiting

I would like grub(2) to boot on my main os without waiting. Every single time I start my computer, I either have to press <Enter> or wait for ten second. Is it possible for grub to boot directly ...
2
votes
1answer
110 views

Stop volumes/partitions from auto-mounting

I use Lubuntu. My Windows partitions mount every time I use the Linux OS; is there any way to keep them from auto-mounting? How can I mount a partition when I want to? /dev/sda5: UUID="B9C1-DD76" ...
2
votes
2answers
2k views

Run a script at startup as a user

Is there a way to run a script on startup as a user on Debian 7? My script is screen -dmS name ./script.sh So essentially I want to run a script on startup that would make a screen window and run a ...
2
votes
2answers
69 views

On Debian, how do I make a script that will rerun a Java program after it has stopped or crashed?

I'm running a Java server program that needs to be started with a shell script. The script needs to start the Java program again if it happens to crash or be stopped manually. I found this script ...
2
votes
1answer
89 views

Command not starting on boot

I'm trying to run this script https://github.com/oblique/create_ap on startup on my RPi with this command: /usr/bin/screen -dmS ap /usr/bin/create_ap -m nat wlan0 eth0 RaspberryAP ******, but it doesn'...
2
votes
1answer
3k views

Configure Ubuntu to always start with terminal & Xload open?

Does anyone know how to configure Ubuntu 14.04 so that when it starts up I have a terminal window open (at my specified x,y coordinates and specified width and height), and the Xload application also ...
2
votes
1answer
1k views

How can I fix my Debian's /etc/network/interfaces?

I just need to edit the /etc/network/interfaces file in my otherwise-functional Debian installation, but I can't boot up because it gets stuck at "Configuring network interfaces". So how can I access ...
2
votes
1answer
318 views

Difficulty running a command at startup

I'm using Xfce in Linux, and I need to run the following command at every startup, otherwise my touchpad is impossible to use: xinput --set-prop 13 'Synaptics Finger' 12, 12, 0 I've put the command ...
2
votes
3answers
739 views

Unable to delete files as a root user using RS232 serial cross cable

I have a device (CCTV decoder) which was rebooting itself, so can't login using LAN cable. It has RS232 port only, no VGA and keyboard/USB port (Embedded PC). I connected RS232 cross cable and used ...
2
votes
1answer
1k views

Launch a command at the end of Linux startup

I have a Raspberry without screen/keyboard/mouse that does nothing else than launching a radio stream at startup : mplayer http://95.81.146.2/fip/all/fiphautdebit.mp3 I have put this command at the ...
2
votes
2answers
8k views

Run a sudo (or startup) python script from cron on a Raspberry Pi?

I'm helping out with an art project (http://stargateeggbeater.com/ for those interested) built on Raspberry Pi. The RPi controls an addressable LED strip through the GPIO, using the spidev device per ...
2
votes
2answers
9k views

postgresql service start issues

I'm attempting to build a box via Fabric on Openstack. Part of the install involves installing and running PostgreSQL. This command works fine: $ sudo service postgresql initdb This command fails: ...
2
votes
1answer
6k views

Should I run fsck on boot for an amazon ec2 image?

I have an Ubuntu micro instance running on amazon EC2. Recently after logging in I was alerted: *** /dev/xvda1 will be checked for errors at next reboot *** I've rebooted a couple times using init ...