Questions tagged [autostart]
Applications started when a desktop environment starts, i.e. as part of graphical login
106
questions
0
votes
0
answers
4
views
.NET core application does not start during autostart
On my Ubuntu machine I configured script autostart.sh which is executed at the end of the boot sequence as root user. Within that script there is:
echo Starting application >> /var/log/autostart
...
0
votes
0
answers
13
views
How to kill and disable rslsync?
My system is Arch+kde. The rslsync processes are auto-started and I want to turn them off.
I tried
systemctl list-unit-files | grep enabled | grep rslsync
It returns nothing.
I also checked System ...
1
vote
2
answers
103
views
Automatically mounting LUKS encrypted volume during boot
Running RHEL 7.9, my root partition is LUKS encrypted so during system boot I am prompted at the console for the passphrase to continue booting; that part is fine.
Once system is booted, in /etc/...
0
votes
0
answers
42
views
Systemd, rc-local and shutting down
I am using CentOS 7 and I needed to start some applications on boot automatically After a lot of problems with systemd and permissions I managed to start it right using rc-local service and its ...
0
votes
0
answers
163
views
Starting python script in startup
I would like to start python script in startup. Script changes wallpaper automatically every hour using feh --bg-max PATH/to/bg. Using Arch linux and qtile window manager. I've tried to execute it in ....
0
votes
0
answers
82
views
RC-local and python virtual environments
I'm advising someone on how to get a series of Bash scripts to execute at startup. The option that we've gone with is placing them in /etc/rc.local. Each Bash script activates a virtual env and then ...
0
votes
0
answers
157
views
What (user) startup scripts are sourced when launching XFCE4 through GDM?
Scenario:
I'm running Fedora 35, with GDM being the login manager, and XFCE4 being my desktop environment.
XFCE4 has an autostart feature. Essentially a bunch of .desktop files, which describe a ...
0
votes
0
answers
27
views
Openbox autostart --firstrun not working
I am trying to run a post-install script, i.e. at first boot. This is what I have put in ./config/openbox/autostart:
(sleep 10s && /filePath/myScript.sh --firstrun) &
The script runs ...
0
votes
1
answer
183
views
Python script not launching properly on reboot/startup Raspberry Pi
For context, I am using Raspberry Pi model 3B+. Currently I am trying to run a python script at the Pi's boot up. But I am struggling with getting the program to launch properly.
When I use the ...
0
votes
1
answer
61
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 ...
1
vote
1
answer
2k
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
0
answers
57
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
0
answers
32
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
0
answers
141
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 ...
0
votes
0
answers
92
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
0
answers
119
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
2
answers
308
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
1
answer
125
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
/...
1
vote
1
answer
280
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 ...
1
vote
2
answers
166
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
1
answer
81
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
0
answers
44
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
2
answers
46
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
2
answers
972
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
1
answer
473
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? ...
4
votes
1
answer
66
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
1
answer
374
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
1
answer
90
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
1
answer
174
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
1
answer
560
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
0
answers
48
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
0
answers
22
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
1
answer
20
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
1
answer
750
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
1
answer
200
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
0
answers
211
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
1
answer
153
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 ...
4
votes
1
answer
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
0
answers
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
3
answers
1k
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
1
answer
522
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
1
answer
426
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
1
answer
534
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
0
answers
106
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
2
answers
100
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
1
answer
52
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
0
answers
406
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
1
answer
581
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
2
answers
470
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
0
answers
266
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 ...