Questions tagged [startup]
The startup sequence, from the time the kernel goes live to when all services are up and running.
770
questions
0
votes
1
answer
45
views
ssh remote port forwarding in systemd
I would like to execute this command
ssh -R 2200:localhost:80 user@"myddns.net"
at every startup of my fedora system (note that the command itself is working in a shell).
I thought to use ...
1
vote
1
answer
18k
views
I can't boot into debian after running apt upgrade. UUID=xxx does not exist. Dropping to shell!
I was trying to install virtualbox, following the instructions on the Debian wiki and added this line to /etc/apt/sources.list:
# Debian Unstable "Sid"
deb http://deb.debian.org/debian/ sid ...
0
votes
0
answers
27
views
"@reboot" in root crontab, instead of systemctl scripts - clever solution or with many disadvantages?
I am maintaining a new application and they have no init scripts or systemctl scripts.
They use crontab with content like here:
# Start App2 at reboot
@reboot (. /home/app2/.bash_profile; /opt/app2/...
0
votes
0
answers
18
views
Apple hardware modules in directory other than that used by Linux kernel for startup modules
I recently installed Linux on a 2019 MacbookPro and do not have the ability to use the laptop trackpad or keyboard, nor to connect to a WiFi network.
I am wondering, is my path to the startup modules ...
0
votes
1
answer
41
views
How automatically start Thunderbird minimized on AlmaLinux (Wayland)?
I am looking for a way to automatically start Thunderbird 115.13.0 minimized on AlmaLinux 9.4. AlmaLinux uses Wayland, and Thunderbird was installed using dnf install thunderbird. I don't care if it ...
0
votes
0
answers
19
views
How to start one Linux container from another?
On Chromebook Crostini Linux I can (via .ssh/authorized_keys) stop one
container from another,
jidanni@n1:~$ ssh n2 sudo shutdown -h now
But starting it requires
crosh> vmc start termina
(termina)...
0
votes
1
answer
132
views
get access to console of application that is auto started
I have my "c" application which uses a lot of printf to display the necessary information. Application has started automatically at boot time (using init.d or systemd). How I can access to ...
0
votes
0
answers
53
views
run a date command before unlocking encrypted volume at startup
When the PC boots up I have to enter quite a long password to unlock the hard drive.
Next, Debian proceeds to boot, and only once it has booted and I have then entered the login credentials can I see ...
0
votes
1
answer
182
views
Fedora Failing to Launch Linux Kernel 6.7.X, must boot twice to select kernel
I have a newly built desktop running Fedora 39. (I have been told it may be important to note it has an NVidia GPU). A few days ago, the following occurred:
I installed a normal system update
For ...
0
votes
1
answer
5k
views
What could be causing my computer to boot in emergency mode?
I haven't had any issues with booting up until I recently moved to a new house. Upon setting it up again, I get the following when booting up:
You are in emergency mode. After logging in, type "...
0
votes
0
answers
84
views
How to connect to bluetooth device quicker after system startup
When I turn on my PC, it takes a while (30 to 60 seconds I would guess) between arriving at the login screen and my bluetooth keyboard being connected. Is there a way to speed this up?
I don't think ...
0
votes
0
answers
109
views
How to automatically start mate-terminal the CLI way on every system start?
UPDATE2
Best approach as of now:
Mirroring of the GUI way.
Problem:
emacs launched along the way is restricted by being bound to the terminal-session:
What do you do, when you're like "Okay, done ...
0
votes
0
answers
22
views
A generator-like unit creates another unit, and both should be started during boot; is that possible?
Converting some old-style services using a configuration file to systemd units, I wrote a generator-like (i.e.: not actually a systemd generator) service that creates (depending on the configuration ...
1
vote
1
answer
2k
views
mate-terminal showing unwanted text when it starts
i'am on parrot OS, after a forced restart my mate-terminal begun showing text from bashrc every time it started, after a "clear" it goes away and the prompt is properly colored and ...
0
votes
0
answers
76
views
Automatically run kpartx during boot after 2022
I'm trying to detect and run partitions on top of jMicron fakeRAID, which is discovered by dmraid. How far I'm stuck with making this automatically during boot.
hopungo@hopungo-pc:~$ sudo kpartx -l /...
0
votes
1
answer
1k
views
How to see all startup tasks from the command line?
I was trying to find why a certain application ran on my Raspberry Pi, and turns out there is a half dozen ways to execute an application on startup. Here are the ones that I've located.
/etc/rc....
0
votes
0
answers
55
views
After an update in Debian 11 packages I can't get X server working well, bluetooth error logs continuously go to stdout
I'm getting some headaches recovering my Debian 11 system after an update of packages.
I have installed nvidia-driver in Lenovo X1 Carbon laptop and it was working.
After the updates, the welcome ...
0
votes
0
answers
145
views
how to start tightvnc on a boot using init.d?
I have created the file in the init.d dir:
! /bin/sh
case "$1" in
start)
sh /home/orangepi/.vnc/vnc_start.sh
;;
*)
;;
esac
exit 0
and then run the update-rc.d vnc defaults
...
0
votes
1
answer
943
views
Debian 12 with XWayland: Problem with gnome-startup-applications and gnome-tweaks
After updating to Debian 12, gnome-startup-applications, and more generally, gnome-tweaks stopped working.
$ gnome-tweaks
WARNING: Shell not installed or running
(gnome-tweaks:19742): dconf-WARNING **...
0
votes
1
answer
524
views
Best way to use Linux with an AMD computer
Goal
I have a PC with a good configuration, and I'd like to use it efficiently on Linux for programmation purposes. How can I set it up the best way?
The main problem I have in mind is that my CPU/GPU ...
1
vote
1
answer
51
views
startup script remain running in background
I use severals window managers as icewm openbox wmaker and others
For these i have one generic startup
In one line i have (to load in traybar one volume control applet according wich is installed in ...
1
vote
1
answer
679
views
Which service creates /dev/fb0 node?
I want to update the console-setup.service to detect screen resolution using fbset -s and adjust console font size accordingly. For fbset, I need /dev/fb0 to be present, but I don't know which service ...
0
votes
1
answer
292
views
Systemd - Thunderbird - Start minimized without change of focus
I start thunderbird after login, using sytemd service unit file for user:
[Unit]
Description=Email Service
[Service]
TimeoutStartSec=0
ExecStartPre=sleep 300
Environment="LC_TIME=en_DK.UTF-8&...
1
vote
1
answer
913
views
Systemd is eternally stuck on a start-job when I go to boot from my cloned-to NVME. How do I get my system to boot?
I cloned my hard drive using Clonezilla Live to an NVME SSD. My system is EndeavourOS, Systemd, KDE.
When booting, Systemd makes it to the Basic Machine job and then it starts the A start job is ...
0
votes
0
answers
168
views
Is there some method of analyzing why a program is very slow to start?
I've bought a used computer with an NVME drive which seems very quick, but when I start some programs on it they are very slow.
Once they start, they run fine, but the time it takes them to appear on ...
1
vote
1
answer
203
views
Why this systemctl isn't starting?
It's on Debian 11. The file PwOn.service:
[Unit]
Description=Send a message with a telegram bot
After=network.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/...
0
votes
0
answers
1k
views
Problems starting artifactory on Debian
I've installed Artifactory on a Debian server with the standard provided deb package.
It has been installed for months, and has gone through a couple of upgrades, but throughout all that time, I've ...
0
votes
1
answer
1k
views
Slow booting time/startup time in kali linux (KDE Plasma)
I recently set up a dual boot kali linux with Windows 11 on my Acer Predator. It has a 16 GB RAM, 4 GB graphics card. Kali linux is installed on the 1 TB HDD on a 100 GB partition. The desktop ...
0
votes
1
answer
255
views
How to make a script run when bash goes up?
When I execute bash using bash, I want a custom script to run, in that bash.
I want that script to always be the same script, and not provided via argument. Just a default custom initialization for my ...
0
votes
1
answer
51
views
How do I kill all outbound wireless/RF (Wi-Fi, Bluetooth, etc.) traffic on startup?
I would like something with the effect of
rfkill block all
to run when my machines boots.
XFCE allows me to run the command "on login", but I am concerned this allows RF transmission before ...
1
vote
1
answer
2k
views
Ubuntu: Play audio file using SoX play command
Edited:
I'm trying to play a sound on my Ubuntu through SSH using SoX play command.
When I boot my machine and after I physically access the machine and log into the Ubuntu GUI, I can run this play ...
0
votes
0
answers
1k
views
Running a simple command at startup in Fedora 37 using Systemd?
I simply want to execute a single command during startup, before any user logs in. (More precisely, I want to run a setkeycodes command to fix a quirk of my laptop's keyboard, so that it works ...
1
vote
0
answers
61
views
Clean ways to prime the kernel inode cache after boot?
Various answers on various StackExchange sites cover parts of this topic, but I did not see an exact match for this scenario. How can you identify every mounted standard filesystem, and traverse all ...
0
votes
1
answer
43
views
How to handle time-consuming command lines on startup files?
I have a command that I desire to run it automatically only once at the starting up. The solution I found is to put it on the startup file of login shell session, ~/.profile. The problem is that this ...
1
vote
0
answers
126
views
Does a kernel driver get loaded before device tree parsing
When a device tree is getting processed by the kernel on startup, does the kernel load its correct device driver there and then, or it must already be loaded?
Let's take a special I2C device for ...
2
votes
1
answer
2k
views
KDE-Plasma : Prevent akonadi stuff from being launched at startup
Akonadi server is well known for being launched with the very first application needing it. (Kmail, KaddressBook, KOrganizer…)
Previously running KDE-Plasma-5.23 with a given set of widgets (including ...
0
votes
1
answer
97
views
Startup script fails
This runs fine as standalone, but fails (Seamonkey does not start) when used as a startup application.
sleep 5 && seamonkey
I am using this to add programs to my startup.
mate-session-...
1
vote
0
answers
173
views
Why is .xmodmap automatically executing?
I'm running xubuntu 22.04. For years I have used a startup command in Session and Startup to remap the keyboard: /usr/bin/xmodmap /home/xxxxx/.xmodmap.
After performing do-release-upgrade to 22.04, ...
-3
votes
2
answers
1k
views
What is the most universal way to run a command in root on startup? [closed]
I have a program that needs to have a command running on startup (the command needs to run as root). I know there are many ways, but what is the most universal way across Linux distributions.
The ...
1
vote
1
answer
55
views
Correct 'type' for startup service
I have a LCD panel that is run through a python script, the panel takes in key-press inputs so the script is always listening. I'm trying to create a startup service that would run the script as soon ...
0
votes
1
answer
358
views
how to suppress btrfs startup scan
on my system is btrfs only needed for some external disks. So I do not need and do not want a startup delay about 15s for a scan at startup.
Does someone know how to tell the ubuntu startup scrippts ...
1
vote
0
answers
1k
views
MongoDB 6 fails to start on CentOS 8
MongoDb run fine with the default settings.
The issue occurs when I change the default log path in cat /etc/mongod.conf to the below:
systemLog:
destination: file
logAppend: true
path: /var/www/...
0
votes
1
answer
42
views
Running a few commands (that then ask questions) on startup
lets say I go to this file on linux CentOS to setup some startup commands
sudo vi /etc/rc.local
in this case lets say I want to startup uwsgi
so normally in the command line I might type something ...
1
vote
1
answer
473
views
How the startup code access the filesystem to load the kernel under /boot directory to RAM when the filesystem is mounted by the kernel?
The kernel is usually located under /boot directory. When the startup program runs (like u-boot), it loads the kernel into RAM.
This means, u-boot already has access to the filesystem.
I'm confused ...
1
vote
0
answers
1k
views
How to run a command at startup using Startup Application Preferences [Pop!_OS 22.04 LTS x86_64]
I have a script and want to run it at startup for all users.
My script located in: ~/shell_script/swapkey.sh
#!/bin/bash
xmodmap ~/.Xmodmap
I followed the instruction in here and then added the ...
1
vote
0
answers
909
views
CPU stalls in debian bullseye
My development machine often faces CPU stalls.
This kind of error happens randomly, more often at startup, but it can happen anytime, especially when there is a big CPU load.
You can see here a dmesg ...
1
vote
1
answer
1k
views
How to stop a service when a network interface goes down?
I have a service which I want to start and stop my service when a specific network interface (eth0 in my case) goes up and down. Reading through documentation, and posts, I have come to the unit below,...
0
votes
0
answers
690
views
Disks no longer mount when starting Ubuntu after installing Blender compilation dependencies
I'm trying to compile Blender on Ubuntu 22.04 and I ran into some problems while installing some dependencies and now Ubuntu wont boot. I was running an automatic dependency installation script for ...
-7
votes
1
answer
125
views
What command can be used to find where Python is installed? [closed]
what command? and why is so important? In UNIX? I have heilo and need to correct command.
1
vote
1
answer
4k
views
Start vino-server automatically at startup
I am using Bodhi Linux, and vino-server in it.
I can connect neatly from Win 10, following the same procedure I am used to do to connect to Ubuntu boxes.
Now I want vino-server to start automatically ...