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

learn more… | top users | synonyms

3
votes
1answer
317 views

Templates for startup script?

I need to write a couple of Linux (Debian) startup scripts. Are there any accurate templates available?
1
vote
1answer
2k views

Run gui application on startup

I can run a script at boot by adding the following line to my crontab: @reboot perl /path/script That works fine. But the problem arises when I try to run a gui application such as gmail notify. It ...
1
vote
0answers
117 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 ...
7
votes
4answers
4k views

Add item to inittab on OpenSuse 12.1

I am currently working on a project which needs to be added to inittab so that the program loads during startup. The program that I am trying to start is a c# mono application. I have created a ...
10
votes
4answers
8k views

How can I run a script that starts before my login screen?

I was calibrating my touch screen, and saw that the best tool around was xinput_calibrator. So I used it. It have two options (one of which did not work), so I am here for the second. It says I should ...
5
votes
2answers
3k views

How can I make Debian run m python script at startup?

I have this script in my home folder (pi): server.py. How could I make Debian run this script at startup so I dont need to log in and to i manually?
4
votes
2answers
4k views

How do I configure which ethernet connections are active on boot?

I have an unmanaged dedicated server that I administer, running CentOS. Recently when I reboot the server, I am unable to use SSH. Both times this has happened the server host has determined the issue ...
2
votes
2answers
226 views

Running script once when X is initialized

Where should I put a bash script if I want it to be executed once during X startup as part of system bootup. For example, I want to start up VPN on my machine as root user once X starts up. When X ...
1
vote
1answer
3k 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 ...
3
votes
3answers
3k views

How can I debug Apache, not starting upon boot

Apache is already set up as a service, since: $ sudo update-rc.d apache2 defaults System start/stop links for /etc/init.d/apache2 already exist. But Apache isn't starting. How can I start ...
5
votes
6answers
16k views

Run a sh file on machine boot up

I am quite new to linux and want to know what to be done to launch a .sh file on machine startup basically i have a server machine with linux OS on it and want to run some jboss application when ...
4
votes
2answers
566 views

List of script( location)s that get run automatically, and when?

Does anybody know (of a resource listing) what scripts are run automatically, and when, from the moment I startup the computer until it's shutdown again. I know several places where I can add scripts ...
1
vote
1answer
428 views

Fedora session / process startup issues

I've installed fedora 16 with lxde(xfce) desktop. My problem is that when I login into the system, it gives me redundant app startup, for instance it launches Installation manager, also I've noticed ...
5
votes
4answers
19k 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 ...
3
votes
1answer
921 views

ACPI conflicts with ACPI region SMRG

During startup, I noticed some error. I found this in dmesg: i801_smbus 0000:00:1f.3: PCI INT B -> GSI 21 (level, low) -> IRQ 21 ACPI: I/O resource 0000:00:1f.3 [0x400-0x41f] conflicts with ...
4
votes
2answers
4k views

Make daemon start up with Linux

I'm writing a simple daemon application using C/C++ and I want it to start when Linux starts up. I am a beginner on Linux systems. I have tried to modify /etc/init.d/skeleton to add a script into ...
5
votes
1answer
565 views

Giving a custom script root permissions

I have a backup drive that is Truecrypt Encrypted. I'd like to automnt this drive so I can automate backups when in the office. I am using Linux Mint 12 x64bit I wrote a script that runs successfully ...
2
votes
1answer
67 views

Problematic booting process

About a month ago I installed Lubuntu 11.10. Since that time there is a problem with booting and shutting down. Booting is endless. This screen never disappears, so I have to manually press the ...
4
votes
1answer
1k views

Fixing a broken X initialization

Here are the symptoms: On reboot of my Fedora 14 system, I get to the Fedora loading screen progress bar. The system seems to progress normally, then the nvidia logo flashes, a wait cursor shows, ...
4
votes
2answers
4k views

How to start VNC server on start-up in Ubuntu 10.04

I've been struggling with this long enough to ask yet another startup script question. I've got a startup script that is relatively simple, ie: ### BEGIN INIT INFO # Provides: startVNC # ...
3
votes
2answers
1k views

Problem at boot-time: “Loading user-defined modules [FAIL]”

After I updated my Kernel to version 3.0, i always get this line when my Arch-Linux system is booting up: Loading User-specified Modules [BUSY] [FAIL] I have no idea what could cause this to ...
2
votes
1answer
450 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 ...
1
vote
2answers
2k views

Can a service script put inside init.d be called at startup and shutdown?

I'm running Red Hat 5.1. I have a script called sysinit that I added as a service using chkconfig --add sysinit. I have the following set in the file: #chkconfig 4 01 01 This creates one symlink ...
1
vote
1answer
277 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 ...
4
votes
2answers
1k views

Having a bash script run at startup and display the results when I log in

I am running Ubuntu 11.04 and I want to be able to run a command like top so when I login it is running in a window. I been trying many things for a while now and can't seem to get it to work I ...
1
vote
3answers
1k 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 ...
2
votes
1answer
5k views

start mysql server at boot for debian

I am using Debian Etch and I have following this and tried to write a script like this to auto start mysql server at boot: #! /bin/sh # /etc/init.d/blah # # Some things that run always sudo ...
1
vote
1answer
3k 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 ...
1
vote
7answers
2k 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 ...
4
votes
5answers
294 views

How to disable graphical shell?

I have a Linux system (Ubuntu) running in a VM, but now I want to disable the graphical shell. Where in the startup process are the graphical components launched? Is it some run-level dependent ...
2
votes
2answers
653 views

How to permanently remove obsolete icon from Ubuntu Xfce notification tray?

Since I uninstalled blueman, the obsolete icon persists in my Xfce (Ubuntu 11.04 64 bit) notification tray with a placeholder. There is a way to hide but not to remove it. Can you show me how to ...
5
votes
1answer
2k views

rc.local - not all commands are executed

I have following lines in my 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 # ...
6
votes
1answer
249 views

Is there a standard way to have a program start when a user logs in on Linux?

Is there a standard way to make a program start when a user logs in? On Ubuntu, for example, you can place a .desktop file in ~/.config/autostart and the application will launch on startup. Does ...
7
votes
2answers
5k views

How do I start Xvfb on startup on Debian?

I’ve got a Debian web server that I’m using for occasional screen-scraping via Selenum and Python. I use Xvfb as a virtual X server for Firefox to run on when being controlled by Selenium. Given that ...
4
votes
2answers
333 views

Are certain parts of startup scripts necessary or just good practice?

I'm currently exploring creating a startup script in the form of a system process located in the /etc/init.d/ on my Fedora 14 Linux installation. It sounds like the following two lines are bare ...
1
vote
1answer
961 views

removing startup item from com.apple.launchd

Im not sure if this is the right place for this kind of question, but here it goes anyways... I installed a program a few months ago, it had a startup option that I did install. Later, I decided to ...
3
votes
5answers
4k views

Kernel can't find /dev/sda file during boot

I configured a gentoo kernel (kernel-2.6.36-gentoo-r5), but when I boot it can't mount /dev/sda1: ALERT! /dev/sda1 does not exist . Dropping to a shell . I use the shell to go to the /dev ...
5
votes
4answers
7k views

Run Python script on startup

Running on Ubuntu Karmic. I need to execute the following (updated) script at boot time #!/bin/sh # /etc/init.d/scripts # Description: Starts Python scripts # ————————————————– # ### BEGIN INIT INFO ...
21
votes
7answers
26k 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
6
votes
3answers
2k views

Why won't my xmodmap command run on startup/login?

I want to run this command every time I log in (or every time I start up, if that doesn't work): xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete' I've tried many things. I put the command ...
10
votes
5answers
12k 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
8
votes
5answers
2k views

On Linux, is there an rc.local equivalent for shutdown?

I've got a few commands that I run in rc.local so they are run last in the startup sequence. I would like to know if there is a similar facility for undoing the results of those commands at shutdown, ...