Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 votes
1 answer
48 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 ...
Андрей Тернити's user avatar
0 votes
0 answers
50 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 ...
cardamom's user avatar
  • 560
0 votes
1 answer
160 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 ...
Benyamin's user avatar
  • 103
1 vote
1 answer
2k 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 "...
Jacob Ewing's user avatar
0 votes
0 answers
44 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 ...
jarik's user avatar
  • 1
0 votes
0 answers
85 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 ...
futurewave's user avatar
0 votes
0 answers
20 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 ...
U. Windl's user avatar
  • 1,483
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 ...
Ar Angelina's user avatar
0 votes
0 answers
54 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 /...
Danatela's user avatar
  • 178
0 votes
1 answer
502 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....
AngryHacker's user avatar
0 votes
0 answers
49 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 ...
Caco's user avatar
  • 127
0 votes
0 answers
100 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 ...
zhekch's user avatar
  • 1
0 votes
1 answer
791 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 **...
Denis da Mata's user avatar
0 votes
1 answer
446 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 ...
GregoirePelegrin's user avatar
1 vote
1 answer
47 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 ...
cefer's user avatar
  • 11
0 votes
0 answers
21 views

KDE Konsole incorrect reboot behaviour

I'm running KDE Plasma on Arch Linux. Upon rebooting my PC, Plasma re-opens the applications that were open prior to reboot. This is desirable behaviour and functions as expected for all applications ...
Lily's user avatar
  • 1
1 vote
1 answer
504 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 ...
Tomasz Garbus's user avatar
0 votes
1 answer
238 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&...
Porcupine's user avatar
  • 2,056
1 vote
1 answer
689 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 ...
Asteroid's user avatar
0 votes
0 answers
36 views

Unable to start up Fedora KDE or Reinstall

I've downloaded the recent version of fedora kde on my thinkpad laptop. It worked fine, but when I restarted and there was some sort of update for Lenovo, I've been completely shut out from fedora. It ...
Jeb Song's user avatar
0 votes
0 answers
147 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 ...
vfclists's user avatar
  • 7,551
1 vote
1 answer
165 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/...
Obscuree's user avatar
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 ...
user92979's user avatar
  • 175
0 votes
0 answers
852 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 ...
hp2505's user avatar
  • 11
0 votes
1 answer
166 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 ...
Gulzar's user avatar
  • 135
0 votes
1 answer
46 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 ...
no_one's user avatar
  • 1
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 ...
Arash's user avatar
  • 21
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 ...
Thomas.M's user avatar
  • 131
1 vote
0 answers
59 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 ...
mhcomputing's user avatar
0 votes
1 answer
42 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 ...
Rubem Pacelli's user avatar
1 vote
0 answers
118 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 ...
Engineer999's user avatar
  • 1,161
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 ...
MC68020's user avatar
  • 8,211
0 votes
1 answer
82 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-...
fixit7's user avatar
  • 139
1 vote
0 answers
158 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, ...
Robert McDonald's user avatar
-3 votes
2 answers
889 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 ...
itsmii's user avatar
  • 1
1 vote
1 answer
49 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 ...
Madz's user avatar
  • 145
0 votes
1 answer
303 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 ...
Andreas Bartels's user avatar
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/...
Ashar's user avatar
  • 501
0 votes
1 answer
41 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 ...
user539717's user avatar
1 vote
1 answer
425 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 ...
Lkaf Temravet's user avatar
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 ...
Pham Hung's user avatar
1 vote
0 answers
870 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 ...
Maxime B.'s user avatar
  • 143
1 vote
1 answer
913 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,...
jaskij's user avatar
  • 180
0 votes
0 answers
655 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 ...
Anodos's user avatar
  • 11
-7 votes
1 answer
100 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.
Yaerim Lee's user avatar
1 vote
1 answer
3k 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 ...
sancho.s ReinstateMonicaCellio's user avatar
0 votes
1 answer
631 views

Source a script in Linux for all users logging in that echo some things

We have CENTOS 7.x Linux with bash shell. I need a some environment variables to be set and some messages involving these env vars to be echoed (a banner kind of thing, but dynamic because it's got ...
vharihar's user avatar
2 votes
1 answer
126 views

How do I stop xclock restarting at every system startup

I use Linux Mint on one of my machines. The other day I tried xclock via Terminal command line. I then found I couldn't stop, end or kill it. Or rather I could kill it but it immediately restarted. ...
PotatoCrisp's user avatar
4 votes
4 answers
990 views

Is it possible for a shell to (automatically) source files after the first prompt is shown?

I'm wondering if there is any way to put something in my startup files that will cause other files to be sourced after the first prompt is shown. I would prefer a method that doesn't rely on hooks ...
iconoclast's user avatar
  • 9,218
1 vote
1 answer
2k views

systemd start stop enable and disable multiple services with one target unit

I have created a target file /etc/systemd/system/watch-for-sync-need-all.target [Unit] Description=systemd target to group services for all folders that create a sync need by changes After=multi-user....
bejo's user avatar
  • 165

1
2 3 4 5
16