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

learn more… | top users | synonyms

5
votes
1answer
2k views

Automatically run rfkill unblock on startup

I'm running Elementary OS on an old(er) HP Pavilion dm1. Unfortunately, on startup my wireless is hard disabled, and I need to run sudo rfkill unblock all to get it up and running. Works fine once I ...
0
votes
1answer
23 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 ...
1
vote
1answer
278 views

Using readahead in Debian Jessie

The article BootProcessSpeedup on the Debian Wiki lists a tip to speed up boot time. It says to install readahead and then #touch /etc/readahead/profile-once. It seems like an outdated article, ...
5
votes
1answer
766 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 ...
1
vote
1answer
289 views

Run a Python script in the background on boot

I recently installed the Google App Engine Development server on my FreeBSD home server to be able to test my GAE app remotely. What I can't figure out is how to run the Python development server as a ...
1
vote
2answers
596 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 ...
1
vote
1answer
176 views

Run a udev rule for a USB flash drive when the computer is started with the device inserted

I want my Ubuntu 15.04 x64 server system to execute a script whenever a certain flash drive is inserted. So I created a custom rule file with the following content ...
1
vote
1answer
211 views

Script to run at shutdown

I'm trying to create the equivalent to rc.local that runs last during startup, but to run first during shutdown. I basically copy/pasted /etc/init.d/rc.local as the base template, and updated the ...
3
votes
2answers
4k 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 ...
0
votes
0answers
39 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
141 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, ...
2
votes
1answer
106 views

Is there a way of getting logs for startup processes in /etc/init.d?

Is there a way of getting logs for startup processes in /etc/init.d? I am running Raspbian (Debian Wheezy). dmesg shows boot log, but does not go far enough. Some time ago I added a script to start ...
21
votes
7answers
29k views

Start tomcat at startup with administrative privileges

I need one process run before log in to system. How to run it like services? how do I make services in Linux? In Ubuntu and Fedora? The service is customized tomcat
0
votes
2answers
761 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 ...
1
vote
0answers
440 views

CentOS VPS not starting after installing zPanel

I've had some trouble earlier installing zPanel, but then I was told that I've been using the wrong package, I was supposed to use the 32-bit version, but kept trying with 64-bit. After figuring that, ...
2
votes
1answer
257 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
2answers
172 views

How do I display a message when I logon?

I am trying to display a message when I log on to Linux Mint 17.2. I have tried various methods without success: 1) I created a file /home/myusername/Desktop/startup-message.sh as follows: ...
2
votes
1answer
48 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 ...
1
vote
1answer
208 views

Startup script with LSB headers not working correctly (dependency problem)?

I am creating a startup script for my Ubuntu 14.04.1 LTS server. The script need to be run after the Rabbit MQ server. The Rabbit MQ startup script says it provides "rabbitmq-server". So I put this ...
0
votes
0answers
58 views

How to use port 5900 for vino when also using vncserver on startup?

Is it possible to have vncserver start a configured display only as :1 and leave :0 available for vino? On Centos/RHEL 6.5, I have set up vncserver to create display :1 on startup by putting the ...
1
vote
1answer
312 views

Starting Apache Httpd at Boot time with Zero intervention, CentOS and authbind

I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!) Later of Apache was ...
4
votes
1answer
8k views

How to access and edit Startup applications in Elementary OS Freya beta 2?

The list accessible in Settings>Applications>Startup is empty by default: Here and in other places I found the idea that running this command should solve it: sudo sed -i ...
1
vote
1answer
383 views

How to autorun a C# mono applications on Raspberry PI startup?

I have a Raspberry PI running Raspbian and I connect to it through RDP or SSH. And I have 2 applications in C# and I run them through mono. One is a WinForms app (GUI app, which cannot be launched ...
-1
votes
1answer
203 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 ...
1
vote
0answers
72 views

ConsoleKit reports active/is-local only on the second+ login

Running KDE Frameworks 5, Plasma 5, using sddm as a display manager. ConsoleKit and PAM-linux are both installed. Upon login (using the sddm login screen), ck-list-sessions returns FALSE for both ...
1
vote
1answer
217 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 ...
0
votes
1answer
26 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 ...
3
votes
2answers
239 views

Run top instead of getty

Here's a simple question. I'm not sure the answer is very simple, but anyway. By default, systemd auto-launches getty on each VT except VT7. What I would like is for systemd to launch top on VT6 ...
0
votes
1answer
188 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), ...
1
vote
1answer
76 views

linux run jar on startup after mysql is running [closed]

Is there a way to run a jar at startup on CentOS 6.5 but only after MySQL is running?
0
votes
1answer
170 views

Cron not working at startup, but works if restarted?

For some testing, I need to reboot my system every minute. I have a busybox based system, installed cron using opkg. I setup a cron job using crontab, everything looks ok: root@SL1000-1103DC:~# ...
2
votes
0answers
567 views

Startup problem: invalid partition table or use UEFI BOOT

I'm working on a Dell Latitude E5430. Recently I booted pcbsd from USB using this file: PCBSD10.1.1-RELEASE-01-31-2015-x64-DVD-USB_0.iso But I guess I did something wrong. I was trying to install ...
0
votes
2answers
4k views

Debian 8 - Update Iptables on boot

I am in the process of porting my "configure openvpn server" from ubuntu 14 to debian 8. So far it works well except for this section: # Set up iptables to forward packets for vpn and do this upon ...
3
votes
2answers
5k views

syslog-ng service not starting with systemd but command works fine

I have a freshly installed version on CentOS 7 once which I have installed syslog-ng from the EPEL repositories. ~: yum list | grep syslog syslog-ng.x86_64 3.5.6-1.el7 ...
2
votes
1answer
320 views

How to schedule shutdown every day?

We have a server that is used for Linux thin clients in a class. The server is started when required and I want to schedule it to power off at 22:00 every day to avoid power wasting. I thought of ...
0
votes
0answers
62 views

How to debug freeze at start, output of syslog

Every now and then, my computer freezes while starting. I can see some "Oops" in /var/log/syslog, but from there I am not sure what to do to try and fix the problem. Jun 5 12:47:40 fulla kernel: [ ...
3
votes
6answers
698 views

How to know during system start when system time becomes correct from NTP

I have a Raspberry Pi running Raspbian (Debian derivative) that is recording real-time temperatures. As part of this, I need a clock that is accurate to within a few seconds. In normal operation when ...
1
vote
0answers
2k views

How to recover missing serverauth so user can startx?

I've been using PCLinuxOS. All was OK until the Hard Drive had a bad block. After some fsck repair, from the shell, I tried to startx: xauth: file /home/joe/.serverauth.2052 does not exist. ...
17
votes
5answers
26k views

Stop program running at startup in Linux

How do I stop a program running at startup in Linux. I want to remove some apps from startup to allow them to be managed by supervisord e.g apache2
2
votes
1answer
904 views

Changing the /dev/tty* permissions at startup

My solution (ArchLinux ARM on RaspberryPi) requires that a non-privileged user has to have access to the /dev/ttyAMA0 port. In final implementation that user will be automatically logged in and a ...
0
votes
1answer
114 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 ...
1
vote
2answers
6k 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 ...
3
votes
3answers
595 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. ...
1
vote
1answer
137 views

Some of my applications are always started when I login to Linux Mint

When I login to the system I have few Nemo windows open. I did it few weeks ago, and probably forgot to close at shut down. But now Mint remember my open application and always open it after start ...
2
votes
2answers
336 views

How can I start a file-processing daemon? [closed]

How can I run a script-based tool which will process files continuously downloaded to given directory as they arrive? I'd like to minimize delay (~1 second is OK), script can have own infinite loop. ...
4
votes
1answer
5k views

Daemon - how to tell the start daemon to execute this daemon as different username than root?

I have this startup script, when i launch i have the execution done by username: root, instead of username: sun. How can i tell the start_daemon to execute it as username : sun not root? $ ps aux | ...
3
votes
3answers
4k views

How can I run a program as a root user when my Ubuntu 15.04 machine starts up?

On Ubuntu 15.04 I have this file: /usr/local/bin/myscript (it's a script I made). If I run this command under my account, it will do what I need it to do as a root user: sudo /usr/local/bin/myscript ...
1
vote
1answer
160 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 ...
1
vote
3answers
6k views

Starting Qt Application On Startup for Embedded Linux

I'm trying to get a Qt application to launch immediately after booting up. When booted, the Linux image does nothing more than launch an X server and a terminal. It also has the cron daemon running in ...
2
votes
2answers
275 views

Execute root command after a user starts their session

I'm trying to find how is possible to execute a root command when a user starts their session. I found that adding commands to thes file /etc/rc.local should execute the commands after the boot, but ...