Questions tagged [autostart]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
680 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 ...
chris2606's user avatar
2 votes
1 answer
8k 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 [...
Trọng Nguyễn's user avatar
0 votes
0 answers
217 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 /...
un_armed_pawn's user avatar
0 votes
1 answer
1k 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 ...
nikhil ganapathy's user avatar
0 votes
1 answer
2k 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 ...
SPARK Prince's user avatar
1 vote
1 answer
2k 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 ...
Stonecraft's user avatar
1 vote
0 answers
636 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 ...
bighairdave's user avatar
2 votes
2 answers
15k 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 ...
Koj1888's user avatar
  • 21
0 votes
0 answers
338 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" ...
Mofarocker33's user avatar
1 vote
1 answer
1k 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 ...
Tiest's user avatar
  • 11
0 votes
0 answers
849 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 ...
arun kumar's user avatar
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 ...
stekla79's user avatar
1 vote
0 answers
2k 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 ...
Ahmed M.B's user avatar
0 votes
0 answers
92 views

Find process started by Autostart (Redshift)

I've tried pgrep redshift, pgrep -f redshift, ps -ax | grep redshift, ps -elf | grep redshift, ps -ax -u root -U root | g redshift, systemctl | grep redshift all without finding the process, yet ...
alchemy's user avatar
  • 762
0 votes
1 answer
4k views

firefox autostart kiosk or fullscreen on startup

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 the command like "xdotool.....windowactivate key F11" but ...
Sahil Kaswan's user avatar
1 vote
1 answer
3k views

How to autostart python GUI application on ubuntu boot?

I've tried rc-local method, creating a .desktop script, ubuntu autostart application but none of them worked. Below is the content of the .desktop script file: [Desktop Entry] Encoding=UTF-8 Name=...
Sm Ashhar's user avatar
1 vote
0 answers
127 views

Check if X server is started in a script under rc.local

I have a script that depends on X server is started. So in the script, I check if X is started with the while loop below: while xset q; do sleep 1 done Everything works well if I run this script ...
kadralievr's user avatar
2 votes
1 answer
4k views

Running a PHP script at startup AFTER other services have started

To get regular weather updates into my Redis database the scheme I am trying to use is as follows I have a PHP script that fetches the weather from the relevant weather API. It goes something like ...
DroidOS's user avatar
  • 497
1 vote
1 answer
1k views

Gnome-Tweak-Tool erronously deleted gnome-tweak-tool-lid-inhibitor from autostart

I wrongly deleted gnome-tweak-tool-lid-inhibitor from the autostart list of the GNOME Tweak Tool. How can I re-add it again? Maybe somebody can share the desktop file, which supposedly is created for ...
Twinkybot's user avatar
1 vote
2 answers
4k views

How can I command ExpressVPN to start on boot?

I want to issue this command every-time the computer boots expressvpn connect I've tried making it into a service and adding it to the crontab with no luck. Maybe it's late or maybe I'm really not ...
Landmine's user avatar
  • 121
5 votes
3 answers
7k views

Kiosk mode computer with the sole purpose of showing one webpage

Ubuntu-based computer will output the page to a television. The page in question is not in my control and will sometimes change. Therefore the browser should refresh the page periodically, say once ...
Ohto Nordberg's user avatar
4 votes
1 answer
3k views

How do I remove the network manager applet from my GNOME Flashback session?

The title says it all. I don't want that applet because when I'm in an environment where wifi is of poor quality, it has the very annoying tendency to popup windows that interrupt other activities, ...
NovHak's user avatar
  • 669
0 votes
0 answers
77 views

Installing a program without auto starting it after installation - 18.04

I have a simple problem. I am installing tomcat8 using apt install tomcat8 and it starts automatically after installation. I do not want it to start right after installation, however I want to keep ...
yurtesen's user avatar
  • 460
2 votes
1 answer
2k views

How to set Real VNC Server as default startup program - Lubuntu 19.10

I have installed Real VNC Server (Lubuntu 19.10) and can run it fine. But it does not autostart on reboot and the Options screen (where I presumably can to set it to autostart) requires sudo access. ...
earthpages's user avatar
2 votes
1 answer
3k views

Delay autostart of programs such as conky and dropbox, in Kubuntu

Kubuntu 19.10 Like the title says, I want to delay the autostart of certain programs. These programs appear in the GUI of Autostart.
shmu's user avatar
  • 434
1 vote
1 answer
761 views

xmodmap keyboard changes stop working after Logout and Login again

I run Lubuntu 19.10. To disable "F11" and "Right-click" on the mouse I use xmodmap. I launch this during startup with the Lubuntu Autostart. For the first login it works fine. After I logout and login ...
Patrick's user avatar
  • 21
0 votes
1 answer
1k views

Firefox not autostarting

I have Ubuntu mini installed with the lubuntu core option (used Ubuntu 18.04-mini.iso). I don't have the rich Ubuntu interface. In order to make Firefox start automatically, added a line containing @...
pstrg's user avatar
  • 1
1 vote
2 answers
2k views

multiple instances of conky running, but no startup entry

On Kubuntu 19.10 I installed conky from the repo, configured it, and made an autostart entry. After a reboot, I see in System Monitor that two instances of conky are running, can't figure out why. ps ...
shmu's user avatar
  • 434
2 votes
1 answer
290 views

Kubuntu staring cura appimage after each login despite it not running during logout. How to fix it?

I can't figure out why. I like the functionality of reopening apps that were not closed before logout. But this application starting on every logon despite me not leaving it open. I used sudo ps -A ...
Lord_JABA's user avatar
  • 103
1 vote
1 answer
3k views

Kiosk mode Ubuntu

We have a few Windows 10 kiosk computers in the hallway. I want to replace them with an Ubuntu image. A few things I've managed so far: Users can log in automatically. The browser starts at login. ...
Wouter Marchal's user avatar
1 vote
2 answers
1k views

cannot make ubuntu autostart my script

I need to force my KDE Plasma installed on ubuntu 18.04 to run the following script on startup (after login): xinput --map-to-output "Wacom HID 48DE Finger touch" eDP-1-1 xinput --map-to-output "...
arty's user avatar
  • 43
1 vote
1 answer
3k views

Desktop application with file with environment variable

Context XFCE4 Issue Trying to run a software with a bunch of environment's variables stored into a file named prod.env, directly from autostart. Here is the content of the .desktop file stored at /...
user7364588's user avatar
0 votes
0 answers
447 views

Start script ts3server_startscript.sh after REBOOT automaticaly

Could someone help me with automatic start of the script after reboot? It is regarding TeamSpeak3. I want to start ts3server_startscript.sh again if some unwanted reboot of the server occurs. I ...
StoneCZE's user avatar
1 vote
0 answers
119 views

What are the methods an application can use to auto-start (in kubuntu 18.04)?

I know of System Settings/Startup and Shutdown, and I've found ~/.config/autostart and ~/.config/autostart-scripts. But what other methods can an application employ to auto-start on boot/login? This ...
B.Tanner's user avatar
  • 2,636
0 votes
1 answer
258 views

SDL2 Ubuntu Server

I have written a code to display some images with golang and SDL2, I have tested the code in the Ubuntu desktop 18.04 and had no issue. I wanted to use the code in an embedded configuration, and ...
Pourya 's user avatar
1 vote
1 answer
361 views

How to find out what autostarted a program?

There is lots of advice on how to make a program autostart, but the thing I need now is the opposite of that: I want to find out why a certain program starts on boot. The use case is as follows: ...
sigil's user avatar
  • 479
0 votes
1 answer
4k views

how to add application to autostart on bootup

I have ubuntu 18.04 and there are two application I need to make sure are added to startup on bootup. Printnode TeamViewer Can you someone tell me what I need to do to get this setup and to work? ...
Donny Forbes's user avatar
1 vote
1 answer
444 views

Why cedilla-portuguese.sh is in default /etc/porfile.d/ list?

I never used or selected Portuguese locales, either had any connection to Portugal or Brazil, so why we have these scripts running every interactive bash running?
radistao's user avatar
  • 195
2 votes
0 answers
87 views

my video wallpaper is not autostarting

This is a summary of my attempts from how do I make this gif into a wallpaper from Ubuntu Forums: I'm running Lubuntu 18.04. After deciding that I want to use a video as my wallpaper, I got my window ...
ardouronerous's user avatar
1 vote
1 answer
4k views

Steam autostart

After many annoying problems I had to face in Windows, I decided to switch, again, to Ubuntu. I have installed many apps I find essential for my laptop including Steam. The problem is that I want it ...
G01d3n's user avatar
  • 21
1 vote
0 answers
488 views

How to run Twinkle sip client on autostart

I want to make the twinkle client autostart when the computer boot didn't find how to do this this is what I have on the rc.local GNU nano 2.7.4 File: /etc/rc.local ...
Korenron's user avatar
2 votes
1 answer
1k views

Sourcing Environments on Startup

I am new Ubuntu user working Robot Operating System on 16.04 LTS version. I installed ROS using their official ROS-Wiki instructions. Every time I need to run an ROS program I need to source the ROS ...
Pradeep BV's user avatar
1 vote
0 answers
319 views

How to get a shell script to open up a python gui on startup

I have a project with a couple Raspberry Pi's. I have created a monitor of sorts that needs to run so long as the pi has power. I Name my program "prodmain.py" But I launch it through an update ...
caleb baker's user avatar
0 votes
1 answer
208 views

Configuring Network with OpenVPN and GUFW for Secure Only Thought VPN Traffic. Configuring Self-made Kill Switch on Ubuntu

Hi guys I was searching for a basic way to config my connections through a VPN without leaking my IP. I have some questions What's the best VPN manager for Kubuntu / Ubuntu? Easy for beginner ...
George G.'s user avatar
  • 481
3 votes
1 answer
2k views

Prevent mpd finally from auto-starting

I currently have a wierd problem: i cant stop mpd from autostarting after reboot. I installed mpd from the official repositorys. then i disabled it at systemd because i want it to run under the ...
wg314's user avatar
  • 31
2 votes
1 answer
500 views

Run a script after session login or user change, not manageable by restricted users

I want to execute a script much like the "Startup Applications", as documented officially, and explained in this great answer and asked about again in this question. However, I have additional, very ...
Marcel's user avatar
  • 255
0 votes
1 answer
102 views

another limits.conf question : limit nofiles specifically for a process

My /etc/security/limits.conf file looks like this * soft nofile 1024 * hard nofile 2048 couchdb soft nofile 35000 couchdb hard nofile 35000 root soft nofile 65535 root hard nofile 65535 I want to ...
Chapo's user avatar
  • 203
3 votes
1 answer
1k views

How can I automatically start the Xbox Gamepad driver whenever I log in?

I would like to start the Xbox Gamepad driver whenever I log into my computer running 18.04. So far, I always have to open a terminal and run sudo xboxdrvr --detach-kernel-driver --daemon (don't ...
oarfish's user avatar
  • 93
1 vote
0 answers
811 views

Live CD with no GUI, with root autologin and autostart my console script

I need to create linux Live CD with latest kernel with next functions - it must boot without any questions (language, menu, etc) It must boot without GUI, only console and better with nomodeset It ...
Egor Klushin's user avatar
2 votes
1 answer
4k 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 ./...
mil0sz's user avatar
  • 21

1 2
3
4 5
11