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
0
votes
1answer
344 views

How to run a “Keep NumLock always on” command in Linux Mint 19 Cinnamon on each reboot / re-login?

In an answer of my question on Code Review: Keep NumLock always on in Linux (C++), I am pointed to the right solution for this problem, that being a command: setxkbmap -option numpad:mac which ...
0
votes
1answer
39 views

How to run files automatically after I power on my raspberry pi?

Is there anyway to have files (texts/videos) saved in a specific folder to run automatically once I start up my raspberry pi? I am creating a LAN of raspberry pi's with one central laptop connected ...
0
votes
1answer
580 views

Run script at startup as root after everything has finished

I have an IoT device with a barebones Linux distro on it. No crontab, chkconfig, or update-rc. How would I go about running a script when the device has started, after everything on the device has ...
0
votes
1answer
93 views

Debian monitor out of range after install

I've tried adding nomodeset to the boot options from grub at startup (press "e" etc...) but it doesn't work. I also tried adding vga=795 and although it did work it doesn't get saved plus it's ...
0
votes
1answer
236 views

How can I start a service after PostGres has booted?

I'm using CentOS 7. I have a nodeJS server I want to run as a service, but I would prefer the service started after my PostGres 9.6 server had booted. I tried specifying after in my service ...
0
votes
1answer
203 views

25s between systemd startup and actual display

I am trying to reduce startup time of a Beaglebone (4.14.32-ti-r42 #1 SMP Thu Apr 5 23:13:09 UTC 2018 armv7l GNU/Linux) running Debian Stretch to display a local HTML page on its LCD. Every analysis ...
0
votes
1answer
40 views

Running a custom daemon on start up

I've got a small project that's based around a raspberry pi. A central part of this project is for my program to be executed on start-up and run until shutdown, all while running stand-alone (that ...
0
votes
1answer
103 views

BOINC launches on Ubuntu startup. How to remove program from startup bash script directly?

I have installed BOINC platform. And now it launches on OS startup. Can't find it in Startup Applications Preferences. Please help me to prevent it from start using command line. Thanks in advance.
0
votes
0answers
318 views

Automatic startup network interface in LXC container

I have a fedora 27 LXC container inside a proxmox VE 5.1 The network config is working fine, I've added a Linux Bridge using the subnet 172.27.1.0/24 and the container is "connected" to the network. ...
0
votes
1answer
947 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 ...
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
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 ...
0
votes
1answer
563 views

I cant get my sh script to run at boot in rc.local

Here is my /etc/rc.local: #!/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 # value on ...
0
votes
0answers
543 views

How to configure rc.local with shell?

I need to set a reverse ssh connection for an Ubuntu server 16.04. I searched different ways to write in a file with a variable but I didn't find one for my case :( the command to be executed: ...
0
votes
1answer
461 views

Delayed script to boot exagear and skype using RPI3 on debian

I'm using Exagear desktop to run Skype on RPI3 (Raspbian/Debian). I have some naive users also using the system because of which I want to load both of them on boot (maybe delayed startup service). I ...
0
votes
0answers
867 views

KDE: startup script doesn't work

OS: Linux Slackware 14.2, GUI: KDE. I have a touchpad on my laptop and it bothers me a lot when typing, so I decided to disable it. It can be done with command: bash$ synclient TouchpadOff=1 To do ...
0
votes
2answers
908 views

Linux Mint 18 / Update problem/ DNS problem / Run script on startup

I have Linux Mint 18, and always (with Linux Mint 17 too) have a problem with the connection to some repositories in the update option. The solution that I found is to run this in terminal and it ...
0
votes
2answers
275 views

grub in centOS, I can't start my Server

I was changing my HD with a (Windows Program for Partitions), now I can't start the server, CentOS. I remember this: /etc/grub.conf & default=1 timeout=10 splashimage=(hd0,4)/grub/splash.xpm.gz #...
0
votes
1answer
207 views

Systemd pause boot while script runs

I have a script that I want to run at boot, and whilst it runs I would like it to pause the boot process. I have tried the systemd service [Unit] Description=setup script Before=default.target [...
0
votes
1answer
789 views

rc.local can't launch my program (raspbian linux)

I have a c++ program that is running perfectly fine if I run it by executing, sudo /Morreels/./launcher Sadly the same line (without sudo) won't work in the rc.local file on startup... When trying ...
0
votes
1answer
218 views

Running script at startup and exiting gracefully at shutdown

I am currently running a script at startup using /etc/rc.local. The problem is that during shutdown, it does not exit gracefully. This can cause (important) data loss. My script has a SIGINT handler ...
0
votes
3answers
2k views

Startup script needs root permissions

I have a script that I need to run at startup. I have it in init.d. I need to execute one of the commands within the script with root permissions. How do I go about doing this? Edit 1: For reference,...
0
votes
1answer
239 views

iso installed debian 8.2.0, but boot fails with strange textscreen artifact with red character

I got it to install on dev/sdb from DVD. (debian-8.2.0-amd64-DVD-1.iso) Basic install, default desktop. No extra packages from DVD#2#3 or via package manager installed. During startup, the ...
0
votes
1answer
118 views

Mysql init.d to systemd

I have two mysql instances on a centos 7 machine. init.d handles start on boot. problem is, only one instance starts on boot. both instances uses two different ports. Can someone help me with how to ...
0
votes
0answers
131 views

How can I automatically minimize all startup programs?

I have set around five programs to run at startup and it's annoying when they take all my screen space. The worst offender is probably the Steam client that starts in fullscreen mode. How can I ...
0
votes
1answer
2k views

lsyncd won't start at startup

My os is mint 17.2 First off, when I start it with: sudo /etc/init.d/lsyncd start it starts. But when I reboot my system it isn't started by default. How do I have it start at boot time? I had ...
0
votes
1answer
36 views

USB wifi driver not loading until after graphical interface, and login is complete. How can I speed this up?

I would like to move the launch level of usb wifi dongle. How would I go about doing that in linux? I looked in /etc/init.d/ but I don't see my wifi dongle. I'm using these drivers https://github.com/...
0
votes
0answers
177 views

Debian: Add start up script to bootable USB

So I've installed WANem and the only way to download it is by downloading a WANem custom version of Knoppix OS with WANem already installed. I want to add a start up script to configure something ...
0
votes
1answer
818 views

Linux Sudo Without Password Prompt [duplicate]

I want to run a bash command at startup (~/.config/autostart/myCommand.desktop) that requires sudo, but rather than it prompting me every time, I would like to include the password in the command, ...
0
votes
1answer
1k views

Starting Debian mono application (that has a GUI) AFTER boot is done [duplicate]

I've been trying to figure out how to start an application after Debian (Wheezy) is done booting up and on an LXDE desktop session. It is a mono C# application. The script I have is simply mono /home/...
0
votes
1answer
46 views

Start App On Bootup - Debian

I have a ts3.desktop file in my /usr/share/applications folder that I want to run on system boot. I have typed the following commands which don't work crontab -e Then in the editor, I typed @...
0
votes
1answer
434 views

Set background image at the decryption screen in Debian

I have Debian with full disk encryption. It's possible to set an image as a background instead of a simple console when system asks you for the disk decryption password?? To make something like: In ...
0
votes
0answers
2k views

Ubuntu: freezing on startup

I recently installed Ubuntu 14.04 on a new ThinkPad laptop as a dual boot with Windows 8. It has been running for a few days without issue. However, when I booted my computer today, it got stuck on ...
0
votes
1answer
925 views

Curl fails to download a file during start up

I am adding startup script in Ubuntu with update-rc.d. My script says : #!/bin/bash nohup curl -C - -o ~/Downloads/linuxmint-17-xfce-dvd-64bit.iso.part 'http://mirror.umd.edu/linuxmint/images/...
0
votes
1answer
584 views

System freezes on startup

Lately my Arch Linux desktop freezes more frequently after I boot it up. Now it happens about 4-6 times before I finally get a complete startup. It freezes as different points, sometimes at a message ...
0
votes
1answer
3k views

Indicator-cpufreq doesn't start on login

If I run indicator-cpufreq in the console it will start up just like it is supposed to and appear in the panel. However, if I place the same command in the startup programs it doesn't appear on ...
0
votes
0answers
25 views

Start a software on a specific workspace at startup [duplicate]

Is there a way to automatically launch a specific software on a specific workspace (i.e. 1, 2, ...)? I'm using Debian sid with Xfce 3.14.
0
votes
1answer
355 views

Removing Gnome GUI and Booting From CLI

I'm running an ARM version of Ubuntu provided by Linaro. I'm not 100% sure on current version as I'm re-installing using the manufacturing tools (I want to say its Linaro 11.10). However, I was ...
0
votes
2answers
136 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
1answer
40 views

Is it possible to save in a log everything the system outputs when I turn it on?

I am using a BeagleBone Black without any screen. It works fine, but sometimes when I turn it on it hangs and have to reset. I do not know why this is happening and since I cannot see whatever it is ...
0
votes
0answers
580 views

Where to check battery state and set CPU governor/performance level during boot?

My laptop supports setting a "performance level" (normal, overclock or silent) that influences the CPU clock rate and fan speed beyond the usual CPU governor setting. The level is set to "normal" by ...
0
votes
1answer
152 views

How do I prevent Xorg from loading one-time?

My current Xorg configuration is freezing the machine (and text based terminals don't seem to work). Is there a way (e.g. holding down a hot-key) I can prevent the loading of X at boot time? I cannot ...
0
votes
1answer
3k views

LinuxMint 14 x64 halts during startup at: stopping samba auto-reload integration

My Lenovo Y500 intel i7 nvidia gt 560m LinuxMint 14 x64 halts during startup at: stopping samba auto-reload integration No error shown. No login prompt. I accidentally executed this in the wrong ...
0
votes
0answers
976 views

Ubuntu cannot start from terminal

Ubuntu 12.04 By a mistake, I stopped lightdm. Then switched to tty1, and rebooted. Now, After startup, It just came a black screen with a cursor, can type nothing. I tried Ctrl+F1 to F12 (and Ctrl+...
0
votes
1answer
975 views

Autorun Tomcat in Linux Mandriva - java.io.IOException: invalid argument

Here's the autorun script, which i use - #!/bin/sh # description: Tomcat start/stop script # chkconfig: TOMCAT_PATH=/java/apache-tomcat-7.0.32/bin TOMCAT_START=$TOMCAT_PATH/startup....
0
votes
3answers
78 views

Start systemd service after network is up

This is the first time that I have to mess around with systemd. I can't find a solution how to manage, that my service starts after the network is up. I try to start knockd.service on startup on my ...
0
votes
2answers
3k views

How to edit /etc/sysconfig/iptables from: RESCUE MODE boot?

Let's say the /etc/sysconfig/iptables needs to be edited because, due to it I can not ssh to my server. I start my server in "Rescue Mode", but when I login, there is no such thing as /etc/sysconfig/...
0
votes
2answers
380 views

systemctl start depending on tty

I would like to start Apache automatically on my machine, but only if I login from TTY1 (I do not run a display manager). If I log in from any other TTY, it should not start. I tried this in my ...
0
votes
1answer
2k views

How to change the resolution on screen at Startup in Fedora?

I have just installed Fedora 22 and am new to the Linux environment. My problem is this, at startup the GPU doesn't seem to auto detect the resolution of my monitor. xrandr --newmode "1440x900_60.00"...
-1
votes
2answers
34k views

Execute a script shell automatically on startup in ubuntu? [closed]

I did a lot of research on this and I saw a lot of ways on how to do this. However, none of it seems working for me. For example, I did something like this: ~/.config/upstart/text.config I created ...