The startup tag has no wiki summary.
3
votes
3answers
38 views
Other than /etc/rc.conf what other config files control system services at boot time?
I am still very new to FreeBSD, from what I have learned in manuals, /etc/rc.conf controls system services at boot time.
There is no mention of sendmail and syslogd in /etc/rc.conf, so how come they ...
0
votes
1answer
54 views
Services in /etc/rc.local prevent the system from finishing to boot
I start some services such as Tomcat and MySQL from a shell script /etc/rc.local. There is a while loop to restart the services. This loop is continuously running and my system is not booting. How can ...
0
votes
1answer
44 views
Auto-restart an process when it crashes
I have an app that I need to autostart when the OS starts. I am running in a CentOS 6, so I am using a LSB init script placed in /etc/init.d. So far this is fine and working.
Now....besides that, ...
0
votes
0answers
21 views
Number of guake's columns at first use
I've a command in my .bashrc that shows me a file, and this file has lines with more than 80 columns, and when I open guake for the first time, these long lines are cut. Example:
# .bashrc
...
5
votes
1answer
74 views
What should/shouldn't go in .zshenv, .zshrc, .zlogin, .zprofile, .zlogout?
The title says it all. I'm looking for guidelines on what one should and should not include in the various startup files for zsh.
I understand the order of sourcing of these files, and the ...
1
vote
0answers
40 views
Modifying resolv.conf when when bringing network interface up on system startup
My Linux box currently has a network interface that allows me to connect to a network on a different subnet. I've achieved this by modifying the routing table when the network interface is brought up. ...
1
vote
2answers
176 views
Automate modprobe command at boot time on Fedora
My distribution is Fedora 17 Gnome.
Every time I reboot/restart my computer I need to run this command as root:
modprobe rt2800usb
How can I make it permanent?
1
vote
1answer
86 views
Problem starting a service running Debian
I want to run a UPNP renderer as a service on a Raspberry Pi using Raspian, a Debian based distro.
Actually, everything runs fine but one thing : I can't manage to start the service at boot time at ...
2
votes
1answer
215 views
How do I start a gui framebuffer (no X) application on startup instead of console login prompt?
I have a python application that uses pygame to access the framebuffer directly without using X. I want to start this application on startup instead of showing the console login prompt. I haven't ...
1
vote
1answer
191 views
Set global environment variables at boot in Solaris 11
I am wanting to create a file in Solaris, so that I can export a few "items" whenever the machine is started up.
i.e.
I want to export ORACLE_HOME and ORACLE_SID and some other directories, of my ...
1
vote
0answers
117 views
xrandr config not loading properly at startup from .xprofile
I'm using xrandr to rescale the resolution on a netbook (Ubuntu 12.10). When I run the following command it works fine:
xrandr --output LVDS1 --mode 1024x600 --panning 1280x720 --scale 1.25x1.2
...
0
votes
1answer
468 views
Automatic Startup of Oracle 11gR2 on CentOS 6.3
I've setup a handful of CentOS 5.6 servers with Oracle 11gR2 and not run into this particular problem, but I have hit a wall with CentOS 6.3 and auto-starting Oracle. Not sure if this is related to ...
1
vote
1answer
124 views
Run XMonad's startup hook only on initial startup
I have the following startupHook in my xmonad.hs
, startupHook = spawn "~/.xmonad/autostart"
I am starting many apps and daemons in this script and it is written to run only once on startup. But ...
2
votes
0answers
99 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 ...
3
votes
1answer
124 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 ...
2
votes
2answers
488 views
disabling x server on Fedora 17
How can I disable x server from starting up on Fedora 17? In older versions the user should edit /etc/inittab but in this version (I don't checked this on previous versions) Fedora uses some other ...
0
votes
1answer
229 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
...
4
votes
2answers
2k 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 ...
0
votes
0answers
222 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 ...
2
votes
2answers
179 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
276 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
104 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
531 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 ...
1
vote
1answer
491 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 > ...
2
votes
2answers
197 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
357 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 ...
4
votes
2answers
137 views
What happens if I set default system runlevel to 0 or 6?
What I understand from runlevels is that in each level some programs have permission to be executed and some don't. runlevel 3 boots system into CLI and runlevel 5 starts the default GUI.
But I don't ...
1
vote
1answer
230 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 ...
2
votes
1answer
208 views
Xubuntu 12.04: slow login
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 ...
1
vote
2answers
540 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
2answers
172 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
200 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
409 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: ...
1
vote
1answer
569 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 ...
2
votes
0answers
213 views
Linux mint 13: Error starting MATE
My Linux Mint installation seemed to work fine an hour ago, then I switched into Windows 7 which is installed on the same machine. When I restarted back into Mint, I got the following errors and can't ...
0
votes
1answer
170 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
116 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 ...
3
votes
2answers
175 views
Upstart: How to run a “stop” before stopping other services?
I recently found out about the upstart "service starter" that Ubuntu is using and that is (apparently) the future to start/stop jobs in Linux.
It's pretty new to me (I was used to the old SysV system ...
1
vote
1answer
367 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
1k 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 ...
5
votes
3answers
5k views
Best way to start .sh file on boot
I am running a stupid little minecraft server.
I want Lubuntu to execute the following script when the server boots up. NOT on login, and NOT on restart (unless it's starting up of course).
The ...
1
vote
1answer
118 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
114 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
582 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
67 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 ...
6
votes
4answers
2k 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 ...
5
votes
4answers
2k 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
1k 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?
3
votes
2answers
1k 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
164 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 ...