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

learn more… | top users | synonyms

2
votes
0answers
200 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 ...
1
vote
1answer
1k views

How to modprobe radeon and turn off card at start with systemd?

ArchLinux has completly replaced rc.conf with systemd. I used /etc/rc.local to modprobe radeon module and turn it off using vgaswitcheroo. modprobe radeon && echo OFF > ...
3
votes
1answer
500 views

Getting keyboard to work in debian 6.0 in order to unlock root partition

I just installed Debian 6.0, encrypted / and now I'm trying to boot. When GRUB comes up, I select Debian, it loads the initrd and asks for the root password, however I can't enter anything, because ...
0
votes
1answer
482 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 ...
0
votes
0answers
466 views

Fedora doesn't start X on boot

Since a few months I have been facing a problem with Fedora 15. Whenever I start my system, the command prompt is displayed instead of the GUI login. I need to provide a username and password from the ...
6
votes
2answers
11k views

What's the difference between /etc/rc.local and /etc/init.d/rc.local?

I want to add a permanent iptables rule to my new VPS, and after brief google search i was surprised that where is two places this rule can be added, that seems like identical: /etc/rc.local and ...
2
votes
2answers
484 views

No /proc in a Busybox-based embedded Linux distribution

I am making an embedded Linux distribution and my board is a Raspberry Pi. My kernel version is 3.2.27 without initramfs and my root file system as follows: /lib /* contains ...
2
votes
2answers
1k views

run executable on boot

For the life of me, I cannot get this to work. I'm running Debian on Raspberry Pi. running this command from CLI: /home/pi/domotiga/DomotiGaServer.gambas -d runs my home automation server. How ...
1
vote
0answers
320 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 ...
3
votes
1answer
4k views

Create and control start up scripts in BusyBox

I have compiled a custom linux kernel in BusyBox. BusyBox init does not support runlevels. When the kernel boots up in BusyBox, it first executes init which looks for the specified runlevel in ...
2
votes
2answers
770 views

How to start an application automatically on boot

I am new to Linux & looking forward to start application (which toggles a led every 10 sec). I have written the application program & it is working fine but now I want to start it ...
3
votes
1answer
873 views

Modify /etc/xdg/lxsession/LXDE/autostart before boot

I have some parameters that I would like to change in /etc/xdg/lxsession/LXDE/autostart, before it is run. I get the parameters from a grep command. I would like to feed them to the autostart file but ...
3
votes
2answers
2k views

Is there an easy way to create a FreeBSD rc script?

I have a FreeBSD jail in which I run a server using the command: /usr/sbin/daemon /path/to/script.py At the moment I have to run this command every time I restart the machine and the jail starts. ...
1
vote
1answer
703 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 ...
1
vote
2answers
514 views

Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?

My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow. While the machine boots up, there is the boring RHEL logo on the screen ...
1
vote
0answers
270 views

KDE Startup Applications over xrdp

I have Google Chrome installed on my machine. The new chrome runs in the background (for addons like google chat) and has an entry in the KDE startup apps. The trouble I am facing is that when I log ...
1
vote
1answer
577 views

Reducing ubuntu boot time using dmesg

The boot time is 141 seconds. Here's the most interesting parts of dmesg command: [ 2.870498] usb 1-1.2: new high-speed USB device number 5 using ehci_hcd [ 80.669210] ADDRCONF(NETDEV_UP): eth0: ...
0
votes
1answer
292 views

Where can I see the processes running at startup?

I'm using backtrack5 R2 and sometimes when I log in the information showed says that There is 1 zombie process, where can I see what process is running?
1
vote
0answers
165 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 ...
1
vote
1answer
667 views

ssh-agent not starting in OpenSuSE desktop

It seems that ssh-agent is not starting on my OpenSuSE system. When I run pgrep -fl ssh-agent, the result is blank. On my Linux Mint laptop, I get 1785 /usr/bin/ssh-agent /usr/bin/dbus-launch ...
1
vote
1answer
2k views

Should I run fsck on boot for an amazon ec2 image?

I have an Ubuntu micro instance running on amazon EC2. Recently after logging in I was alerted: *** /dev/xvda1 will be checked for errors at next reboot *** I've rebooted a couple times using init ...
7
votes
4answers
3k 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 ...
1
vote
1answer
434 views

Combined su and screen at startup

I want to start a long running custom script at boot. The script must run under a specific username. So far I have successfully used the screen command and switched to the user in the custom script. ...
2
votes
1answer
244 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
105 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 ...
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 ...
5
votes
2answers
2k 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?
2
votes
2answers
217 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
2k 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 ...
5
votes
6answers
13k 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
496 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 ...
3
votes
1answer
855 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
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 ...
4
votes
2answers
3k 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 ...
4
votes
1answer
525 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 ...
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 ...
2
votes
1answer
66 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 ...
1
vote
2answers
1k 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 ...
3
votes
2answers
996 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
428 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
1answer
233 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 ...
1
vote
1answer
2k 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 ...
2
votes
1answer
4k 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
7answers
1k 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 ...
2
votes
2answers
583 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 ...
4
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
236 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 ...
6
votes
2answers
4k 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
323 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 ...