Questions tagged [autostart]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
325 views

Automatically download file after boot

I have a direct link to a file (PDF) on the WWW. The file is updated every day. I would like to download it every day in order to keep track of the changes. What's the easiest way to do this ...
Scott Manley's user avatar
1 vote
0 answers
1k views

Run Shutdown Script Ubuntu 16.04.3

I have several services that need to be manually saved and shutdown before the server does a reboot or shutdown. I enter them manually by using a script. I was trying to figure out if I can do it ...
Harley Frank's user avatar
0 votes
0 answers
921 views

Auto-decrypt disk on startup? (retrieving password remotely?) [duplicate]

I installed Ubuntu 16.04 LTS and chose to do full disk encryption as well as home dir encryption. At startup, I'm asked Please unlock disk sda3_crypt and I have to manually enter the disk decryption ...
RocketNuts's user avatar
2 votes
1 answer
269 views

Can byobu run with specific window size and location?

On my Ubuntu 14.04, I am using 2 monitors: Main and sub. I also set byobu as a start-up application: Is it possible to start byobu maximized on the sub monitor?
RNA's user avatar
  • 1,481
1 vote
1 answer
989 views

Autostart a service as root [duplicate]

How to autostart a task at system start up i.e. myprogram.bin with admin rights? Regards
Martin.Martinsson's user avatar
12 votes
2 answers
17k views

What is the difference between ~/.config/autostart and ~/.config/autostart-scripts?

I have Kubuntu 17.10, trying to copy a .desktop file into the autostart directory then I figured out that I don't have it, just the directory ~/.config/autostart-scripts I do not know if they have ...
Jamo's user avatar
  • 925
1 vote
2 answers
67 views

How are applications automatically launched at boot if they are not registered as services

I have downloaded and started jetbrain toolbox executable once and now every time I boot my Ubuntu, I can instantly see jetbrains indicator. I'm not saying it's a bad thing, I just want to figure out ...
yuranos's user avatar
  • 720
1 vote
1 answer
5k views

Start Specific Terminal on Startup

I coded an application using libpcap and ncurses. Obviously, this application is supposed to run in the terminal. Therefore, I created a script that launches my application in gnome-terminal with a ...
TacoVox's user avatar
  • 33
5 votes
1 answer
11k views

How to run an autostart application as root?

I am currently using a VPN application that requires administrative privileges and I have added the application to my autostart. However, every time I login, I will always be asked to enter my ...
Michael Smith's user avatar
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 ...
TheLinuxGK's user avatar
2 votes
1 answer
3k views

Setting up autostart application in Xubuntu

I have a problem with a startup application. I have a miner (EWBF 0.3.4b) located in /home/kriszcash/Desktop/0.3.4b/. When I start the computer, I need to open a terminal and run cd /home/kriszcash/...
Kristiyan Veselinov's user avatar
2 votes
0 answers
1k views

Systemd startup script for Ubuntu 16.04

I'd like to write a simple (systemd I guess) start up script that just does the following: Issues the command of /opt/ibm/domino/notes/90010/linux/server -jc -c. From the directory of /srv/notesdata. ...
Randal Oulton's user avatar
1 vote
1 answer
2k views

Autostart Python script in Terminal Lubuntu

I'm using Lubuntu with the ODROID C0. There is a Python script which needs to be autostarted. I navigated to [start menu]>preferences>Default applications for LXSession , then navigated to the ...
www139's user avatar
  • 163
0 votes
1 answer
136 views

Xubuntu 16.04 doesn't seem to remember any changes I make to the startup applications.

I recently installed Xubuntu 16.04 and I'm having trouble making any changes to the applications that startup when I log into my computer (from the Sessions and Startup menu). Any changes that I make ...
johnymm's user avatar
  • 235
0 votes
1 answer
4k views

How to create service user for application and run it at startup from that user

I have an application, that I should run at startup. I created system user for that application with useradd -r serviceUser and made him the owner of application directory. Then I write startup ...
zella's user avatar
  • 103
1 vote
1 answer
3k views

Start web application automatically on log-in [duplicate]

This question has two components: Make a website like Outlook 365 into an app. (One approach I describe below is to use Google Chrome / Chromium) Open that app automatically on log-in. This is the ...
wlad's user avatar
  • 263
0 votes
2 answers
3k views

Mythtv - have to kill and restart backend at every boot

Ubuntu 16.04, fresh install. I don't know what I've done to mess it up, but I have to kill mythbackend (which for some reason is running with root privileges so requires sudo to kill) and start it ...
Sean Wright's user avatar
-1 votes
1 answer
3k views

How to make jar file run automatically on system start [duplicate]

I am fololowing this link but this did not work for me . My start up script is: #!/bin/bash java -jar AppDemo.jar My stop script is: #!/bin/bash #Grabs and kill a process from the pidlist that ...
Sheetaldx's user avatar
1 vote
1 answer
439 views

Configuring startup apps during ISO customization in UCK

I would like to customize ubuntu image that would have pre-configured autostartup. In general, user goes to "Startup Applications" GUI and adds a specific command to be run on the start up. The answer ...
Nazar's user avatar
  • 155
0 votes
1 answer
394 views

Teamspeak Server autorestart when it´s not working or having issues

I have a Teamspeak Server running on my Linux (Ubuntu) Server. So here´s the question: when the teamspeak did not work right like he didn´t start or the ts server shut down because of an error. i want ...
MrIceCube's user avatar
0 votes
1 answer
738 views

x11vnc icon in panel after autostart

I'm running Lubuntu 16.04. If I run command sudo x11vnc -auth... in terminal, the x11vnc server starts and it shows x11vnc icon in bottom panel (next to the clock). However, if I put this command to ...
DisplayMyName's user avatar
2 votes
0 answers
271 views

Autostart no longer working in Xubuntu 16.04

Since few days my autostart script is no longer invoked. I created a .desktop file within ~/.config/autostart/ that should invoke a script to open Chrome with special tabs. For some mounth it worked....
SoftChili's user avatar
-1 votes
1 answer
1k views

How to forbid ssh server to autostart on boot [duplicate]

I installed openssh-server,it will start ssh server on boot automatic.But I don't want that.How to forbid ssh server to autostart on boot?
hxysayhi's user avatar
1 vote
0 answers
208 views

KDE does not remember autostart settings

KDE Plasma 5.9 (Xubuntu 17.04 with Kubuntu-Desktop installed) forgets the autostart settings as soon as I close the autostart dialog box. I'm trying to make Guake start with the system but the option ...
Martin Oscar Caballero's user avatar
0 votes
1 answer
611 views

Startup Applications not running in Remote Session

I'm running Ubuntu 16.04.2 with XRDP and I have startup applications. The startup applications run when it's on the computer itself but, the startup applications don't start when it's a remote session....
Roflnator's user avatar
0 votes
0 answers
115 views

How to make festival speak on graphical login in xfce4?

I've got Ubuntu Studio 16.04 with xfce4. My goal is to run festival, the speech generator, whenever I log in into the graphical desktop environment. Making festival say something in the terminal ...
sharkant's user avatar
  • 1,311
0 votes
1 answer
11k views

script.sh: source: not found

I have a question about rc.local. I created a script auto.sh and it includes: #!/bin/sh cd $home source /opt/ros/indigo/setup.bash xterm -hold -e "/opt/ros/indigo/bin/roscore" & xterm -hold -e "/...
moguztas's user avatar
2 votes
0 answers
206 views

Autostart application not working when done manually/programmatically

I am currently writing a background changer for Ubuntu that runs upon login. After a lot of head-desking, I finally decided an autostart application was the way to do it. However, autostart ...
Isaac Samuel's user avatar
1 vote
2 answers
2k views

How can I add my weather indicator to Startup Applications?

In spite of having enabled my weather indicator on the list of the Startup Applications, it never starts on startup; I have to do it manually all the time. The command I entered is: my-weather-...
Hilario Ferreira's user avatar
0 votes
0 answers
581 views

Lubuntu 14.04 Starting Python Script to Run in Background

I've got a python Bottle program which uses Bottles own internal dev server and I'm trying to get it to start up automatically in Lubuntu. I created a bash script like this: nohup python /home/user/...
user avatar
0 votes
1 answer
234 views

Stop Autoplay of Videos on opening Websites

Whenever I open a new website, some websites start playing some kind of videos(like advertisement) automatically. This consumes my data and I want to stop autoplaying of such videos. How can I stop ...
luv.preet's user avatar
  • 5,807
1 vote
2 answers
36k views

Systemd service remains inactive due to code=exited, status=1/FAILURE

I have created a service on an Ubuntu 16.04 in order to run a c++ app after every boot.The c++ app runs among others ping measurements ,and that's why I need to start it after the network is up and ...
dk13's user avatar
  • 117
1 vote
1 answer
2k views

LUKS full disk encryption - autostart [closed]

I have installed Ubuntu Server 16.10 Set up disk encryption with passphrase and installation on whole disk. Now every start or reboot is asking for Please unlock disk sda5_crypt Is it possible to ...
Maximi's user avatar
  • 113
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 ...
SlackerX's user avatar
  • 121
1 vote
2 answers
2k views

Run BleachBit CLI at startup

In BleachBit, if I go to Edit > Preferences > General, I can check the "Start BleachBit with computer" checkbox, but this will only launch the BleachBit GUI every time I start my computer, without ...
codeaviator's user avatar
  • 1,757
1 vote
1 answer
1k views

Autostart synergy server on ubuntu 16.04

How do I configure synergy to start automatically as sever after login? I have found the following tutorial https://help.ubuntu.com/community/SynergyHowto#On_the_server but it seems a bit outdated. ...
Yokovaski's user avatar
1 vote
1 answer
3k views

SDDM: How to run script as root on login and logout

I'm using Kubuntu 16.10. What are my options to run a bash-script after login and after logout as root using SDDM? I already tried switching to lightdm in order to create a /etc/lightdm/lightdm.conf ...
C11235's user avatar
  • 143
0 votes
1 answer
2k views

Make a systemd service that changes /dev/null modification time

I have my files sorted by date to easily work with the most recent files. I also have a bunch of logs redirected to /dev/null in my home directory that I would like to be shown at the end. I tried to ...
int_ua's user avatar
  • 8,584
5 votes
1 answer
13k views

How to rotate screen at startup [duplicate]

I added a line xrandr --output HDMI1 --rotate right in /etc/rc.local to rotate one of my monitors at startup, but it doesn't work (
Taras Yaremkiv's user avatar
0 votes
1 answer
3k views

Autostart postgresql 9.6.2 on 16.10

Fresh 16.10 install with fresh Postgresql-9.6.2. I can run "sudo service postgresql-9.6 start" to start postgresql service but can't get it to start on boot. "sudo systemctl enable postgresql-9.6" ...
pluto's user avatar
  • 1
0 votes
0 answers
37 views

How to deactivate media-scanner [duplicate]

I observed that when I plug a USB hard drive, Ubuntu starts a service called mediascanner-extractor and mediascanner-service-2.0. What is this? It looks like its kind of new, because I didn't noticed ...
J. Chomel's user avatar
  • 220
4 votes
1 answer
5k views

Starting Apache on Ubuntu 16.04: service doesn't and apache2ctl does work

I'm running Apache with a fairly custom configuration. I noticed that service apache2 start and systemctl start apache2.service don't work, while apache2ctl start works fine. The error message from ...
Gene Vincent's user avatar
2 votes
1 answer
1k views

Autostart service

I'm looking for a way to configure a service to run automatically whenever it stops for some reason. Currently I have set up a cronjob that checks if the service is running every minute and restarts ...
php_nub_qq's user avatar
  • 1,489
6 votes
1 answer
3k views

How to redirect stdout and stderr in desktop entry?

I put a .desktop file in ~/.config/autostart: [Desktop Entry] Type=Application Exec=sslocal >log 2>&1 Path=/etc/shadowsocks Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true ...
hduhxc's user avatar
  • 63
1 vote
1 answer
3k views

HOW TO? Uninstalled 'I2P' (Java application) but 'I2P' still starting java service after system startup

I installed I2P on my Ubuntu 14.04 (latest updates, openjdk-8-jre) using java -jar i2pinstall_0.9.28.jar -console. After playing around with it, I uninstalled it by sudo java -jar uninstaller.jar, ...
JoHKa's user avatar
  • 597
2 votes
1 answer
157 views

start up command

At start up I have to open terminal and put a command in to fix the screen resolution each time. Unfortunately other people who use this computer are struggling with this. I tried to add it to /etc/...
user3434591's user avatar
2 votes
1 answer
2k views

How to stop an application auto starting

Thunderbird has suddenly decided to auto start each time I logon to the desktop. Xubuntu 16.04. It is not configured to auto start in the session settings panel, where else should I be looking ?
hatterman's user avatar
  • 2,280
1 vote
0 answers
441 views

KDE not starting automatically anymore

I installed Kubuntu on a new Lenovo laptop on which I want to keep Windows 10 in dual boot. It was not easy and I had some troubles to be able to start the installation but it worked. I was not able ...
Klarix's user avatar
  • 11
0 votes
0 answers
172 views

Shutdown Startup Application

In Ubuntu 16.04 after setting shutdown now as an automatic command to be executed at startup, is there a way to remove it again?
YukiJ's user avatar
  • 143
3 votes
1 answer
13k views

Added Auto Start of Kodi, Now I can't access my Regular user

I have followed the Kodi Wiki on how to auto start my media center, and it works perfectly! Only problem is is when I exit the system and try to enter my user Desktop, it gives me the error, "Failed ...
EODCraft Staff's user avatar

1
3 4
5
6 7
11