Questions tagged [autostart]
Make programs start upon logging in, or stop them from doing so.
529
questions
0
votes
1
answer
47
views
Autostart with Desktop Entry only works for GUI applications
I am trying to start django with a Desktop Entry file and open a chromium browser in kiosk mode to show a locally served website which shows some weather reports for my area etc ...
I put some sleep ...
1
vote
1
answer
35
views
What is the difference between an Autostart App and a system service?
I'm working on creating an auto-start script that will launch & run my applications upon startup. I've created a .sh file that will run my applications but I've found 2 different ways I can run ...
0
votes
0
answers
33
views
How to start Virtual box machines automatically when booting? Ubuntu 22.04 LTS Desktop
I wasted one day trying to follow any guides that I could find in order to make my Virtual Box machine start after system reboot.
Is there any updated in-depth guide that works with Virtual Box and ...
0
votes
0
answers
22
views
Ubuntu Studo 22.10 Autostart not starting "desktop entries" and specifies opening executables with executables
In System Settings "Startup and Shutdown" Autostart "application properties" file type application /x-desktop the "Open With" field lists executables for opening desktop ...
0
votes
0
answers
30
views
Crontab is not starting automatically after Docker Container reboot
I have running a docker container in the qnap container station.
Docker Container OS: Ubuntu 20
I have installed crontab on this Container. The Container will restarted every day.
The problem now is, ...
1
vote
1
answer
31
views
Virtualbox VBoxManage show only results with sudo many info inside what I already tried in other post?
When I run this als normal user :
VBoxManage list runningvms
No results, also no error output, its compleet empty ....
When I run this with sudo :
sudo VBoxManage list runningvms
is see my VM is ...
2
votes
0
answers
62
views
VNC Config Window only when autostarting VNCServer Ubuntu 20.04 LTS
I have Ubuntu 20.04 LTS installed with TigerVNC and I use the following settings in my ~/.vnc/xstartup file:
#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/....
0
votes
0
answers
60
views
Ubuntu 22.04 - Autostart VirtualBox 7.0
I'm trying to start VM boxes automatically on boot. A quick search yield 2 main solutions:
using Stat-up Application (tutorial). No luck.
using systemd service ( tutorial). Although when service was ...
0
votes
0
answers
25
views
Can I VNC into a machine running Ubuntu Server LTS and is running a custom application at start up [duplicate]
I have a machine that is running Ubuntu Server LTS and I am launching an Openbox session on start up and then launching a custom application on Openbox autostart so that all the user sees is the ...
0
votes
0
answers
26
views
systemd service doesnt start
i have a problem with a systemd service and i cant find the problem.
I have script in the directory /home/username/test/ called battery.sh:
#!/bin/sh
max=99999
for i in `seq 1 $max`
do
clear
...
0
votes
1
answer
109
views
Cant Set up an autostart scipt
I have been trying to set up an autostart script to start on the Desktop login (Kubuntu)
I tried adding my script through the startup applications GUI, and it did add it, but the script wasnt working. ...
1
vote
1
answer
24
views
Startup applications - I want to set a clock on the 2nd display on startup
I want to see the clock (tty-clock in this case) on the 2nd display at the start of the system. But I don't know how to set it properly. Any suggestions will be appreciated. Thanks.
0
votes
0
answers
224
views
SSH agent not autostarting anymore after upgrade to Kubuntu 22.04
I upgraded from Kubuntu* 20.04 to 22.04. Now ssh-agent is not automatically started anymore upon boot.
To my understanding, ssh-agent is supposed to be started by the desktop environment (i.e. ...
0
votes
0
answers
153
views
How to add .appimage and other files to your taskbar/panels?
So, I'm really writing this just writing this out because there is a surprisingly small amount of people know how to do this, and I saw a post while browsing the inter-webs on https://forums.linuxmint....
0
votes
0
answers
51
views
Center mouse cursor position at start-up
I am trying to get rid of the old problem of mouse cursor going to bottom right of the screen at boot. I am running Ubuntu 22.10 with GNOME 43. Basically, I have created a Python script (as instructed ...
2
votes
0
answers
882
views
Autostart VirtualBox on system startup
I am running the latest version of Ubuntu 22.10 and I have installed VirtualBox onto the system.
I am looking for a possibility to start VirtualBox on the system start-up and after that, I want to ...
0
votes
0
answers
47
views
Autostart does not work as expected for Conky theme
I have a Conky script and I want it to autostart at log in. I placed this .desktop-file inside the autostart directory:
[Desktop Entry]
Type=Application
Exec=/home/isom/.config/conky/Graffias/start.sh
...
0
votes
1
answer
227
views
Fluidsynth Starting Automatically On Boot; Login Freezing - Connected? How to Solve?
Since switching from Kubuntu 20.04 to Ubuntu Studio 22.04 (both use KDE Plasma), I have had a strange cluster of issues. I'm wondering if they could be connected, but my main goal is to find a ...
0
votes
0
answers
100
views
Launch BlueMail in background without startup screen
I'm sticking my toes back in the water of Ubuntu again; my last encounter with it was back in 2009. So I am a total beginner.
I'm running Ubuntu 22.04 and using BlueMail as my email client. Is there ...
0
votes
0
answers
289
views
ubuntu 22.04 is ignoring/deleting my autostart applications
Been using ubuntu since version... 16? and never had this issue before. Just started after transitioning from 20 to 22.
PROBLEM:
I add an application to the list of startup applications (then close ...
3
votes
1
answer
356
views
How to prevent snap-store from automatically starting
Like many of you, I'm getting the annoying notification that there's a pending update of snap-store:
Pending update of "snap-store" snap
Close the app to avoid disruptions (13 days left)
...
0
votes
0
answers
105
views
Launching certain command/script when connecting to Linux desktop via RDP
I need certain Bash command and Bash script to be executed automatically when the X-server is starting (the OS is Lubuntu 20.04). The problem stems from the fact I never sit at this computer, but log-...
0
votes
0
answers
150
views
Disable overview on startup not working when booting without display connected
We configured an intel nuc 10 with Ubuntu 22.04.1, X11 mode (disabled Wayland), autologin active, autostart application Firefox on specific url.
This works fine when a "normal boot" is done: ...
1
vote
1
answer
668
views
How can I set up network manager to auto-connect at boot-time to a Wi-Fi and a WireGuard VPN?
How can I set up network manager to auto-connect at boot-time to a Wi-Fi and a WireGuard VPN?
I configured Network Manager with 2 connections: a Wi-Fi and a WireGuard VPN. They both work when I start ...
0
votes
0
answers
20
views
Chrome has been free after open window choose file to download or upload
This issue just appear when I choose directiory to download or upload, not appear when I use download default. After a long time research and test, I figure out this issue because some Short cut web ...
0
votes
1
answer
119
views
autostart x server in Lubuntu, login loop
On Ubuntu 18.04, I was able to sudo startx in ~/.bashrc. The system would boot into my GUI program in ~/.xinitrc, without asking for password(I'd checked auto-login when I installed Ubuntu) or even ...
0
votes
0
answers
23
views
Modify PATH for Desktop Enviroment on startup
OS: Kubuntu 22.04, freshly installed.
I have script called test.sh:
echo $PATH
sleep 10
when I call it by clicking on file by mouse right button and choose run in Konsole the echo $PATH shows:
/usr/...
0
votes
0
answers
252
views
What makes LXD autostart?
I can see that snap creates and enables a snap.lxd.activate.service service, that runs lxd activateifneeded. But I don't see any signs of it in snapcraft.yml. snap.lxd.activate.service is enabled and ...
0
votes
0
answers
223
views
How to autostart sudo modprobe using a service for fixing intel wifi (ubuntu 22.04)
(ubuntu 22.04, fresh; wifi: Intel Corporation Wireless 8265 / 8275 ; HP elitebook 830 G5)
I followed already several howtos to create my script and service.
I need to run modprobe at start because of ...
1
vote
1
answer
242
views
autostart emulationstation using custom variable
I'm setting up retropie with emulationstation on my Nvidia Jetson Nano. These dev boards are only supported for 18.04. Unfortunately there's a bug with SDL2 so emulationstation crashes on startup ...
0
votes
0
answers
18
views
Start Driver When Graphics Tablet is Connected
I have this veik-tablet app installed on my Ubuntu 22.04.1 system. I must start it first and it opens minimized at system tray only after that I'm able to use my tablet.
But I want the app to start ...
0
votes
1
answer
194
views
guake autostart file disappears after reboot
I am on Ubuntu 22.04.1 LTS
I installed Guake, and created a file called guake.desktop in ~/.config/autostart with the following contents:
[Desktop Entry]
Name=Guake Terminal
Comment=Use the command ...
1
vote
0
answers
76
views
OBS Studio v25.03 is starting every time I log into KDE, how can I disable?
After every reboot or boot of Kubuntu OBS starts automatically.
I think this happens since about a month.
I tried:
I disabled all checkbox [ ] at
Settings>General>System Tray (one was enabled, ...
0
votes
0
answers
31
views
Adding an autostart feature to an existing install using USB stick
I have a set of touch panels (30pcs) that come pre installed with Lubuntu, and I want to add an autostart feature:
''/usr/bin/chromium-browser --kiosk --ignore-certificate-errors --disable-restore-...
1
vote
1
answer
806
views
how to autostart an executable file after login?
the program is an executable file that prints messages on the terminal;
I want the terminal to open on auto-start (already done);
and then the file to be automatically executed as soon as the terminal ...
0
votes
1
answer
591
views
In Ubuntu 22.04- how do I issue my password in a startup application that requires a sudo?
I have a couple of network folders in other linux machines on my CIFS network.
I've set them in FSTAB and they are accessed OK, PROVIDING I do a sudo mount -a when the system is restarted.
I've ...
0
votes
1
answer
30
views
"To Do" App, Auto start
I have just done a clean install of 22.04 and I am setting up my auto start programs. I am trying to add the To Do app,but can't remember the proper name for it in terminal. Can anyone help please. ...
1
vote
0
answers
304
views
How to start Todoist app minimized to tray on startup
What is the correct launch command for Todoist app along with the modifier to launch the app minimized to tray on system startup?
0
votes
0
answers
150
views
How to put a command that autostart daemon before login in Ubuntu server 20.04
I have two programs in Ubuntu server 20.04, that located in:
1. /home/kiko/go-btfs/cmd/btfs
2. /home/kiko/node5007/cmd/btfs
They both run with command: ./btfs daemon How to make this command for ...
1
vote
0
answers
104
views
Process path shown by ps -ef doesn't exist
I'm in the process of tracing a process that autostarts on my machine so that I can stop it happening. I want to stop it because it's causing port 8983 clash with something else.
$ ps -ef | grep solr
...
0
votes
0
answers
58
views
Starting Java Gui application with a specific user without logging in
been battling this for about a day and hoping someone would be able to help.
I need to start a Java GUI application as specific application on startup as a specific user before they have logged in. (I ...
1
vote
1
answer
2k
views
Unable to auto start service (SoftEther VPN) on Ubuntu Server 22.04
I am running Ubuntu Server 22.04 in a VMware Workstation VM (Host OS is Windows 11 Pro).
I find that I have to manually start the Softether VPN by running "/etc/init.d/vpnserver start". So ...
0
votes
1
answer
2k
views
How to autorun .sh
I have a game server that I would like to manage restarts automatically
Currently I am doing this to run the server
screen -dmS screenname // create a new screen
screen -xs screenname // attatch to ...
0
votes
1
answer
31
views
Run source after Ubuntu starts
I need to run the command
source "/opt/sqlanywhere17/bin64/sa_config.sh" after Ubuntu starts. It's taken from here. It updated LD_LIBRARY_PATH, PATH etc.
I tried this, but doesn't work. ...
0
votes
0
answers
627
views
strongSwan VPN service doesn't autostart until I connect with TeamViewer
I have a remote site with headless NUC (Ubuntu + TeamViewer for remote access), which is running a strongSwan IPSec VPN service (VPN tunnel to my home site).
NUC automatically restarts every day (...
3
votes
1
answer
329
views
Where "Application Autostart" of Lubuntu 20.04 keeps its data?
Where "Application Autostart" of Lubuntu 20.04 keeps its data?
I want to backup its config file.
0
votes
1
answer
916
views
Run gnome-terminal with sudo on boot
I need to run the gnome-terminal with some command with sudo rights on the startup. How could I do that?
0
votes
1
answer
3k
views
Ubuntu 20.04 startup script does not run at startup
I have a simple script that I set up in Startup Programs but it's never run at startup. I have to run the script manualy instead.
# cat ~/.config/autostart/bash.desktop
[Desktop Entry]
Type=...
0
votes
0
answers
197
views
Unable to setup script for auto-start
I am trying to setup auto connect for bluetooth. I was able to create a script to connect to bluetooth that works when manually executed, however it does not start on startup even after setting it up ...
1
vote
2
answers
1k
views
How automatically start VPN connection on computer startup in Ubuntu 21.10?
I have a VPN connection with such settings:
How to automatically start VPN connection on computer startup in Ubuntu 21.10?
Now I have to click Connect every time.
I've read other similar questions, ...