Questions tagged [startup]

the startup sequence, from the time the kernel goes live to when all services are up and running

1
vote
0answers
16 views

What is the equivalent of systemd-analyze in CentOS 6?

systemd-analyze is the command to investigate time taken by each service during boot in CentOS 7. Is there a similar utility in CentOS 6 for doing this? update: extending the question after Lucas' ...
0
votes
0answers
37 views

How to run a process in background on startup?

I'm trying to run a process(myfile) on startup on my yocto linux board, but I'm getting either IOCTL or segmentation fault while I use nohup or & to run in background. I could run myfile in ...
0
votes
0answers
24 views

Program not working after setting script in init.d

I have two programs that need to run on start up. I am using init.d scripts because the virtual machine in my system does not have systemctl. With my configuration program_A is working but program_B ...
0
votes
0answers
28 views

Debian 9 stretch - How to prompt user from rc.local script and echo in current terminal

I need to create an easy to go Debian VM for new developers on my team. I run a script on boot with rc.local. This is a small test script : #!/bin/bash exec < /dev/tty1 # Checking if user ...
1
vote
0answers
96 views

Xubuntu booting to black screen then resetting on reboot? [closed]

I have Xubuntu 18.04 running on an older laptop, and just recently it started loading to a black screen. If I change the startup to run in text mode everything says ok finishing with '[ok] Reached ...
0
votes
1answer
16 views

Launch interactive app from script

I have an application built in C that uses fgets to read user commands from stdin. I want my embedded linux system to launch this application on startup, and put the user in the terminal of this ...
1
vote
0answers
16 views

XFCE Session & Startup Application terminal command to turn on and off

In XFCE4 I can create my own custom start-up commands at Settings Manager > Session & Startup > Application Startup and turn them on or off by clicking on the command's check-box. Is there a ...
0
votes
0answers
24 views

Fedora 28 hangs when logging in shortly after boot

I am running Fedora 28 on a ThinkPad T460s. On the first log in, directly after booting, the screen becomes grey with the mouse pointer visible, but I cant move it. It stays like that for a few ...
1
vote
2answers
118 views

Splash in PID =1

I have just started learning about process in Linux. I have come around this command called - ps -ef (which will shows all the process running ) I get output like this UID PID PPID LWP ...
0
votes
0answers
154 views

CentOS 7 Black screen after gnome upgrade

Symptom: CentOS 7 stuck at startup when running at GUI level command line level works fine. Only mouse cursor can be seen everything else is black Press Ctrl + alt + F3 reads "A start job is ...
4
votes
2answers
242 views

How to set up OpenVPN and Transmission to start at boot on CentOS 6?

I'm trying to set up Transmission with OpenVPN on a headless server running a minimal install of CentOS 6.10, and ideally these would start when I boot the system. I'm able to get everything to run ...
0
votes
0answers
6 views

Can't find the source of startup httpdmas at bootup

I have checked cron jobs but no startups referring to httpdmas. I have checked /etc/rc[0-6].d and /etc/init.d/rc.d/ (none) I have checked chkconfig for httpdmas and it is all off. chkconfig --list … ...
0
votes
2answers
62 views

Remove programs from automatic startup

When I start and log into my computer, multiple programs open on startup (mousepad, a terminal and firefox). How can I change this behaviour? I have no idea why it happens. I am running Manjaro XFCE. ...
0
votes
0answers
14 views

Gnome3 Session Startup File

What is the location of the "Gnome3 Session Startup File". I use Ubuntu 18.04 with gdm3 as display manager. I want to export an environment variable (persistent) for GUI (desktop) application. Also,...
0
votes
0answers
24 views

Command `startlxqt` causes en error `QXcbConnection: Could not connect to display` [duplicate]

I want my Desktop Environment lxqt to start by typing out the startlxqt command in console. I do not want to start it automatically. The history is that I installed Debian Stretch without a Desktop ...
7
votes
4answers
672 views

How can I track script which gives me “command not found” right after the login?

When I login, I have these messages: -bash: $'\r' : command not found -bash: $'\r' : command not found -bash: $'\r' : command not found It is quite clear that it is caused by Windows-style line ...
0
votes
1answer
119 views

Debian 9: Multiple Failures During Startup

Recently I was using my notebook in a normal session when, suddenly, the network interface stopped working. I manually shut down the system (couldn't do it via LXDE neither via terminal) expecting ...
0
votes
1answer
195 views

Tiny Core: startup script and persistence

I need a very lightweight, and I found Tiny Core Linux, which I installed following this guide, but I have several problems, related to adding SysVinit (in which is based) startup scripts: Anything I ...
0
votes
1answer
256 views

OpenSuse Tumbleweed: How to run a bash script on startup?

I'm trying to a run a .sh file on startup of a rPi3B+ running openSuse Tumbleweed JeOS. The script is really simple and looks like this: node /home/user_name/path/to/the/file.js here are two links I ...
0
votes
0answers
47 views

Import value from kernel startup code to user space

I need access to a variable, an integer, whose value is determined during startup on this embedded system. The kernel is: 2.6.35.14 and the variable I am trying to access is created an used in the ...
1
vote
1answer
219 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/...
0
votes
0answers
8 views

How to open just one app and block any other thing on session opened via xrdp

I'm using linux mint 19. I'm trying to config a computer to some people will be able to connect to it and use only one app. I mean, I'd like that when any people that connects to this computer via ...
3
votes
1answer
437 views

Start a Qt/wayland application on top of weston on startup

I would like to launch a Qt application on start up. The application uses some of the features from weston/wayland desktop, so it should be launched on top of weston, right after weston is started. ...
1
vote
1answer
128 views

How to automatically start Rescuetime on startup (tried crontab and rc.local)

I have installed rescuetime on debian 9. It requires the command rescuetime to be run in a terminal, this just keeps running rather than running and closing (it adds an icon into the tray at the ...
0
votes
0answers
68 views

Dual Boot Win10/Linux Mint hangs on boot, Light Display fails to load

Recently I had issues with my dual boot Linux Mint/Windows 10 instillation. It wouldn't boot. My computer would turn on and it said Error: Unknown Filesystem. Then put me at a Grub Recovery prompt. ...
22
votes
1answer
914 views

One systemctl command to both start and enable

Using one command to both start and enable systemctl managed software would be useful to spare a few lines in a few scripts, making them a bit more aesthetic (not really a problem but a nice thing to ...
0
votes
1answer
65 views

How to writes the log on the screen during shutdown and startup (after grub)

As we know, when we startup the system (after grub) and when we shutdown the system, many logs will be printed on screen. I know that the kernel would write some logs of the kernel. But how about the ...
2
votes
1answer
299 views

Ubuntu 18.04 VM in emergency/maintenance mode due to failed corrupted raided disk

I have a VM which has an attached raided device with fstab entry: /dev/md127 /mnt/blah ext4 nofail 0 2 The raided disks are corrupted and during startup the unit entered emergency/maintence mode, ...
0
votes
1answer
88 views

Shutting down computer for night?

How can I make a script to shut down computer while I sleep? I mean, it should shut down the computer when I run the script and start the computer at 6.45 am.
0
votes
0answers
61 views

How to stop anonsurf from starting when system starts up

I am using anonsurf package to be able to visit some websites that are filtered by my ISP. My problem is that although I don't need anonsurf to be enabled for everyday use, it starts at the system ...
1
vote
0answers
198 views

Failed to start mariadb server

starting mariadb server as a systemd service (systemctl start mariadb-server.service) fails with error message: Incompatible header in messagefile '/usr/share/mysql/english/errmsg.sys'. Probably ...
0
votes
1answer
31 views

How to make Mint Update launch in the background on startup?

I'm using Mint 19 (Tara) Cinnamon. I've accidentally removed the Mint Update entry in Startup Applications and then added it again, but this time it launches in the foreground (always talking about ...
0
votes
2answers
58 views

Does the bootloader load the kernel fully into memory

I read that the bootloader (Grub, or U-boot etc. ) locates the kernel (from maybe the HDD, or even flash memory if it's an embedded system) and loads it into memory on startup. Now, does this mean ...
1
vote
0answers
112 views

It takes forever to login

I'm using Debian testing with Gnome. For some reason it takes around a three minutes to login, after I have typed in the password and pressed enter. What could the reason be? I would love to provide ...
1
vote
1answer
330 views

System is booting up. Unprivileged users are not permitted to log in yet

Is there a way (other than permit root login on the target machine) to work-around the following: $ ssh 192.168.0.14 user@192.168.0.14's password: "System is booting up. Unprivileged users are not ...
2
votes
0answers
4k views

Boot stuck at “Started TLP system startup/shutdown.” [closed]

OS: KDE Neon 5.14 based on Ubuntu 18.04 Kernel version: 4.15.0-42-generic I tried booting from an older kernel version from the grub menu, still the system won't boot. It shows a long list of ...
1
vote
1answer
60 views

Mounts of systemd service script disappear

I have a systemd service file of the following kind. [Unit] Description=Mount some special file systems After=local-fs.target Before=syslog.service [Service] Type=oneshot ExecStart=/root/some-...
0
votes
1answer
564 views

How to execute a specific sequence of operations in i3 on start-up?

Using exec in the config file would start an application on startup. Any application to be bound to a workspace when it starts using assign. However, how could one do a sequence of operations on start-...
1
vote
1answer
54 views

Why can't a service startup at boot

I want to use systemd to make a service startup at boot. However I get the message saying that the service is inactive(dead): root@mdchost:/lib/systemd/system# systemctl status ...
2
votes
1answer
34 views

Unable to start postgres unless I type the command to restart it

Whenever I try to start my project the following error occurs. django.db.utils.OperationalError: could not connect to server: No such file or directory Is the server running locally and ...
0
votes
1answer
97 views

Ubuntu with Xmonad - How to run programs on startup

I'm using Ubuntu Mate with XMonad. I can't seem to understand how to run something at startup after the login. I want some programs like Firefox to run when I login to my desktop. Now let's say I ...
0
votes
1answer
100 views

How to prevent this service from starting at boot

This question is different from the possible candidate since here I am asking how to remove the service at startup I am using a Seeed ReSpeaker Core v2.0 board. I would like to use the UART ...
3
votes
1answer
74 views

What is calling my executable *.sh script?

A long time ago I copied/modified a script that used inotify to tell me the results of an automatic clamscan when something was downloaded to Downloads - I followed this online resource: https://...
1
vote
1answer
743 views

Intermittent PCIe Bus Errors on startup (Arch Linux)

Since April when I built my computer with Arch Linux OS, I have been getting some errors that seem to point to the ASPM control of some USB 3.1 on my ASUS "ROG STRIX Z370-E GAMING" motherboard. I ...
1
vote
1answer
15 views

Problem with additionally starting konsoles when booting (debian)

I am using the following command to start a konsole + execute a command at startup. konsole -e 'bash -c "MY_COMMAND;bash"' The goal is that the konsole stays open after executing the command (which ...
2
votes
1answer
86 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.
0
votes
1answer
321 views

How to run a “Keep NumLock always on” command in Linux Mint 19 Cinnamon on each reboot / re-login?

In an answer of my question on Code Review: Keep NumLock always on in Linux (C++), I am pointed to the right solution for this problem, that being a command: setxkbmap -option numpad:mac which ...
-1
votes
2answers
1k views

new kali installation (EFI), I can't start on kali OS without the “super grub 2” usb key

I got a new computer. This computer works before with a multi boot (ubuntu OS, kali OS and windows OS). I wanted to erase all datas for install only a Kali linux OS (no multi boot, just only Kali). ...
0
votes
1answer
39 views

How to run files automatically after I power on my raspberry pi?

Is there anyway to have files (texts/videos) saved in a specific folder to run automatically once I start up my raspberry pi? I am creating a LAN of raspberry pi's with one central laptop connected ...
4
votes
2answers
1k views

How to run simple command on startup on FreeBSD?

I need to run a command at startup on my machine using FreeBSD: cd /home/portal mv portal.sqlite corrupt_portal.sqlite This is clearly not a daemon or a service, just a one time command at every ...