A message from our CEO about the future of Stack Overflow and Stack Exchange. Read 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
2
votes
1answer
5k views

Cannot add startup service to openWRT from init.d

I have openWrt installed on a TP-Link TL-WA901N/ND v3. I don't have luci package installed because I don't have enough space, so I can only do thing via cli. What I'm trying to achieve is to create a ...
2
votes
1answer
532 views

System freeze on “setting up alsa”

I use Debian wheezy and I boot the computer and get stuck in the line: [....] setting up alsa .... It freezes, it only responds to "REUSIB" (Emergency Reboot With Magic SysRq), but it is unusable as ...
2
votes
0answers
131 views

Scripts cannot run simultaneously on startup

I want two scripts (Server_drive, Server_video_boot) running on startup, but there is conflict between them. Specifically, there is always running the script with the lower priority. I tried with many ...
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 ...
2
votes
1answer
1k views

how to correctly delay the execution of a startup script based on a tested condition?

I need to start a service (namely ntp) only when true Internet connectivity is in place (not only a link up). I seem to have noticed that some startup scripts delay themselves when a condition is not ...
2
votes
0answers
127 views

Run script when window manager loads using root owned 700 autostart file

One of the 3rd party proprietary GUI software I use requires typing login credentials every time I log in to my Cinnamon desktop. It does not support autologin of any kind. Therefore, I decided to ...
2
votes
0answers
82 views

Find out if system startup was initiated by rtc alarm

How can I know if a system startup was initiated by an rtc alarm event in linux? I am writing some scripts that handle sleeping/shutdown of my htpc. I want the machine to sleep after recording has ...
2
votes
0answers
1k views

Run a command before services are started

I have a Oracle Linux 6.3 system on which I would like to run a command when the machines starts up before any other services are started. The reason for this is to try and work around a bug in RHEL 6....
2
votes
0answers
122 views

No communication services enabled following startup [closed]

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
2
votes
0answers
1k views

How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?

I have a cisco AM10 wireless adapter and every boot, I need to run usb_modeswitch -v 1307 -p 1169 -L -I -u -l to get it to function as an adapter. Then I have to run a netcfg profile to connect to ...
2
votes
0answers
583 views

Why if I don't disable nm-applet and xfce4-volumed my startup slows down?

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
2
votes
0answers
250 views

Automatically start named pipe reader on startup?

I'm trying to run a script with root access from PHP. I can't do that because Apache's user, www-data, don't have root access because of security reasons. To fix that, I was advised to use a named ...
2
votes
0answers
196 views

How to make system startup to not wait on particular systemd service start

I have few virtual machines running under libvirt, and they are stared on the host system startup. This is controlled by libvirtd.service systemd configuration. This delays the availability of the ...
2
votes
2answers
1k views

Custom service (systemd) won't run on startup

I'm creating a non-interactive kiosk in Raspbian. I gutted everything I didn't want - desktop managers, various graphical services etc - the script starts X, an absolutely minimal desktop manager and ...
2
votes
3answers
3k views

Running commands on startup on a Red Hat server

I have a Red Hat server instance on AWS that I'm trying to make a nice AMI image of so I can test specific instance machine types with Apache Bench (ab). I'm currently just trying to create the OS ...
1
vote
7answers
5k views

What's the cleanest way to schedule autoexec.bat like command in Linux?

I want to create a small script for my Linux system that would do some simple things on PC boot. The script is most likely going to be Python, but maybe I'll resort to C or shell. The problem is that ...
1
vote
4answers
40k views

How do we know what applications are installed in Linux?

I'm trying to understand the following in Linux. In windows we have the services that run or "startup". When we install an application it could be installed as a service so that it starts ...
1
vote
3answers
8k views

startx autologin does not run in /etc/inittab in after Debian Jessie update

I installed a minimal Debian system (stable) without GUI, switched to testing/jessie to be able to get the Cinnamon desktop, but X didn't start on boot. If I log in as myself at the CLI, I can type ...
1
vote
2answers
901 views

Run jar on startup in all *nix based systems

I have a jar file which I need to run at startup in all distros of Linux. My previous question here, gave me an idea a rough idea on X-servers. Since I wasn't able to perform startup, I moved on to ...
1
vote
2answers
62 views

Begin root process at boot?

I'd like to start a background process as root when my Linux install boots. Can I just add it to a directory or a configuration file?
1
vote
3answers
977 views

Detect process if not found then run it

I am running several process at startup using "crontab -e" @reboot tranmission-daemon && python defualt.py && python MonitorService.py But for some reason, those service can ...
1
vote
3answers
2k views

How to disable inetd and sendmail under OpenBSD 5.1?

# grep '^inetd_flags="' /etc/rc.conf inetd_flags="NO" # for normal use: "" # grep -i 'sendmail_flags="NO"' /etc/rc.conf sendmail_flags="NO" # after a reboot..: two questions: # ps -...
1
vote
1answer
209 views

Can we kill inetd if there's nothing using it / no config?

In a small embedded Linux Busybox based system, by default inetd is being started at boot but inetd.conf has every service commented out as none of them are being used. Does this mean we can just ...
1
vote
1answer
5k views

Startup Applications config path

I want to edit the startup list of Linux Mint 17 without logging in. Where does the Startup Applications program keep its list of applications?
1
vote
4answers
18k views

Trying to open a browser on startup on my Raspberry Pi

I have Raspbian running on my Raspberry Pi, and I want to have a browser appear when it starts up. I am able to open a Midori window to the right page on start up, but my problem is that I receive a "...
1
vote
1answer
929 views

“Removing leftover files … Unknown user 'uuidd'. [FAIL]” on a fresh Arch Linux installation

I just fresh installed Arch Linux reecently and when booting i can spot a warning: Removing leftover files [BUSY] [/usr/lib/tmpfiles.d/uuidd.conf:1] Unknown user 'uuidd'. [FAIL] What could this be? ...
1
vote
2answers
7k views

Auto run the programs When the system turns on(Debian)

I've got a beaglebone black that has Debian 9.1. we wrote a c++ program for its GPIOs and We want this program to always run when the system turns on. how can we do that?
1
vote
1answer
4k views

Systemd run script after GUI is ready?

I'm running raspbian on pi. I've created a systemd script which runs a node.js app on startup. Script: #!/usr/bin/env bash cd /home/pi/pop_machine && /usr/bin/npm start Systemd Service: [...
1
vote
1answer
1k views

FreeBSD - best way to set console vidcontrol mode from boot without disrupting scrollback buffer info

My system uses vidcontrol to change video mode, and I'd like to set a tighter video mode from boottime, for all console windows/devices. man vidcontrol says to do this by editing it into rc or rc....
1
vote
1answer
271 views

Auto mount hard disk

I got a dual-boot Windows and an Apricity OS (based on ArchLinux) machine. Windows is installed on /dev/sda4. Apricity OS is installed on /dev/sdb. What I want to achieve is not to have to type ...
1
vote
2answers
128 views

About how many lines come up when booting a typical Linux distro?

I'm trying to understand all the text that screams by when my server boots up. Is that really intended to be human readable? About how many lines scream by? Is there a way I can count them? Is ...
1
vote
2answers
5k views

How to start teamspeak server on reboot as specific user

Linux version on the server is Centos 7.0. Teamspeak server runs with this command: ./opt/teamspeak3-server_linux-x86/ts3server_startscript.sh start My server doesn't have 100% uptime. Therefore, I ...
1
vote
2answers
341 views

Removing duplicated files in the rootfs - to speed up booting time, and improve memory usage

With Buildroot I'm making images for my Embedded Linux Hardware. Mainly I'm trying to speed up the boot sequence (and on the way lower the memory usage), where I've tried many techniques successfully. ...
1
vote
1answer
1k views

Run jar file on startup as root without password

I developed a jar file I would like to run in all *nix platforms. I want to run the jar file on every restart with the root privileges without prompting any password. I googled for the solution but it ...
1
vote
2answers
6k views

Why FreeRADIUS service won't work on Centos?

I have installed FreeRADIUS server on centos via yum successfully, but I couldn't start radiusd service. when I run as root user and exec the following radiusd -X an error is occurred. [root@userAAA ...
1
vote
2answers
81 views

Running script on system start as given user

I have a small script on a dev/staging server that runs services inside tmux. The script just creates a few sessions with a few windows each in which various services are running. How can I make ...
1
vote
1answer
1k views

Udev rules involving X11 don't run on startup

I have some udev rules written to run when I connect certain usb devices. For example, I change pointer velocity for certain mice, and change xmodmaps for particular keyboards. The scripts work well ...
1
vote
3answers
3k views

Solaris - get a list of the commands run at startup/boot?

Is there any way of seeing a list of commands that were run at startup/boot on Solaris? I know there is a network drive being mounted at startup but I wanted to see the exact 'mount ...' command ...
1
vote
2answers
346 views

Execute a script before login screen

I am trying to run a script before the login screen in Ubuntu 19.04. The script checks if there is an external monitor connected to my notebook and if there is one it changes the resolution to ...
1
vote
1answer
325 views

How to automatically start Rescuetime on startup (tried crontab and rc.local)

I have installed rescuetime on debian 9. It requires the command rescuetime to be run in a terminal, this just keeps running rather than running and closing (it adds an icon into the tray at the ...
1
vote
1answer
1k views

Managing startup applications in debian buster 10 (mate)

I saw How to manage startup applications in Debian 9? At that time, gnome-tweak-tool was the go-to-tool however, since a few days, that app. is not there anymore. I am running on Debian buster. ...
1
vote
1answer
552 views

Where should I put my C++ program to run at startup? [closed]

I am trying my Ubuntu-Server launches my program after boot, so I put my program's executable file address on /etc/rc.local followed by space+& like this: /home/m/myapp & But it didn't work! ...
1
vote
1answer
293 views

Disable touchpad in init script

I created a script to disable the touchpad in my computer. It works ok when I run it in a terminal. I did some work to make it start at startup because I wanted the touchpad to be disabled permanently,...
1
vote
1answer
3k views

Cannot write to /etc/fstab in maintenance mode

I am using Oracle Linux 6.5. Due to bad entries in /etc/fstab, fstab errors occurred on startup and I am unable to log in. It's asking me for the root password to enter maintenance mode. When I enter ...
1
vote
2answers
2k views

How do I automatically execute `netctl start tq84-wifi` on bootup?

I have configured a wifi connection in /etc/netctl/tq84-wifi in a Arch Linux installation and am able to manually start it with sudo netctl start tq84-wifi. Now I'd like to have my installation start ...
1
vote
1answer
1k views

Which configuration files override /etc/default/locale?

For some strange reason, I find my I have several LC_ locale variables set to a value I don't recognize having chosen (en_ZA.UTF-8). So, I want to set it differently - permanently, from the command-...
1
vote
1answer
1k views

Which system file is loading the “wl” (wifi) kernel module at boot time?

I've recently installed the "wl" (wifi) kernel module on my system. It's a driver that makes my Broadcom wifi card work. Unfortunately the module gets enabled at boot time (wifi light comes on), which ...
1
vote
1answer
157 views

How can I have a system boot in to a root session and then run a command within that session?

I have a GNU/Linux system with one account, the root account. When I boot the system, I want it to automatically log in to the root account and then run a 'telnet' command within that session. How can ...
1
vote
2answers
1k views

Ubuntu: where add a script executing SQL on machine start?

Each time Ubuntu is starting I need to run a script, which is running some SQLs. So I need run it after MySQL already started. Where should I put such script?
1
vote
1answer
2k views

Fedora 20, startup script with network settings work correctly but without real effect

First, I love Fedora 20. :) I'm newcomers from Debian/Ubuntu/Suse, but I real like this clean distro. But I found some problems, and can't move forward with this little things. I have 2 PC in home ...