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
13 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
62 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/...
  • 429
0 votes
1 answer
19 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
22 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 ...
  • 623
0 votes
0 answers
68 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
251 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 ...
  • 143
0 votes
0 answers
27 views

Linux No Sound on Login, Only After Replugging in Headphones

The Problem Every time I log into my Computer I have no Sound so I have to unplug, and plugin my Headphones back again. Specs Ubuntu 20.04 x86_64 Some normal audio jack In-Ear-Headphones My Idea So ...
1 vote
1 answer
161 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,...
  • 170
0 votes
0 answers
207 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 ...
  • 11
-7 votes
1 answer
43 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.
0 votes
1 answer
643 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 ...
0 votes
1 answer
61 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 ...
2 votes
1 answer
42 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. ...
3 votes
4 answers
96 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 ...
  • 8,625
1 vote
1 answer
342 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....
  • 165
0 votes
2 answers
262 views

How to pull git repository on Linux Startup

I want a Kali Linux 2021 (with zsh) machine in a lab to pull the most recent copy of a git repository on startup. I can get the commands to run fine manually, but for the life of me I cannot get them ...
0 votes
1 answer
216 views

Ranger file manager as the singleton instance on shell startup

Problem: I use zsh and added to its config file a line of launching ranger on startup. .zshrc # A few other settings and commands. ZSH_TMUX_AUTOSTART="true" plugins=(tmux ...) source ranger ...
  • 15
0 votes
1 answer
326 views

In Linux Mint 20.2 how to execute xmodmap at startup

I use Linux Mint 20.2 (with Mate desktop environment). I need to make permanent some modifications of the keyboard mapping, as explained in the chosen answer to this question. In other words, I need ...
  • 259
0 votes
1 answer
519 views

Mount Network Drive with systemd on Startup

I'm trying to mount my local NAS on startup with a script that is called by a systemd-service. Yesterday I did the same on a Debian 11-Install and it worked. Today on Arch I run into the problem that ...
  • 43
1 vote
1 answer
172 views

Why the LESS_TERMCAP settings does not work when put it into ~/.profile

I have the following LESS_TERMCAP settings: # less config export LESS=-R export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking export LESS_TERMCAP_md=$'\E[01;31m' # begin bold export ...
0 votes
0 answers
289 views

GRUB Error: command failed. You need to load the kernel first [duplicate]

I have a Dell Inspiron 17 3793, I installed Ubuntu and most of the times when I turn it on and select Ubuntu in grub is shows "error: command failed" several times, like in a list and at the ...
0 votes
1 answer
602 views

Ubuntu stucked while starting with Black Screen

Last night my Ubuntu VM was working fine, but today its not starting up. I don't know why it isn't starting up. I am using Oracle VM Box 6.1 and I have Ubuntu 20.04. It starts up and then stucks after ...
0 votes
1 answer
197 views

How to resolve "A start job is running..." after kernel update

I am having trouble accessing a Oracle Linux 8 VM in Oracle Cloud, following a kernel update yesterday. I need help in knowing how to resolve the issue, or even if I should try. (The alternate being ...
0 votes
0 answers
22 views

Why there are different permission and module-loading process for kvm when startup?

My customized Debian 11 image will open a VM(QEMU) when the system starts up. And I deploy its backup image on different PCs, but there are two symptoms on some PCs user account is not added to the ...
  • 21
-1 votes
1 answer
89 views

cannot start Linux Mint Cinnamon anymore - disk full

hoping for some help as I have searched for ages and tried heaps of things, but getting nowhere... I shut the lid of my laptop one afternoon (putting it to sleep) and then next day went to use it (...
  • 1
0 votes
1 answer
177 views

How to Choose Between Real-Time, Low-Latency and Normal Kernels on Startup?

For instance, I know it's possible to easily install several desktop interfaces and choose what session to log into on startup. Is this type of thing possible for choosing between kernels? I would ...
  • 11
2 votes
1 answer
724 views

Rotating Display on Debian Buster from CLI

I am attempting to run an AvaloniaUI application on a version of Debian(Buster) on an ASUS TinkerBoard. The display I am using is a 7 inch 1920x1080p touchscreen display. The application runs in a ...
0 votes
0 answers
55 views

Microsoft Teams starts up on login even though I have removed it from the startup applications list in GNOME Tweaks

I'm having trouble disabling Teams as a startup application. I'm running Fedora 35 with GNOME as my desktop environment. I got to GNOME Tweaks and remove Teams from the list of startup applications. ...
  • 1
0 votes
0 answers
51 views

Arch Linux cannot start X "no screens found", NVIDIA drivers installed, SDDM enabled

I'm pretty much at a loss. I've been at this for probably the last 30 minutes and have not made any progress whatsoever. This is directly after having just used archinstall, and I haven't seen ...
0 votes
0 answers
384 views

Debian testing is very slow boot, after upgrade to bookworm

After upgrade to bookworm, debian presented so slow to boot. Is it possible to disable some boot process? Is it another trick that I could do to make it more fast on boot? systemd-analyze blame 51....
0 votes
0 answers
46 views

Cannot acess previously used Mint on my laptop

How can I approach to an older version of Linux which is still installed on my laptop but not in use due to some hardware/software problems? I don't see it on the system start-up and I still have some ...
0 votes
0 answers
21 views

Automatically start non-login on virtual terminal

You know how you can hit ctrl-alt-f3 to get a virtual terminal, where you can log in? Is there a way to set one of those terminals to automatically start a particular program instead of a login ...
  • 219
1 vote
1 answer
575 views

switch_root: failed to execute /sbin/init: Too many levels of symbolic links

So, recently I was doing the Linux from scratch project and I had multiple terminals open, so I was continuing to make it, and by accident I typed the line in another terminal tab (root), and it ...
  • 13
0 votes
0 answers
31 views

Why do boottimes differ daily?

My boottimes differ on a daily basis ( in Kubuntu, which I use as a daily driver ). Sometimes the BPFilter ( UFW ) will start displaying errors for about 10 seconds. Sometimes it doesn't. Sometimes my ...
  • 111
0 votes
2 answers
2k views

Why ssh.service doesn’t start automatically during boot despite being enabled by systemd?

I’m using Debian 11 on a Raspberry Pi 4 (image found here). sshd is properly configured (I only edited /etc/ssh/sshd_config, the rest is completely fresh from system installation) and works correctly ...
0 votes
0 answers
144 views

cant get a cronjob run at startup on ubuntu 16.04, any way around?

I put command @reboot /home/user/script.sh in sudo crontab -e but it won't run, @reboot sleep 60 && sh /home/user/script.sh won't run either. already chmod 777 and -x it. im using hiveos(based ...
1 vote
1 answer
303 views

MongoDB: Failed to set up listener: SocketException: Permission denied error

Mongodb failed to start when launched as a service: service mongodb start with an error: Failed to set up listener: SocketException: Permission denied error What to do to start it properly?
  • 111
1 vote
3 answers
192 views

How to add fsck at boot like a regular service?

I remember that certain distros, used to run fsck at boot after x boots, in a regular way. How can be added to the boot process the fsck service to be deployed in rpm distro/Fedora,RHEL,Oracle,Suse? ...
  • 119
1 vote
1 answer
464 views

OpenBSD run script on Startup

I was trying to run a .sh script on my OpenBSD machine on startup. I've made the script executable using the chmod +x command. I've also added the script to cron via an entry reading @reboot sh /dir/...
2 votes
1 answer
150 views

In bash, is there a way to see how much memory .bashrc and any startup scripts are consuming?

In bash, .bashrc (and various other scripts) can load into memory at shell startup. These can be 10 lines long, but can be hundreds (if not thousands) of lines long. Each export will consume a tiny ...
  • 579
0 votes
0 answers
778 views

plymouth not showing image at startup

I'm trying to follow the instructions to get a custom background working, when my Arch installation first boots. I'm following the wiki: https://wiki.archlinux.org/title/Plymouth#Installation I ...
  • 101
-1 votes
2 answers
95 views

How can I start a cpp bin at every reboot?

I am beginner in LINUX operating system and my question is the next one: I have a compiled bin from a C++ source code that uses OpenCV and another libs and it displays on the screen the images ...
  • 39
1 vote
1 answer
594 views

Alpine Linux startup script

I have a USB flash drive, which boots Alpine Linux into RAM memory. I wish to run a script directly after startup (login to WIFI, etc.). Is that possible? It is advised to place a startup script in /...
  • 113
0 votes
2 answers
78 views

what happens after I have entered log in password and before the shell prompt comes up? and how to reduce time for that interval?

I'm doing some experiment on a virtual machine (guest machine is ubuntu 20.04 on arm64) and I'm doing this on a x86_64 host machine (ubuntu 20.04). Right after I login, it takes about a minute until I ...
  • 305
4 votes
1 answer
3k views

What is the startup script on Alpine Linux when you login. (I want my aliasses when I log in)

For Docker Containers we use Alpine Linux, like Node:Alpine, to make our images as small as possible. But somethimes you want to login on that Container. It would be convenient to have your aliases in ...
  • 171
0 votes
0 answers
15 views

Intermittent boot anomaly: has anybody heard of a system's screen going back to the startup image, a minute or so after the Gnome desktop comes up?

This is a weird one. I have a new System76 Meerkat, running POP, and (intermittently, seemingly at random, maybe once out of 10 system startups), a minute or so after the Gnome desktop appears, the ...
0 votes
0 answers
151 views

Problem with running a script as a startup program

I wrote a script and added it to /usr/bin/ with the permission for execution. It works exactly as expected when I run it on terminal. The script is written for updating the TeX-system regularly, add a ...
  • 143
0 votes
1 answer
1k views

How Can I Run A Command On Startup In Linux Mint?

My computer has a problem where for some reason Linux Mint doesn't start network-manager on startup. To fix this, whenever I restart linux, I have to enter 'sudo service network-manager restart' into ...
  • 15
0 votes
1 answer
408 views

What files set the default PATH

I'm puzzled as to what files set the default PATH on Linux (specifically, Debian). (I'm not interested in the user-specific ones in ~ (.profile, xsessionrc, maybe others) here.) So far I've ruled out ...
  • 188
0 votes
1 answer
410 views

Execute a program before user login

I am using Ngrok for having remote SSH access to my home computer without setting up port forwarding and stuff like that. After messing around with it for a little, I decided to set it up to start the ...

1
2 3 4 5
15