Questions tagged [autostart]

Applications started when a desktop environment starts, i.e. as part of graphical login

Filter by
Sorted by
Tagged with
0
votes
1answer
44 views

Mount and Start Docker on Startup

I have a local VM running on Ubuntu that, on start, I need to run two commands on (as my user, andreas): sudo mount -a docker-compose up -d The last command is run in my home directory, and can't be ...
0
votes
1answer
65 views

XFCE4 - Session and Startup: where are autostart items saved?

In XFCE4, there is a list of items to be started when an XFCE4-session is started (XFCE4 Settings xfce4-settings-manager → Tab "Application Autostart"): I'm wondering where this list is ...
0
votes
0answers
16 views

Debian auto login and auto start mono program

Bare with me here as I am rather new to Linux systems. I have a Phidgets Debian SBC4 running Stretch 9.x without a GUI interface, it's just the tty terminal. I also have a program.exe that I have ...
0
votes
0answers
23 views

Linux daemon is up and running. However, I cannot reach the web interface

I have (similar to this) problem on boot at linux. When it booted, "the daemon is up and running. However, I cannot reach the web interface. If I stop the running instance of the daemon and ...
0
votes
0answers
73 views

Auto run script manjaro linux

I am using Manjoro Gnome . I am running a shell script when my system boot up using systemd and it works perfectly fine . The problem is when my system go to sleep or get lock automatically after ...
1
vote
0answers
39 views

Unable to start systemmd service

I run a logger collecting data using a Python script. Currently using a tmux, so I can detach and close the ssh tunnel. I would prefer it to start at the systemstart. I've followed this recipe to the ...
0
votes
0answers
26 views

lubuntu autostart wont work 20.04

i have one .desktop file in autostart folder which contains exec to sh script [Desktop Entry] Type=Application Exec=/home/user/script.sh Hidden=false X-MATE-Autostart-enabled=true Name[en_US]=TEST ...
0
votes
2answers
79 views

Trying to start a .sh on boot

I try to start a start.sh file when the Server starts. Some info: It's a headless vServer I tried crontab but that didn't work either My current approach is systemctl command When I login the user is ...
0
votes
1answer
39 views

LightDM running command after authenticating (pam_exec or other)

LightDM allows using dm-tool lock to "lock" the session. But I can't find config responsible for authenticating in /etc/pam.d. /etc/pam.d/lightdm - is only during initial login to session /...
0
votes
0answers
25 views

View/Manage all autostart/startup softwares and services

Is there a cross-distro way or software (cli or gui) which lists/manage all autostart/startup softwares and services? For example all softwares/services in: /etc/init.d/ /etc/xdg/autostart/ /etc/...
1
vote
1answer
124 views

How to implement automatic, conditional startup of flatpak applications at login?

Rather than put some applications in $HOME/.config/autostart and start them at every login, I want to use a CASE statement to define which get launched on which days (some things only get launched on ...
0
votes
0answers
5 views

App doesn't handle part of keyboard keys when runned by init script on boot

I have problem with my app. When it is runned by init script on system boot, I can't use keyboard keys responsible for letters and numbers (I can't write text), but I can use arrows, ESC, ENTER, mouse....
1
vote
2answers
81 views

Mystery of Zoom auto-restarting, how do I stop it?

I'm running an ordinary Debian system on which I have installed Zoom. After using Zoom, and quitting, the program keeps restarting. After I kill it I use ps to check and it is gone, after about 15 ...
2
votes
1answer
36 views

Run a bash shell script on iMac on startup

I have a bash shell script /var/tmp/test.sh that runs on iMac in an infinite while loop. I wish this script to run 24X7 and even when the iMac is rebooted the script should autorun. I want to run the ...
0
votes
0answers
22 views

How to run binary at Linux start-up with sound?

I have a C++ program where I use the SDL2_Mixer module (which is based on Pulsesink, I think) to output audio. I want to run it on startup, but it does not want to work out very well. I set my default ...
1
vote
2answers
42 views

How to add a command to an autosart that will use keyboard shortcuts or a command?

I have my favorite applications as an autostart and I want one to be automatically placed in another workspace. How can I do that? Are there any tips, tables with ready-made solutions? The only thing ...
1
vote
2answers
119 views

Run shell command exectly one time at login

I am on Ubuntu 18.04 and trying swap Ctrl and CapsLock using xmodmap. But failed to find a way of doing that automatically: .[X|x]modmap[rc] and .config/autostart didn't work. What other ways are ...
0
votes
1answer
196 views

Why is minidlnad being started automatically and how to prevent its autostart?

Since recently minidlnad is starting automatically even though I haven't configured it to do so (I noticed that by running sudo lsof -i after startup). How can I stop it from starting automatically? ...
0
votes
0answers
471 views

Run flask python script in screen session with root privileges at system startup

I installed a python script that runs a flask app on a webserver, and want the script to run automatically at system startup. The python script needs root privileges in order to read the https ...
4
votes
1answer
49 views

What's causing a process to start at startup?

I've got a problem: A while ago, I installed a piece of software called wii-u-gc-adapter, and when I run it, I can plug my GameCube controller in to my Linux machine desktop computer to play games. ...
3
votes
1answer
249 views

How to remove Kaccessible in KDE neon / KDE Plasma 5.20?

I still don't know why KDE Accessible / the screenreader starts automatically and how to conveniently prevent it via KDE's options. In the latest version of KDE that's used by KDE neon I could not ...
0
votes
1answer
80 views

service won't autostart on boot

So I have been trying to autostart a service and I'm getting no where. I've tried autobooting on both Mint 19.3 and 20 and Ubuntu 18.04 for the service lizardfs-chunkserver.service and autostarting ...
0
votes
1answer
116 views

Unable to start a service on boot (Linux Mint 19.3)

I'm trying to setup a service to run on startup. I've searched for hours and tried multiple methods but none have been fruitful. My machine is running on linux mint 19.3 The service I'm trying to ...
0
votes
1answer
260 views

command in .bashrc is being executed twice

I am using .bashrc to execute a python script on system boot: sudo -u pi python3 /path/to/script.py and then I add @lxterminal to file /etc/xdg/lxsession/LXDE-pi/autostart to make sure a terminal ...
0
votes
0answers
43 views

Running a script from autostart results in poor performance

I have a bash script to show an FFplay stream of a usb webcam and that script is set to run on start as a .desktop file. The only problem is that when it is run this way I'm getting terrible ...
1
vote
0answers
21 views

Stop automatic application execution on graphical login

I use Manjaro 20, and have changed the display manager from LightDM to SDDM, out of that and installing normal applications, I haven't changed anything on the system. For some reason xfce4-terminal ...
0
votes
1answer
16 views

Stop BuzyBox Command Line for Loading on Start Up

My computer turned itself off to protect itself from a power-surge. This has happened before many times, with nothing weird happening the next time I turned on the computer. I would press the power ...
0
votes
1answer
320 views

How to delay PM2 autostart at boot?

I am running the latest version of Debian on an Intel NUC and I've setup PM2 autostart at boot with pm2 startup For my needs I need to delay its start by let's say 30 seconds. How to do that please?
1
vote
1answer
139 views

Autostarted .desktop application doesn't exit on log out

I'm following the answer of Autostarting .desktop application at startup not working, and it is working well. I'm launching a python script. The .desktop application looks like this: [Desktop Entry] ...
0
votes
0answers
97 views

Run Script in Terminal On Start Up

I'm trying to create a script on my Ubuntu machine which should run in the terminal some minutes after startup: "run.sh" sleep 10 sudo gnome-terminal --working-directory="/home/joan/Desktop/Server/" ...
1
vote
1answer
124 views

How to find out why postgres was started by systemd and prevent it?

I already checked the /proc/PID directory. I'd like to prevent any services like postgres from starting except if I start them myself. Hence, I'd like to find out why postgres was started. I saw that ...
3
votes
1answer
1k views

Disable Autostart on Login

There is an application, zoom, which depends on software known as ibus. After installation, ibus likes to autostart. I don't want ibus to autostart. Ive removed autostart files that start im-daemon ...
1
vote
0answers
2k views

systemd: SSH service does not start at boot

Whenever I boot my system (Ubuntu 16.04), I cannot log in via ssh and the service is reported as inactive (dead) $ systemctl status ssh ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/...
1
vote
3answers
729 views

Where to put a command to be run when I log in to Lubuntu running SDDM?

I'm trying to set a wallpaper from the terminal. The script is: pcmanfm-qt --set-wallpaper=$(ls /home/$USER/.local/share/wallpapers/*/* | shuf -n1) This changes the wallpaper, but I want it to be ...
0
votes
1answer
329 views

.config autostart caffeine -a

I wish to run [Caffeine -a] at start of KDE.Plasma I have run from the prompt caffeine -h which lists options for caffeine. Options: -a --activate Disables power management and screen ...
1
vote
1answer
241 views

Autostarting a python GUI application on startup as local user (beagle bone black)

I am trying to start a GUI application (python3 project) on application startup. I've created a script in /etc/xdg/autostart/. @lxpanel --profile LXDE @pcmanfm --desktop --profile LXDE @xscreensaver ...
1
vote
1answer
385 views

Troubles autostarting Qt app on Yocto Raspberry Pi3

I'm looking to boot my Pi as quickly as possible into a Qt application. Following this guide I successfully built a Yocto Linux with the necessary Qt dependencies, and I can launch my Qt app by ...
0
votes
0answers
76 views

Why fg command within an infinite while loop works like a "keep alive" watchdog?

Recently, I've run into this implementation of a handicraft "keepalive" watchdog for a custom HTTP server: | | keepalive.sh | init.sh |_ main.py There are three files. The first one being ...
0
votes
2answers
56 views

Get The Ethernet Mac Address Of Computer with no Display

I'm trying to get the Ethernet mac address of a computer that has no display by using a desktop start up file that calls ip. This is what I have to work with: A laptop Mini-computer with no display: ...
0
votes
1answer
45 views

Raspberry Pi Start python script during boot

I have a Raspberry Pi which has a I2C 16x2 display screen. The screen simply say Welcome. Problem: I would like for this script to run as soon as the Raspberry Pi is turns on with power. I added ...
1
vote
0answers
320 views

xRDP autostart Applications, Clipit problem

The Problem: The company I work for has branched to another location a couple of days ago and our inhouse software has trouble keeping up with the data it sends and receives (in other words: Users ...
0
votes
1answer
458 views

ProtonVPN Autostart configuration error

I am trying to make ProtonVPN autostart on my Kubuntu machine. I have tried following this and this guides. The latest one I tried is the one from blog.x86txt.com. But when using the following ...
1
vote
2answers
297 views

Wine application doesn't automatically start after login on Linux Mint 19

On Linux Mint 19 (all "dot" versions), there is an option to add "Start-up applications". There, I've added the following script: #!/usr/bin/env sh export DISPLAY=:0.0 /usr/bin/thunderbird & ...
0
votes
0answers
214 views

Unavailable port 443 after reboot

I am new in Linux. I have installed on my Debian server Tomcat9. Tomcat is running after OS reboot, but port 443 is not listen. I can run tomcat/bin/shutdown.sh a then tomcat/bin/startup.sh and then ...
0
votes
0answers
26 views

Linux: print disappears for an executable in rc.local

I have an executable program /home/user/foo with root and executable permissions. The foo has 3 threads and performs outputs using printf. This program is placed in embedded target with Linux, 4.1.22-...
1
vote
0answers
41 views

cannot force linux autostart script file

I need to force my KDE Plasma installed on ubuntu 18.04 to run the following script on startup: xinput --map-to-output "Wacom HID 48DE Finger touch" eDP-1-1 xinput --map-to-output "Wacom HID 48DE Pen ...
0
votes
1answer
344 views

Openbox autostart do with big delay or until user made any action

I have autologin with lightdm and i make some command to run automatically in openbox autostart, but it not work until i click mouse/keyboard/touchscreen Also i check sometime it started after few ...
0
votes
0answers
1k views

"AT-SPI D-Bus Bus" program starts on debian 9 xfce start up

I was curious to learn about AT-SPI D-Bus Bus. From this website I found the definition of AT-SPI D-Bus Bus: AT SPI stands for Assistive Technology Service Provider Interface, a framework to ...
0
votes
0answers
354 views

How to add crontab task by reboot / poweroff / poweron pc?

I have next record in crontab -e, running with user root. @reboot /usr/bin/curl --silent --insecure -v -X GET https://<myserver_with_hook>?key=9d722304320de0b074d8da74bf680874&mes='nik-pc ...
2
votes
1answer
2k views

Safe way to automount VeraCrypt container without showing password?

I have a Raspberry Pi 4 (4GB) running Nextcloud on it. Because all my data and backups are saved on external USB drives I will encrypt them with a VeraCrypt container. Mounting and dismounting the ...