People who code: we want your input. Take the Survey

Questions tagged [autostart]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
23 views

xkbcomp at startup in kde

I'm using kubuntu 20.04 and want to run xkbcomp ~/.Xkeymap $DISPLAY at startup to load a custom keymap. To this end I created a script with the content #!/bin/bash touch ~/test xkbcomp ~/.Xkeymap $...
0
votes
1answer
25 views

application.desktop

I'm looking for a way to start an application on a particular display. For instance if I want to start a firefox kiosk on two different heads or perhaps a firefox kiosk on one head and a Libre Office ...
1
vote
0answers
18 views

Ubuntu 20.04 Snapd Barrier Autostart Client

I was having issues auto starting Barrier Client on Ubuntu 20.04 Desktop. I use this desktop as my secondary non Windows desktop for non-secure work stuff thus I have it set to auto login. If you do ...
0
votes
0answers
17 views

TightVNC Auto- Start

I installed tightvnc on my ubuntu system. It is working if i start the vncserver as a root, but not as a user. If i start it as a user i just get a grey screen in the vncviewer. But if i login into ...
1
vote
1answer
60 views

How to get Minecraft Server to boot with system?

I'm trying to figure out how to get my Minecraft server to start with my system. I'm currently on Ubuntu 21.04, kernel 5.11 and my DE is Gnome 3. I was following this post over on the Ubuntu ...
0
votes
1answer
44 views

How to display terminals with commands on startup

I'm trying to open 2 terminals on startup. One will execute one command, and the other one will execute a different command. I already tried using Ubuntu's Startup Applications program pointing to ...
0
votes
0answers
31 views

Systemd service keeps timing out

This question follows on in many ways from one I had asked a while ago and to which I had got an excellent answer from @alexandre-teles. The Context I am in the process of creating a mobile app that ...
0
votes
0answers
38 views

My autostart is not working [closed]

I am using Ubuntu 20.04. I am trying to setup my computer to start automatically daily at a specific time. After reading posts from the askubuntu, I tried the BIOS option for auto startup, but the PC ...
1
vote
1answer
72 views

Run shell script on startup (Xubuntu 20.04)

I am trying to find a way to automate launching a shell script after Xubuntu logs in. I've checked numerous other questions and answers and have still not found a way to do it. Here is the script that ...
0
votes
0answers
79 views

systemctl seems to start vboxautostart-service too early

pardon my lack of knowledge. I have been googling now for 2 hours and i cannot get this issue resolved: mb@wisp:/run/systemd$ sudo systemctl status vboxautostart-service.service ● vboxautostart-...
0
votes
2answers
113 views

How to disable onedrive service from autostarting

I installed "onedrive" from repo. Works great but I don't want it to start automatically. I'm tired of turning it off after each reboot - how to fix it? I'm turning it off using systemctl --...
0
votes
0answers
18 views

Error: cannot start Ubuntu

I recently installed folding at home in my Ubuntu, and it automatically start to run when I start my computer. But I had a problem with this. When I tried to start my computer, it was showing this ...
0
votes
0answers
10 views

Not importing modules except the default python3 on autostart

I want to run a python program on Nvidia Jetson (os: ubuntu) as soon as I plug in the power. So I created a file like ~/.config/autostart/myscript.desktop which contains: [Desktop Entry] Encoding=UTF-...
0
votes
1answer
94 views

Which “useless” programs I can remove from Autostart without drawbacks? [closed]

The autostart programs placed in etc/xdg/autostart/ are these ones: Which "useless" programs I can remove from Autostart without drawbacks? Why I have two times "screensaver"? I ...
1
vote
2answers
79 views

Autostart C++ compiled application upon boot

I made a C++ application. The app just gives me terminal output (just to be sure that my script has launched properly). There is no GUI. I want my app to run when my computer is booted. My script ...
0
votes
0answers
33 views

ubuntu 16.04.01 startup application freeze the 'shell script' execution until login

i have shell script added in the 'start application' launcher of ubuntu 16.04.01 and it had launched the terminal,but it had freeze the execution until i login and is there any modification change ...
1
vote
0answers
36 views

How to run binary at Linux startup 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 ...
0
votes
3answers
280 views

Nextcloud does do not launch at reboot/restart session (autostart) in Ubuntu 20.04

I want to have Nextcloud start when I open my session. Following the instructions to start applications automatically does not work for me; I have to start Nextcloud manually each time I start my ...
0
votes
1answer
35 views

How to automatically open and set a user and password from a “.ovpn” file?

I am using Open VPN to acces to a VPN network. I have my ".ovpn" file. Everytime I want to acces the VPN Network: I have to go to the "myfile.ovpn" folder and type: sudo openvpn -...
0
votes
0answers
184 views

VPS, Ubuntu 20.04 autostart script

I have few questions about Ubuntu 20.04 and autostarting some script. I have a VPS and, when the system reboots, I would like the script to automaticaly run. I tried crontab and added: @reboot user ...
3
votes
1answer
404 views

GTK theme does not work properly on Qt Startup Applications

Setup When a Qt app (KeePassXC, AntiMicroX) is started automatically (via autostart), the GTK theme is not applied. All apps are installed via standard apt packages (I am aware of snap theming issues)...
0
votes
1answer
106 views

How to autostart terminal and run commands? [duplicate]

I want to have the gnome-terminal autostart and run a single line like echo "Hello World", after the user is logged in. Ubuntu automatically logs in the user. What is the best way to achieve ...
1
vote
0answers
63 views

How to run a script via service that requires sudo?

i have a python script, that's supposed to be run after boot on Ubuntu 18.04. Anytime after the user is in the actual Ubuntu desktop. I don't fully understand privileges, but when I run the script ...
2
votes
0answers
83 views

Ubuntu Software shows up as mounted disk?

Just recently, a new 53 MB volume showed up in Nautilus with the path media/qwr/disk. I looked in the autostart directory and it had two files. setup-autostart: #!/bin/bash if [ -r $...
2
votes
0answers
54 views

Temporarily disable startup apps on login

How temporarily disable startup applications per a particular session at login in Ubuntu/Gnome? Looking for the feature similar to Windows login when Shift key pressed until desktop starts.
0
votes
0answers
18 views

Pidgin start for no reason

I don't understand why Pidgin starts for no reason, and want to remove this behaviour. It seems to happen when the computer boots or resumes from sleep or gets an internet connexion, but I'm not sure. ...
0
votes
0answers
114 views

Linphone Auto Start After Login

I have a commercial SIP account for VoiP phone calls. I am seeing that Linphone is currently the most stable and reliable free SIP client under Linux. It's a very good piece of software that receives ...
0
votes
0answers
287 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....
0
votes
0answers
83 views

Openbox autostart.sh file not running all commands

I am using Openbox 3.6.1 with xinit on Ubuntu 18.04 Bionic Beaver. As per normal procedure, i created an autostart.sh file to be run when Openbox starts up. The file is located at ~/.config/openbox/...
0
votes
1answer
49 views

Why does `xmodmap` not always load `.Xmodmap` on login?

I've got the following in the file ~/.Xmodmap ! change CapsLock to Escape clear Lock keycode 0x42 = Escape It remaps the CapsLock key to Escape, and works pretty well, when I issue the comman xmodmap ...
0
votes
0answers
43 views

Load Ubuntu 20.04

Helo, i am jecute the instalation of mate sudo apt install tasksel and sudo tasksel install ubuntu-mate-desktop the firts err to start don't load the ubuntu for default, i use de ubuntu Errors and ...
0
votes
0answers
176 views

autostart stuff is not working on lubuntu - mounts and services

I' having problem getting anything non-standard to happen on autostart - I want this PC to function as a media PC, but everytime I lose power or update, I have to manually login and do a bunch of ...
1
vote
0answers
36 views

Ensuring that critical software does not fail

I have a Dell Vostro 5490, which like many laptops from dell have a loud fan which is not well regulated. To solve this I have installed i8kutils to control the fan and dell-bios-fan-control to ...
0
votes
0answers
27 views

Ubuntu 18.04 - How to start VNC prior to log on

I have a VNC server running on Ubuntu 18.04. I'm looking for a way that VNC will start before I log on ( case of power shut-down, or when a restart is needed).
0
votes
0answers
61 views

Autostart Scripting with Virtualbox

So I am trying to write a bash script to auto-install and configure virtualbox. I am also downloading and importing a VM which I want to start automatically when the machine boots up. The Problem I ...
0
votes
0answers
60 views

Failed to “ifconfig wlan0 up” in /etc/rc.local of bionic

I just upgraded from Xenial (16.04) to Bionic (18.04). I added the following to /etc/rc.local: ifconfig wlan0 up ifconfig wlan0 10.0.0.1 hostapd -B /root/hostapd.conf Where wlan0 is a QCA9880 ...
0
votes
0answers
31 views

Kubuntu 20.04 how to run script to keep VRAM on P-State 2

I want to use AMDGPU overdrive to have the power saving features but I get screen artifacts or distortions because the memory is changing the VRAM frequency. Arch Wiki says to run this commands: echo &...
1
vote
0answers
187 views

Autostart of Yarn process upon crash

I am complete newbie to the Linux world , but had to install a server app on Ubuntu 18 ... I finally managed to get it to run , after days of hick ups .... so far so good ... but then this app has the ...
1
vote
1answer
2k views

Can't autostart x11vnc when start/reboot PC ( Lubuntu 20.04 LTS)

I installed x11vnc and started success, but not start service VNC when start/reboot PCs nano /lib/systemd/system/x11vnc.service [Unit] Description=Start x11vnc at startup. After=multi-user.target [...
0
votes
0answers
58 views

How can I hide an active terminal from Ubuntu dock?

I have terminal launch on start up that runs a tty-clock. Is there a way to hide the icon from the dock? Here is the /autostart/ entry [Desktop Entry] Type=Application Exec=xfce4-terminal --command /...
0
votes
1answer
125 views

Launching the application on startup before starting Desktop GUI

I am trying to launch an application(for example browser) on startup. I want this to be launched before Desktop GUI appears. I tried gnome-session-properties and adding the application. But it opens ...
0
votes
1answer
54 views

How to create an auto executeable file of some terminal commands used for running any specific application

I have a .sh file of XP Pentablet driver Every time I need to run these commands to run in order to run the program $ cd /home/path/ $ chmod +x Pentablet_Driver.sh $ sudo ./Pentablet_Driver I wanna ...
1
vote
1answer
360 views

Xrandr command in startup script has no effect, but script does run and command work from terminal

I cannot seem to get an xrandr command to rotate my monitor at startup. The script: cat /etc/X11/Xsession.d/999_test ...
1
vote
0answers
121 views

Run bash script with prompts on startup, then start browser

I am creating a standard linux image for my customers, which I want to distribute to them as a backup. I have written a bash script - verifysetup.sh which checks whether the machine has already been ...
1
vote
2answers
5k views

ubuntu 20.04 service autostart

I have a process which I start using sudo ./whatever I want to make it a service which starts automatically. Have created a .service file and put it in the /etc/systemd/system but it won't start ...
0
votes
0answers
151 views

Ubuntu startup Programs like vbox Headless, luadch and changing metric on network

i am having a bit trouble with autostarting programs, since i reinstalled my Server from 16.04 to 20.04. first one i tried to use rc.conf -> not working and crontab -e with "@reboot start something" ...
1
vote
1answer
168 views

Script won't autostart despite making a .desktop file, placing directory in rc.local etc [duplicate]

I am trying to autostart a music player when my Lubuntu boots but I can't seem to get it to work. I am fairly new to Linux systems and have searched the internet for hours but I am out of ideas. This ...
0
votes
0answers
431 views

Unable to Launch “Xfce4-terminal” on boot

I would like to Launch "Xfce4-terminal" on boot using Xfce desktop, Xrdp-client, and Centos. I tried creating a .desktop file under .config/autostart and also tried to set the xfce4-terminal on login ...
1
vote
1answer
5k 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
0answers
702 views

Systemd service cannot open display

I am using systemd service to auto-run a shell script when the system boots.the shell script is used to run a python code that code includes cv2 to use the camera and it works fine when the system ...

1
2 3 4 5
10