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
3answers
127 views

Advantages of using distribution-specific configuration files over generic start-up scripts?

For example in case of Debian, one can specify network configuration in distribution-specific configuration file /etc/network/interfaces or one could use generic Sys-V scripts where network ...
2
votes
2answers
5k views

Booting into shell instead of graphical interface [duplicate]

I have a laptop with lubuntu. It's great but I wish LXDE was optional instead of autostarting. So my question is, what can I do to make it boot directly into a text only mode, not loading anything ...
2
votes
1answer
5k 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 ...
2
votes
2answers
7k views

What is bootstrapping?

I am reading about bootstrapping and am confused because the term is used so much in tech (specially bootstrap itself as the CSS framework). But as far as I know bootstrapping in terms of Linux ...
2
votes
2answers
20k views

How to switch from CLI to GUI Ubuntu

I am currently running Ubuntu 16.04 operating system. In order to experiment, I had asked for the way to login to Ubuntu CLI mode only (i.e. the GUI version must not start at all). In response to my ...
2
votes
1answer
12k views

Make a “java -jar file.jar” run at startup

Hello I am running a kubuntu 13.10 distro, but I guess my question is pretty general...how to make a .jar execute in background at system start?
2
votes
1answer
7k views

Can Start Service With init.d script, however doing service <SERVICE_NAME> start does not work

I am running CentOS 6 and I am trying to get my Oracle database to run at startup. I have been following these steps: http://www.oracle-base.com/articles/linux/automating-database-startup-and-...
2
votes
2answers
14k 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 ...
2
votes
2answers
4k 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 do ...
2
votes
2answers
3k 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 ...
2
votes
1answer
598 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 ...
2
votes
1answer
94 views

How to load your own GUI app without the rest of the GUI in Linux?

Is there a way to load my own GUI app without the rest of the GUI in Linux? It's something like running Winamp only, and practically turning your PC into a music player.
2
votes
1answer
3k views

How to start KDE Plasma 5 on start up on FreeBSD 11.2?

On FreeBSD 11.2 I have plasma5-plasma-workspace installed, along with x11/kde5 and sddm and I'd like to boot KDE Plasma 5 on boot. I've DuckDuckGo searched this topic but I haven't found any clear ...
2
votes
2answers
142 views

How to rescue Ubuntu Server 16.04 which is getting shut down by systemd script?

I wrote a program which automatically shuts down a Raspberry Pi 3b (Ubuntu Server 16.04) as soon as a button is pressed. It's nothing than a small bash script which reads a GPIO pin of the Pi every ...
2
votes
2answers
251 views

Debian 9 (Stretch): Thunderbird mistakenly creating folder “.icedove” when starting

I am a victim of this bug: Thunderbird not start with .icedove folder - Debian 9 #1686 Description: When starting Thunderbird it automatically creates a directory named .icedove. If this directory ...
2
votes
2answers
2k views

When is .profile executed?

I was installing an application and had trouble with understanding why the installation guide told to add an export command to the one of startup files. I did not see when it is executed. That was the ...
2
votes
2answers
48 views

Where can I find out the names and definitions of all the grub.conf kernel= parameters (specifically RHEL6)?

I'm having difficulty finding any sort of comprehensive list and description of parameters available in /boot/grub/grub.conf file for the kernel line. I've googled around but haven't found a good ...
2
votes
4answers
9k views

Check if a program/script was run at startup?

In Linux, there are many files we can modify to add a program run at start up (/etc/rc.local, bashrc, bash_profile, $HOME/.config/autostart, ...) ? Now I have a reverse question: I have a program, can ...
2
votes
2answers
1k views

How to autostart KDM on boot in OpenBSD 6.0?

I have installed kde4 (via running # pkg_add kde4) on my OpenBSD 6.0 VM and I would like to automatically boot KDM on startup. I have followed the most applicable guide Google found me, but it didn't ...
2
votes
2answers
2k views

Arch linux can't login

My problem is that I can't login. If I try to loggin with correct username and password it doesn't do anything. I have error message on boot failed to create static device Nodes in /dev . This ...
2
votes
1answer
706 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 ...
2
votes
2answers
207 views

Kernel panic if LUKS password is bad x times

Q: Is it normal if a RHEL 6.5 machine kernel panics if I type the LUKS password a few times wrong?
2
votes
2answers
258 views

Can't get out of foreground mode in STunnel

I was trying to debug an STunnel installation on my Raspberry Pi (using Raspbian) and so I set the foreground mode to yes (which is something suggested in the official documentation). Unfortunately, ...
2
votes
1answer
876 views

Check `fsck` automatically

I need to run fsck so that it automatically fixes problems (i.e., fsck -y). And because I am using "systemd" instead of "init" in the linux system, I cannot modify the /etc/default/rcS. So what ...
2
votes
1answer
3k views

Can I force Linux to boot its initializations parallel? [closed]

I was wondering if I could manage to initialize drivers, services etc. (all these jobs what Linux does during startup) in parallel instead of sequentially. I want to aggressively lower the boot time. ...
2
votes
4answers
112 views

Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?

I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
2
votes
1answer
2k views

How to shut down Linux if idle for 30+ minutes?

We define "idle" based on how screen savers in Linux define it. I found this tool called "xautolock". I tested it like this: /usr/X11R6/bin/xautolock -time 1 -locker "notify-send test" I placed ...
2
votes
1answer
1k 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 ...
2
votes
1answer
998 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 ...
2
votes
1answer
8k 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
267 views

ssh.service will not start at boot if using ListenAddress in sshd_config but it will if started manuall after boot [duplicate]

I have ListenAddress in my /etc/ssh/sshd_config. ssh.service will not start at boot but it will start if I run service ssh start after boot. Here is the error from /var/log/syslog: $ sudo cat /var/...
2
votes
1answer
3k views

How to understand the `A start job is running for Create Volatile Files and Directories ( Xmin Ys / no limit)` startup message

I am presently attempting to fix a broken (I think) Ubuntu 16.04 install on a VirtualBox install and it is hanging with the following message: A start job is running for Create Volatile Files and ...
2
votes
3answers
466 views

Random EXT4 FS errors

I'm having a wired problem in my laptop. It works fine but almost every hour the screen freezes. When I force the shutdown and start it again, I see problems similar to this: The only solution I ...
2
votes
1answer
2k views

Alpine Linux run a startup script to change the /etc/issue

I have done the following shell script that update the /etc/issue with the current ip's of all non-loopback interfaces: #!/bin/sh echo "You can use one of the following ip addresses in order to look ...
2
votes
1answer
4k views

Make grub boot on default without waiting

I would like grub(2) to boot on my main os without waiting. Every single time I start my computer, I either have to press <Enter> or wait for ten second. Is it possible for grub to boot directly ...
2
votes
1answer
100 views

Stop volumes/partitions from auto-mounting

I use Lubuntu. My Windows partitions mount every time I use the Linux OS; is there any way to keep them from auto-mounting? How can I mount a partition when I want to? /dev/sda5: UUID="B9C1-DD76" ...
2
votes
2answers
69 views

On Debian, how do I make a script that will rerun a Java program after it has stopped or crashed?

I'm running a Java server program that needs to be started with a shell script. The script needs to start the Java program again if it happens to crash or be stopped manually. I found this script ...
2
votes
1answer
88 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 doesn'...
2
votes
1answer
2k views

Configure Ubuntu to always start with terminal & Xload open?

Does anyone know how to configure Ubuntu 14.04 so that when it starts up I have a terminal window open (at my specified x,y coordinates and specified width and height), and the Xload application also ...
2
votes
1answer
1k views

How can I fix my Debian's /etc/network/interfaces?

I just need to edit the /etc/network/interfaces file in my otherwise-functional Debian installation, but I can't boot up because it gets stuck at "Configuring network interfaces". So how can I access ...
2
votes
1answer
297 views

Difficulty running a command at startup

I'm using Xfce in Linux, and I need to run the following command at every startup, otherwise my touchpad is impossible to use: xinput --set-prop 13 'Synaptics Finger' 12, 12, 0 I've put the command ...
2
votes
3answers
728 views

Unable to delete files as a root user using RS232 serial cross cable

I have a device (CCTV decoder) which was rebooting itself, so can't login using LAN cable. It has RS232 port only, no VGA and keyboard/USB port (Embedded PC). I connected RS232 cross cable and used ...
2
votes
1answer
1k views

Launch a command at the end of Linux startup

I have a Raspberry without screen/keyboard/mouse that does nothing else than launching a radio stream at startup : mplayer http://95.81.146.2/fip/all/fiphautdebit.mp3 I have put this command at the ...
2
votes
2answers
8k views

Run a sudo (or startup) python script from cron on a Raspberry Pi?

I'm helping out with an art project (http://stargateeggbeater.com/ for those interested) built on Raspberry Pi. The RPi controls an addressable LED strip through the GPIO, using the spidev device per ...
2
votes
2answers
9k views

postgresql service start issues

I'm attempting to build a box via Fabric on Openstack. Part of the install involves installing and running PostgreSQL. This command works fine: $ sudo service postgresql initdb This command fails: ...
2
votes
1answer
6k 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 ...
2
votes
2answers
318 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 ...
2
votes
1answer
2k views

How to make Firefox auto launch at startup in fullscreen on Linux Ubuntu?

Firefox Ready Objective I want my ubuntu to start and show a Duck Duck Go in fullscreen. Motivation The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ...
2
votes
1answer
856 views

Conky auto startup in Fedora 28

This is recurring question yet I cannot make one program (conky) to automatically start when GNOME 3 starts. In ~/.config/autostart I have the following file: cat ~/.config/autostart/conky.desktop [...
2
votes
1answer
1k views

Linux script not running on start up

Hello and thank you for being so helpful. I am trying to run a script at startup that reduces the power limits of my gpus. The shell command is in init.d and I have tried using symlink to rc1 and rc3. ...