Questions tagged [autostart]

Make programs start upon logging in, or stop them from doing so.

Filter by
Sorted by
Tagged with
0 votes
2 answers
4k views

Firefox autostart kiosk or fullscreen on start-up

I have Linux installed and I am trying to autostart Firefox full screen or in kiosk mode every time I start my PC. I kind of know there is a command like xdotool.....windowactivate key F11, but that ...
6 votes
1 answer
14k views

Run python script in virtual environment on startup

I would like to start a python script from a virtual environment on startup. I have searched the whole forum and other sources but have not been able to make it work. The script should run at the ...
1 vote
2 answers
11k views

X11vnc service is running but client can´t find server

I want to set up a headless server and connect to it from a laptop (Windows). It is running Kubuntu 15.04 and I installed X11vnc by this description: VNC/Servers - Have x11vnc start automatically via ...
32 votes
8 answers
291k views

How do I start VNC Server on boot?

How do I create a system-wide autostart file? This would be on a cloud server running the desktop version of Maverick. I logged in as root and created an autostart file using System/Preferences/...
0 votes
0 answers
36 views

Startup applications not loyal to actual configuration

Some programs running at startup (such as skype) are not listed in the startup application from Ubuntu 22.04. I have been following this other question but I do not have ~/.config/autostart or /etc/...
3 votes
1 answer
7k views

SSH Daemon doesn't start normally way

I use Ubuntu server 16.04.1 LTS (Kernel 4.4.0-38-generic x86_64). And Install openssh-server(1:7.2p2-4ubuntu2.1). At first, I use below. sudo systemctl enable ssh.service But sshd doesn't start in ...
2 votes
1 answer
66 views

I need to automatically start a non GUI application through a terminal line because I don't have a GUI

I have a proxmox ubuntu container running ubuntu 23.10 and becuase it is a container it doesn't allow me to use a GUI. I need to run a server application as soon as the container boots up incase it ...
0 votes
0 answers
43 views

How to automatically run WINE GUI app after boot?

I need run GUI wine app automatically after boot, to securityze run after unexpected reboot, shutdows, etc... I am considering add shortcut to "autostart" for GUIs maganers, but it require ...
0 votes
2 answers
872 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
142 views

How to automatically unlock on boot a Ubuntu encrypted boot disk drive?

Please, there is any way to easily auto unlock encrypted boot disk on Ubuntu, as we have using bitlocker on Windows? I saw this process, but I don't think that it will work (seems that I am not using ...
2 votes
1 answer
5k views

How to run script on startup with root

I have my little script to start an application and do some more things on my Ubuntu 16.04 which looks like this: #!/bin/bash ./ROC-smi/rocm-smi -d 1 --setfan 90 ./ROC-smi/rocm-smi -d 0 --setfan 90 ./...
0 votes
0 answers
58 views

How to autostart a jar file with swing GUI when booting Ubuntu

I'm trying to autostart a jar file with an .sh script: #!/bin/bash export DISPLAY=:0 java -jar /home/username/Desktop/jarfile.jar The jar file is a Swing GUI application. When i manually start the ...
2 votes
1 answer
308 views

"notify-send" not running with "rclone" ( when used in a startup script )

I'm trying to run the following script at startup. I am able to see the notification only when I execute the script from the terminal, or when I run it as a program. So the issue is basically when run ...
0 votes
1 answer
105 views

systemctl --user vs .config/autostart/*.desktop - when to use which?

I'm developing something similar to ActivityWatch, a daemon that keeps log of what I'm doing and when I was active at my desktop. I would like that to start when I log on and be killed when I log out ...
1 vote
3 answers
2k 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 ...
9 votes
1 answer
17k views

How to run my snap application on startup

I have a snapcraft application build on top of electronJs. I would like that application to run on startup. I tried to directly drop a app_name.desktop file inside the current user config/autostart ...
0 votes
1 answer
258 views

How to disable anydesk (version 6.3.0) autostart in ubuntu?

In this version there is no autostart.conf file in anydesk directory. In this case how can we disable autostart?
0 votes
1 answer
82 views

How can I prevent a particular user from using neither LAN nor WLAN

This question pertains to Xubuntu, in particular to Xubuntu 22.04 if that matters. I want to set a user account on my Xubuntu 22.04 computer for backup operations. For safety reasons, all network ...
-1 votes
1 answer
45 views

I can't turn off dropbox autostart

Dropbox keeps automatically starting on my Ubuntu system, and I can't turn it off. It is installed directly in my home directory (not via Snap or APT). Dropbox starts automatically upon system boot, ...
331 votes
5 answers
954k views

How can I configure a service to run at startup

I have a daemon that runs fine if I start it manually with the service command: ricardo@ricardo-laptop:~$ sudo service minidlna start * Starting minidlna minidlna ...
0 votes
2 answers
2k views

Getting a .sh to start on login / boot / startup

I think I'm starting to go mad. I have tried several things by now, and nothing works. This is on an Ubuntu 22.04 LTS Desktop Version. I tried this guide: https://www.baeldung.com/linux/run-script-on-...
0 votes
1 answer
432 views

How do I autostart an application while keeping it minimized?

I have the application Franz on my autostart list and it works fine. The problem is that it opens full screen whenever I boot into kubuntu. I'd rather it open in a minimized state so I don't have to ...
26 votes
3 answers
32k views

Disable gnome-software from loading at startup

Gnome-software, which is one of the top memory consumers, is being loaded at startup and thus decreasing boot time. I rarely use gnome-software, and on most boot-ups it is useless. However there is ...
0 votes
0 answers
709 views

How can I start firefox immediately on boot from the command line using cron?

I've got a Librecomputer Le Potato, a single-board computer in the style of Raspberry Pi, that I am trying to run Firefox on in kiosk mode. I want it to run Firefox immediately on startup, but since ...
0 votes
1 answer
5k views

how to start Teamviewer on boot

I need to start TeamViewer on boot. I tried to add the command to /usr/bin/teamviewer --daemon start to the startup applications as ypu can see below: But it won't start. Any suggestions?
13 votes
9 answers
63k views

How do I set Xscreensaver to autostart?

I've just installed xscreensaver instead of gnome-screensaver in Ubuntu 12.04 in gnome-session-fallback (Gnome Classic) mode. It works fine, but I have a problem: I put "xscreensaver -no-splash&...
3 votes
1 answer
2k views

Redis doesn't automatically start after reboot in systemd even if it's enabled

I want to enable automatic start of redis database with systemd after boot. I got weird issues with x86 Ubuntu on ec2: systemd claims that service is enabled. ubuntu@:~$ systemctl status redis ● redis....
1 vote
0 answers
320 views

Run sudo commands on startup

I need to run this command on startup, '''sudo modprobe apple_bce sudo modprobe apple_ib_tb sudo modprobe apple_ib_als''' and I can not have user input to activate it because it activates my laptop's ...
0 votes
0 answers
56 views

Adding a nohup command to .profile

This has been annoying me for a while. There's this Polybar module called Greenclip that is equivalent to the clipboard icon we see in some DEs such as KDE. In order for it to work, I need to run the ...
0 votes
0 answers
157 views

Can't make Firefox autostart at boot Lubuntu 22.04

I added firefox in the LXQt autostart settings, but after log out / in firefox doesn't start... Please answer with GUI solutions TIA Klaus
2 votes
1 answer
289 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 ...
1 vote
0 answers
113 views

Lubuntu background has disapered unable to fix it

I moved my file manager application 'pcmanfm-qt' from my accessories folder over onto the desktop then over to the autostart folder /home/myusername/.config/autostart, for some reason this made my ...
0 votes
0 answers
768 views

Running a program at start up with output to screen and SSH session

I have Ubuntu Server 22.04. Tasks: To run console app on it, which will display some text information on the screen. Need to see app's output (messages) it on connected via HDMI monitor or TV and ...
0 votes
1 answer
169 views

How can I have a plain text file open on startup? (lubuntu)

I've tried placing the file in my "autostart" folder but it's not loading properly it only opens featherpad. I'm using LXQT version 0.17.0
2 votes
1 answer
907 views

start program at bootup

I need to make a program run at start up as root. The program is. /usr/bin/svxlink I'm running Ubuntu server 14.04 LTS I just cant get it to work. Can someone walk me thru the steps to do this. ...
2 votes
1 answer
616 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?
1 vote
1 answer
12k views

boot Ubuntu 12.04 directly to a windows RDP session

Basically I want to auto start a windows RDP session. Turning my Ubuntu machine into a ThinClient so to speak. Purchasing thin-clients is out of the budget. I have Windows 2008 server r2 currently set ...
0 votes
1 answer
224 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 ...
0 votes
0 answers
339 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
160 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
286 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, ...
2 votes
0 answers
219 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/....
1 vote
1 answer
124 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 ...
0 votes
0 answers
851 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 ...
25 votes
2 answers
68k views

How to disable OpenVPN from autostarting at boot-up or reboot?

I am using Ubuntu 12.04.2 LTS, 64-bit, OpenVPN client 2.3.1 How do I prevent OpenVPN from autostarting at boot-up or reboot?
0 votes
1 answer
192 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. ...
0 votes
0 answers
48 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 ...
1 vote
1 answer
72 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.
12 votes
3 answers
15k views

How to get Synergy to Autostart at login on Ubuntu 16.04

I am trying to get Synergy to autostart at boot on ubuntu 16.04 with no luck. I have seen plenty of ways to do it with 14.4 using lightdm or gnome but how does one go about it in 16.04 using Unity ...
0 votes
1 answer
3k views

How do I autostart an application on the system tray?

I want Audacious and Transmission to autostart on the system tray when I login, If I just add them to autostart they start open and I have to close them manually. How I do that? I think It's clear ...

1
2 3 4 5
11