Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autostart]

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

1
vote
0answers
17 views

How to autostart an app after double click it in Ubuntu 18.04 [duplicate]

I just noticed this weird behavior on Ubuntu 18.04, I have SMPlayer 18.6.0 installed, if SMP is closed, I double click on a media file, SMP will open up and start playing, but if I minimize it and ...
0
votes
0answers
22 views

Autostart Activitywatch - 16.04

I was trying to autostart ActivityWatch . Made a activitywatch.service file in /etc/systemed/system . [Unit] Description=Activity Watch After=network.target [Service] Type=simple User=%i ExecStart=/...
0
votes
1answer
27 views

Autostart of my application in processor of Linux kernel

I am trying to run my application automatically, so I have placed a .sh that have commands to insert some modules and the path to application too in init.d folder. Then I have created a symbolic link ...
0
votes
0answers
15 views

ssh auto on dead system .

I have a system that is not bootable but I can mount the file system vi live cd and would like to be able to edit a file to make sure ssh starts when I get system fixed . Which file can you edit ...
1
vote
1answer
95 views

Cairo Dock in Lubuntu 18.04.1

I would like someone to explain to me how to delay the start of Cairo Dock by about 5 seconds with respect to the start of Lubuntu.
1
vote
1answer
37 views

Can scripts be run directly from the ~/.config/autostart folder?

I've got a script file in my home directory that I've added to Startup Applications. It then creates a .desktop file in ~/.config/autostart. Is it possible to just cut out the middle man, and run this ...
0
votes
0answers
38 views

How do I disable Ktorrent from autostarting on login?

I'm using Kbuntu and when I turn on my computer and log in, the default app KTorrent automatically starts up and opens a window on my desktop. I want to KTorrent to open up when I manually select the ...
0
votes
1answer
55 views

Running sh script on Lubuntu on startup

Running lubuntu 18.04 LTS with LXDE So, I need to run a simple SH script inside terminal session on startup after login, but I'm struggling to get it running. I've tried: rc.local trick, /.config/...
1
vote
0answers
43 views

Auto login and run skype for linux without Keyring prompt

I use Ubuntu 16.04 I also use auto login. I have set Skype for linux to auto start, but it asks for Keyring password. Is it possible to start without this prompt? I mean only for Skype, I don't ...
0
votes
1answer
51 views

Making Xinput map-to-output permanent

I have a configuration with 2 touch screens that I want to run independently. When I run these commands from the command line: $ xinput map-to-output "input ID" "Output Device" It works fine. ...
0
votes
2answers
41 views

Is there a way to have one app.service in systemd start multiple independent app.service units?

For example if I had two service files that ran as type=forking that start two different java applications and then two service files that run as type=simple running different applications, is there a ...
2
votes
0answers
123 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 ...
1
vote
0answers
72 views

ssh-agent does not autostart from .bashrc after update to 18.04

I have Ubuntu with XFCE for several years. When it was 16.04 I configured the autostart of ssh-agent in my .bashrc as follows: # Set up ssh-agent SSH_ENV="$HOME/.ssh/environment" function ...
0
votes
0answers
47 views

Could not initialize class sun.awt.X11GraphicsEnvironment

I have follow log into error file: ERROR - Http Connection exception caught [/212.117.188.67:52973] -- java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment at ...
0
votes
0answers
30 views

Execute a script every day 5:00 [duplicate]

I'm running tf2 server on my ubuntu computer, and I would like to run an auto update in every morning at 5:00. So this script should first close the running tf2 server, then go back to the "steamcmd" ...
2
votes
2answers
47 views

Are there any commands I can use to ensure that the NTP service is running and is also responsive?

Are there any commands I can use to ensure that the NTP service is running and is also responsive? What I am planning to do it have some monitory & remediation scrip to ensure that a couple of ...
0
votes
0answers
66 views

Ubuntu Core Autostart easy-openvpn client connection

I have an Ubuntu Core with easy-openvpn SNAP on it and want to connect to a openVPN server. The connection works with this command: sudo easy-openvpn.connect-server ppm.ovpn Now this should happen ...
1
vote
1answer
40 views

Disable default autostart scripts via console commands

I have a fully unattended Ubuntu Install process in place that installs xfce for me and then some other stuff. My only problem: while I can add new startup scrips by just copying them to ~/.config/...
1
vote
1answer
32 views

How to autostart `xautolock` in Lubuntu?

I put the command in: .config/lxsession/Lubuntu/autostart but it doesn't seem to be executed. I found a strange workaround (see below).
0
votes
1answer
48 views

How to disable a program in “Startup Applications” via command line

I know how to do this via GUI, but now I need to do this via CLI. I cannot delete, for example, org.gnome.SettingsDaemon.Wacom.desktop file from /etc/xdg/autostart, because my system (Ubuntu 18.04) ...
4
votes
2answers
60 views

Open an app on first login

I know Ubuntu supports autostart of apps every time a user logs in. But what I would like to do is to open a specific app every time a new user logs in for the first time and then the app won't ...
0
votes
0answers
57 views

Session/startup custom code does not run (correctly) on Xubuntu 16.04/18.04

In a nutshell: it appears code I add to my session & startup menu does not get run (correctly). Some examples: compiz --replace & dropbox stop && dbus-launch dropbox start & ...
1
vote
0answers
23 views

Pin application to screen and user can't close or resize or switch between app!

I want to create auto login user just when ubuntu starts the specific app automate start as fullscreen and user can't close that app or open other app and switch between app or minimize or ... , only ...
6
votes
1answer
157 views

How find out what is autostarting my terminal?

I have Xubuntu 16.04 with XFCE window manager. Every time when I start my computer, the terminal of Terminator is also autostarting. When I look into "Session and Startup", , I found nothing which ...
0
votes
2answers
889 views

Unable to disable Dropbox's autostart in Ubuntu 18.04

The Problem I installed nautilus-dropbox in Ubuntu 18.04. The app itself works fine, but it does not respect the Start Dropbox on system startup option. When I start Dropbox manually, it creates a ...
2
votes
2answers
2k views

OpenVPN AutoStart Ubuntu 18.04

I am trying to set OpenVPN to autostart on boot. With 18.04 Mate I have tried my usual put opvpn config into /etc/openvpn and then edit /etc/default/openvpn to connect all. This does not work, ...
0
votes
0answers
26 views

Start vncserver-x11-serviced.service before unlock disk sda5_crypt

So, I'm kite "noob" on ubuntu. I'm trying to handle myself without disturbing anyone! But I'm searching for a solution to this for too long and I'm getting to nowhere. I've my encryption on in ...
0
votes
0answers
43 views

Failing to auto start virtual machine

I am trying to auto start my rpi so that it automatically logs into the virtual machine. My script.sh has the following: sleep 10 ~/.profile sleep 10 workon cv and when I put the script.sh into ...
0
votes
1answer
76 views

vsftpd won't auto start on boot with pasv_addr_resolve=YES

Ubuntu server 18.04 LTS vsftpd 3.0.3 (Sorry for my bad English) vsftpd won't auto start on boot if I set "pasv_address=example.com" and "pasv_addr_resolve=YES". Manual start is fine when after ...
1
vote
1answer
219 views

Kubuntu 18: Power management not working

That's what I get in the menu. There is nothing to activate under startup. Any suggestions?
0
votes
1answer
34 views

Ubuntu program won't start as a service

Quite a newbie to Linux and servers. I have a program I like to start on boot. Executing the program in its folder works fine. Trying to execute the program from outside of the installation folder ...
1
vote
1answer
309 views

autostart compton on Lubuntu 16.04 LTS

The command /usr/bin/compton -I 0.04 -O 0.04 -D 10 -m 1.0 -C -f -i 1.0 -e 1.0 -G --vsync none --unredir-if-possible --unredir-if-possible-delay 0 -b does exactly what I want, when I run it from a ...
1
vote
0answers
83 views

What the proper way to make a debian package launch an app at startup?

I have created a debian package that contains the following files mypackage.desktop mypackage control copyright packagedeb.sh mypackage.jar (generated from my source code) I wrote some commands ...
0
votes
0answers
70 views

OpenVPN autostart client connection

I want to connect from Ubuntu 16.0.4(client) to my OpenVPN Server. I have client2.conf in /etc/openvpn and when I type "openvpn --config client2.conf" everything works. I need to autostart connection ...
0
votes
1answer
56 views

rc.local doesn't execute anything

I only have SFTP access and SSH access, it's virtual server running Ubuntu 16.04. I'm trying to get jekyll to auto-start whenever I start/reboot the server. In the ssh terminal I can just enter cd /...
0
votes
0answers
36 views

Autostart a binary in Lubuntu 16.04

I want to start a binary miner program whenever my system starts via autologin. I have tried every procedure I can find, including putting a link in autostart and adding an entry to the LXSession ...
0
votes
0answers
45 views

.desktop files will run manually, but not autostart

Upgraded from Lubuntu 14.04 to 16.04 yesterday. Now, all of the .desktop files I have in /etc/xdg/autostart will not start on reboot. I can browse to that folder and start them from there, but they ...
0
votes
0answers
19 views

Is it possible to open two seperate webapps on a dual extended screen on startup?

I can manage to open a webapp on startup on main screen but i cannot figure out how to open a second webapp on the extended screen. I have tried directing the output to different display (0.1) and i ...
2
votes
1answer
358 views

How to make Dropbox auto start on Ubuntu 16.04 LTS MATE?

I have installed Ubuntu MATE 16.04.4 LTS. Then I did the following to install Dropbox: I installed caja-dropbox package to it. During installation of caja-dropbox proprietary part was downloaded (...
0
votes
0answers
121 views

Dropbox keeps starting on boot though I disable it on Kubuntu

On Kubuntu, if I go to system settings > startup and shutdown > autostart I can see Dropbox (command "dropbox start -i") in the "desktop file" list and I can uncheck them in order not to make them ...
0
votes
2answers
162 views

minimize skype after autostart

"Launch skype in the background" is not an option now so I'm trying to bypass it. I tried to add this line to the autostart file: && sleep 5 && xdotool windowminimize $(xdotool search ...
4
votes
2answers
315 views

6 years later: how do we “still” prevent Dropbox from adding itself to autostart when launching it?

I am aware of the previous topic (of 6 years ago), and of course I made sure that the "Start Dropbox on system startup" is unchecked in preferences... what I experience is: I take it off from the ...
0
votes
0answers
222 views

rfcomm not accessible after upgrade to Ubuntu 16.04

I am working on an Advantech MIO 2263 with Ubuntu 16.04. (In december I upgraded from 14.04 to 16.04). I want to send data from an arduino with an HC-06 module to ROS on the MIO-board (bluetooth ...
0
votes
1answer
39 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 ...
0
votes
0answers
153 views

Daemonizing a service using systemd and creating a PID file that autostarts on boot [duplicate]

I have a program that runs a mining bot for Cryptocurrencies. One of the issue is that unless my terminal connection remains open the service will stop. I understand that I need to create a daemon ...
1
vote
0answers
586 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 ...
0
votes
0answers
35 views

Autostart a text based scritp which run always in background

I wrote a application that should manage my battery power in the background. The program works fine. I install it so to call it I just have to enter batman text in the terminal and a text based ...
0
votes
0answers
311 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 ...
3
votes
1answer
80 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?
0
votes
0answers
40 views

How can i make a bin application running at the startup? [duplicate]

I'm trying to add my bin program at the startup of an Ubuntu distro but the problem is that I've no GUI, how can I do that?Thanks in advance :)