Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [startup]

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

0
votes
1answer
118 views

Debian 9: Multiple Failures During Startup

Recently I was using my notebook in a normal session when, suddenly, the network interface stopped working. I manually shut down the system (couldn't do it via LXDE neither via terminal) expecting ...
0
votes
1answer
1k views

Is there a specific SSH boot log?

My sshd won't start at bootup. I have to type it in manually (sudo service ssh start). I've posted a question on how to start ssh at bootup (How to start SSH daemon on boot on Linux Mint Debian v2), ...
5
votes
3answers
5k views

Prevent Debian from auto-assembling RAID at boot

I set up a Debian wheezy (7.6), installed openmediavault, and created a software raid 5 with that. It is listed at /dev/md127. Now I want to move that to a virtual XEN VM. To do so, I have to stop ...
121
votes
3answers
55k views

What should/shouldn't go in .zshenv, .zshrc, .zlogin, .zprofile, .zlogout?

I'm looking for guidelines on what one should and should not include in the various startup files for zsh. I understand the order of sourcing of these files, and the conditions under which they are ...
1
vote
1answer
1k views

Startup failure :Started WPA Supplicant

Why does my system boot stop at "Started WPA Supplicant"? When I try to startup up my ArchLinux it pauses at "Started WPA supplicant" I had other problems which I solved like SDDM failure. And now ...
1
vote
1answer
1k views

Missing service file for pure-ftpd

Background I want to change some options of Pure-FTPD. Since it has no config file, I need to add command line arguments. My system is Debian Stretch, which uses systemd. What I tried There is no ...
0
votes
2answers
1k views

How can I bring a specific network interface(s) down on boot, but keep them configured?

This is on a Debian/Raspbian based OS. My goal is to have one or more network interfaces fully configured, but down. I need to be able to just use ifconfig wlan0 up or ifconfig eth0 up to start them ...
0
votes
0answers
68 views

Dual Boot Win10/Linux Mint hangs on boot, Light Display fails to load

Recently I had issues with my dual boot Linux Mint/Windows 10 instillation. It wouldn't boot. My computer would turn on and it said Error: Unknown Filesystem. Then put me at a Grub Recovery prompt. ...
11
votes
5answers
61k views

How to auto-start a service (apache2) with Linux Mint

(Strangley) My installed Apache2 does not start up when logging in to Linux Mint. Running this command gets it going: sudo service apache2 start How should I attempt to start up this service upon ...
0
votes
1answer
182 views

Tiny Core: startup script and persistence

I need a very lightweight, and I found Tiny Core Linux, which I installed following this guide, but I have several problems, related to adding SysVinit (in which is based) startup scripts: Anything I ...
2
votes
1answer
6k views

start script at boot for kali linux

I'm running Kali Linux 2018.1 on a VM. I want to run a bunch of commands that I have stored in the file start.sh at startup. I know how to do this on a normal distro by going into /etc/rc.local, but ...
3
votes
2answers
2k views

Each service runs twice while booting Fedora 25

I've just installed Fedora 25. However, while starting up the computer, each initialization service runs twice (see the attached picture), or are shown twice on the screen. How can I fix that? (I'm ...
0
votes
0answers
47 views

Import value from kernel startup code to user space

I need access to a variable, an integer, whose value is determined during startup on this embedded system. The kernel is: 2.6.35.14 and the variable I am trying to access is created an used in the ...
0
votes
1answer
243 views

OpenSuse Tumbleweed: How to run a bash script on startup?

I'm trying to a run a .sh file on startup of a rPi3B+ running openSuse Tumbleweed JeOS. The script is really simple and looks like this: node /home/user_name/path/to/the/file.js here are two links I ...
0
votes
1answer
1k views

Debian startup script doesn't start

I'm trying to make a specific script load on start on Debian. I have tried to put the script on /etc/rc.local but no success. Now I have made a service script that runs my specific script. The code of ...
1
vote
1answer
209 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
1answer
2k views

How to understand the `A start job is running for Create Volatile Files and Directories ( Xmin Ys / no limit)` startup message

I am presently attempting to fix a broken (I think) Ubuntu 16.04 install on a VirtualBox install and it is hanging with the following message: A start job is running for Create Volatile Files and ...
0
votes
0answers
7 views

How to open just one app and block any other thing on session opened via xrdp

I'm using linux mint 19. I'm trying to config a computer to some people will be able to connect to it and use only one app. I mean, I'd like that when any people that connects to this computer via ...
7
votes
1answer
2k views

the --now switch of `systemctl`

As stated in the man page, systemctl --now enable servicename should enable and start the service. But it never works for me, under many different distributions. While the output of: systemctl is-...
72
votes
4answers
106k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
3
votes
1answer
413 views

Start a Qt/wayland application on top of weston on startup

I would like to launch a Qt application on start up. The application uses some of the features from weston/wayland desktop, so it should be launched on top of weston, right after weston is started. ...
3
votes
1answer
73 views

Do recent kernels have minimum memory requirements during startup?

I'm trying to upgrade the software on a very old computer: a Pentium MMX with 16 megabytes of RAM. It's currently running a 2.4.37.11 kernel. I've configured a minimal non-modular 4.14 kernel that ...
0
votes
1answer
65 views

How to writes the log on the screen during shutdown and startup (after grub)

As we know, when we startup the system (after grub) and when we shutdown the system, many logs will be printed on screen. I know that the kernel would write some logs of the kernel. But how about the ...
22
votes
1answer
903 views

One systemctl command to both start and enable

Using one command to both start and enable systemctl managed software would be useful to spare a few lines in a few scripts, making them a bit more aesthetic (not really a problem but a nice thing to ...
3
votes
1answer
9k views

How do I remove “SMBus Host Controller not enabled” message on Lubuntu VM startup?

I've installed Lubuntu (not Ubuntu) in a VMWare Workstation VM. Version 18.04. I'm getting a startup warning message I always get on my Ubuntu installs: piix4_smbus: 000:00:07.3 SMBus Host ...
2
votes
1answer
284 views

Ubuntu 18.04 VM in emergency/maintenance mode due to failed corrupted raided disk

I have a VM which has an attached raided device with fstab entry: /dev/md127 /mnt/blah ext4 nofail 0 2 The raided disks are corrupted and during startup the unit entered emergency/maintence mode, ...
3
votes
3answers
3k views

Saving linux boot messages in a file

I have raspbian running on my raspberry PI. When I switch it on, boot messages crawl on the screen. I believe it would be beneficial to read them in order to get an idea about how the system starts. ...
0
votes
1answer
88 views

Shutting down computer for night?

How can I make a script to shut down computer while I sleep? I mean, it should shut down the computer when I run the script and start the computer at 6.45 am.
10
votes
5answers
72k views

get rid of “No Caching mode page found” message during boot

during early boot, I get following error message: [sdb] No Caching mode page found [sdb] Assuming drive cache: write through If I understand correctly, this is actually just a harmless info message ...
0
votes
0answers
59 views

How to stop anonsurf from starting when system starts up

I am using anonsurf package to be able to visit some websites that are filtered by my ISP. My problem is that although I don't need anonsurf to be enabled for everyday use, it starts at the system ...
3
votes
1answer
1k views

Cannot trigger tmux script on boot

I have a tmux triggering script as mentioned below, running on Raspbian Wheezy 7.10: Step 1 #!/bin/bash # this script is called "sess" tmux new-session -d -s sess1 'sudo /home/pi/bin/myscript.py' ...
11
votes
2answers
20k views

What user runs the commands defined in /etc/rc.local?

Are the commands in /etc/rc.local ran by su by default? Do I need to specific sudo before each command or will they be ran by su regardless?
1
vote
0answers
187 views

Failed to start mariadb server

starting mariadb server as a systemd service (systemctl start mariadb-server.service) fails with error message: Incompatible header in messagefile '/usr/share/mysql/english/errmsg.sys'. Probably ...
2
votes
2answers
2k views

How can I start a wine application at startup without login?

I want to start a wine application when system startup. However this app need a Xwindow environment. I could only launch it manually by hand now, so I have to login first then start the app. I have ...
52
votes
5answers
88k views

i3wm : start applications on specific workspaces when i3 starts

How can I start applications on specific workspaces in i3 when it starts? Why is this not working in my config file? : workspace 1; exec firefox; workspace 2; exec chromium; workspace 1
0
votes
1answer
29 views

How to make Mint Update launch in the background on startup?

I'm using Mint 19 (Tara) Cinnamon. I've accidentally removed the Mint Update entry in Startup Applications and then added it again, but this time it launches in the foreground (always talking about ...
7
votes
4answers
20k views

How to start a script file on boot?

I am running a little minecraft server. I want Lubuntu to execute the following script when the server boots up. NOT on login, and NOT on restart (unless it's starting up of course). The script ...
1
vote
1answer
28 views

Autoloading a particular driver, based on a detected specific kernel

I need to write a script and determining its placement within Debian 7.9 filesystem. The script needs to be executed automatically on startup and, after checking what kernel is currently loaded (2.6....
0
votes
2answers
135 views

Add poweroff to startup script

I want to add poweroff to startup script /etc/rc.local (Ubuntu). It sounds odd or silly, the reason is I want to tease my friend for few minutes. I didn't tried it up to now. Question: Does the ...
0
votes
2answers
57 views

Does the bootloader load the kernel fully into memory

I read that the bootloader (Grub, or U-boot etc. ) locates the kernel (from maybe the HDD, or even flash memory if it's an embedded system) and loads it into memory on startup. Now, does this mean ...
1
vote
0answers
108 views

It takes forever to login

I'm using Debian testing with Gnome. For some reason it takes around a three minutes to login, after I have typed in the password and pressed enter. What could the reason be? I would love to provide ...
1
vote
1answer
1k views

Executing .jar File on Startup

I'm running a Nukkit Minecraft server on my Raspberry Pi (I know it doesn't have good hardware but I'm experimenting) and googling different ways to make a bash file for Linux. I have made the file ...
5
votes
2answers
10k views

Running program on startup (Fedora 22/ 2015)

I tried really hard to avoid posting a new question for something so basic and already answered in a hundred places, but after spending two hours on this and trying every solution out there I'm ...
1
vote
1answer
314 views

System is booting up. Unprivileged users are not permitted to log in yet

Is there a way (other than permit root login on the target machine) to work-around the following: $ ssh 192.168.0.14 user@192.168.0.14's password: "System is booting up. Unprivileged users are not ...
11
votes
5answers
100k views

Debian not booting into GUI

My problem is, that my Debian installation shows a grey screen on start up and boots into a console, instead into gnome. When I start X manually with startx everything starts fine, so the DE seems to ...
2
votes
0answers
3k views

Boot stuck at “Started TLP system startup/shutdown.” [closed]

OS: KDE Neon 5.14 based on Ubuntu 18.04 Kernel version: 4.15.0-42-generic I tried booting from an older kernel version from the grub menu, still the system won't boot. It shows a long list of ...
3
votes
4answers
2k views

Using systemctl edit via bash script?

I install Debian a lot. To do this I have a fully-automated preseed.cfg; at the end of the preseed, it downloads and runs a postinstall.sh script from my TFTP server, which does some additional ...
1
vote
1answer
58 views

Mounts of systemd service script disappear

I have a systemd service file of the following kind. [Unit] Description=Mount some special file systems After=local-fs.target Before=syslog.service [Service] Type=oneshot ExecStart=/root/some-...
0
votes
1answer
544 views

How to execute a specific sequence of operations in i3 on start-up?

Using exec in the config file would start an application on startup. Any application to be bound to a workspace when it starts using assign. However, how could one do a sequence of operations on start-...
0
votes
1answer
873 views

openSUSE 42.3 does not start up from USB - black screen after loading kernel

I tried to install openSUSE on my desktop PC and load openSUSE 42.3 to my USB stick by using SUSE Studio Imagewriter (my laptop is running openSUSE). However, after a while the screen turns black and ...