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

learn more… | top users | synonyms

186
votes
7answers
288k views

How to run scripts on start up?

I was wondering how to run scripts when my computer starts up so I don't have to run scripts manually that I always run?
2
votes
0answers
2k views

OpenVPN on Ubuntu 14.04: Auto Connect on startup

There are a lot of topics concerning this. OpenVPN Auto Connection by putting the conf file to /etc/openvpn just doesnt work. When using the Authentification type "password" an easy way to make it ...
11
votes
6answers
44k views

How can I add new autostart programs in Lubuntu?

In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?
0
votes
0answers
26 views

Is conky.desktop default

Recently I've installed Conky Harmattan themes. My computer is slow so wanted to check startup applications. After giving the following commands in terminal /home/cam# cd .config/autostart ...
1
vote
0answers
43 views

How to autostart an application on Touch device?

What if you want to distribute some daemons in ubuntu-click packages? What is the preferred way to start them on boot?
1
vote
1answer
65 views

preventing transmission-daemon from auto start?

On Xubuntu 14.04 I have installed the package transmission-daemon. It appears to start automatically when I start the computer. Is it possible to prevent this from happening and instead I would like ...
0
votes
0answers
11 views

Start VirtualBox VM in startup [duplicate]

I just installed Windows 7 inside VirtualBox and Ubuntu has nothing but VirtualBox. Is there any way I can have the VM automatically startup when Ubuntu starts? Thanks!
1
vote
1answer
38 views

KDE start Thunderbird on specific Dekstop at startup

I want to start Thunderbird on a specific Desktop at startup of KDE. I found the autostart settings but I did not find any option to start the program on a different Desktop. How can I do this? Is ...
1
vote
1answer
120 views

I finally got pptp working… but where insert command to autostart it?

I was looking for a solution and finally found,I have to run in terminal: sudo modprobe nf_conntrack_pptp I don't know what it is, what this command is doing, I know only that i have to run this ...
1
vote
0answers
41 views

Are settings in System > Preferences > Startup Applications the same as settings in some system or personal configuration file?

We can set up what programs to start automatically when starting up the OS, by adding settings in System > Preferences > Startup Applications Is this method the same as adding settings in some system ...
1
vote
0answers
10k views

Autostarting CouchPotato with Ubuntu 13.04

Hi i have a problem autostarting couchpotato 2 in ubuntu i did this: sudo cp /home/max/.couchpotato/init/ubuntu /etc/init.d/couchpotato sudo nano /etc/init.d/couchpotato My file looks like this: ...
0
votes
0answers
56 views

Why does adb autostart and how do I prevent it?

I have noticed adb is constantly running on my system, even though I haven't added it to (and can't it in) any startup lists. Even more, if I kill the process it seems to self-restart after a while: ...
-1
votes
2answers
97 views

How to add startup applications in lubuntu on a specific desktop? [duplicate]

i want startup a programm in a specific desktop with a .desktop config file for example firefox on desktop 2
0
votes
2answers
195 views

Kubuntu autostart program in a specific desktop

In the Kubuntu system settings I can specify the programs that are to be autostarted. But can I specify which desktop they are to start on? For instance, can I cause kmail to be autostarted on ...
0
votes
1answer
375 views

How to autostart gui application cross desktop?

I want to add my gui application to autostart, while remaining cross desktop. .xinitrc looked suitable, but it's not. KDE does not listen to it. 1 If possible, I'd like to prevent adding a custom ...
0
votes
0answers
39 views

VLC starts automatically but no visual elements

So, I got a good surprise today. I was playing VLC and I hide the GUI but I still had the indicator on top pannel while it was playing. So far everything is fine. Then I logout from my session without ...
0
votes
0answers
26 views

Focus autostarted window

I autostart a python program in xterm like this in /etc/xdg/lxsession/LXDE/autostart: @/usr/bin/xterm -e /usr/bin/python /home/user/file.py I experienced that the autostarted instance of xterm ...
8
votes
4answers
89k 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 ...
-2
votes
1answer
228 views

Lubuntu Openbox Autostart GUI Application

I'd like to autostart a Qt GUI application using Lubuntu/Openbox, using a root-only account. I've added the command into: /etx/xdg/openbox/autostart And: /root/test Grepping for test shows that ...
0
votes
0answers
86 views

autostart rc.local 2>&1 redirect, 'open /dev/tty: No such device or address'

I'm trying to execute this command with rc.local: wget http://address/file -P /root/ 2>&1 | stdbuf -o0 awk '/[.] +[0-9][0-9]?[0-9]?%/ { print substr($0,63,3) }' | whiptail --gauge "Progress" 6 ...
0
votes
1answer
285 views

Start Thunderbird in Background

I have a lot of Mailfolders, this leads to thunderbird starting very slow. I use the default ubuntu deskopt and it seems that all autostart applications need to be started until I can access the ...
1
vote
0answers
125 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. ...
0
votes
1answer
265 views

Autostart a Python script in an LX terminal

I have a python script which extracts continuous data from an incoming serial string and inserts the fields into an Sql database. The python script can be run manually from an LX terminal and works ...
1
vote
0answers
402 views

Process “/bin/sh -e /proc/self/fd/9” - what starts it and why?

I have a process /bin/sh -e /proc/self/fd/9 that runs on my system. sh -e /path/to/file in dash (which sh is symlinked to on my Kubuntu 14.10) just tests for existence of a file. In /proc/self/fs I ...
0
votes
1answer
530 views

apache2 not starting automatically in Ubuntu 14.04

I have fresh Ubuntu 14.04 installation with apache2. I have noticed apache2 is not starting at the boot. I have tried to enable it with sudo update-rc.d apache2 defaults, but it still doesn't start ...
1
vote
0answers
126 views

Requirements for KDE startup scripts

I'm running Kubuntu 14.10. I want to include the following startup script for KDE: kstart --desktop 1 firefox kstart --desktop 2 kmail kstart --desktop 3 konsole I placed these three commands in a ...
2
votes
0answers
61 views

Autostart with AutostartCondition

I want to run a program at a certain condition. So I have created a .desktop file and put it in /etc/xdg/autostart. the contents of the desktop file are: [Desktop Entry] Type=Application ...
4
votes
1answer
646 views

Run a script with user interaction on log out / shutdown?

I'd like to run a script on shut down, which interrupts the logout process and and pops up a window with zenity. My target is to get autofsck working with lightdm. It seems to work with 12.04 after ...
1
vote
2answers
788 views

Cannot add/edit/remove Startup Applications; Ubuntu 14.04 with Unity

New to Ubuntu/Linux. In Startup Applications, changes are not saved; as soon as I close Startup Applications, settings revert to default. I've searched for answers (and tons of other questions on this ...
0
votes
0answers
459 views

xrdp autostart on boot

I'm running xrdp on ubuntu 14.04 xrdp works fine, but I noticed that I had to start the xrdp service manually before being able to rdp to the machine. This machine will be going off site and I ...
0
votes
0answers
28 views

autostart issues

all of my other autostart programs work just fine. I have a file in ~/.config/autostart/ named python.desktop with the command python ~/.sickbeard/SickBeard.py -q sickbeard does not autostart, but ...
0
votes
0answers
66 views

How do I make DockX autostart via UCK on Ubuntu GNOME 14.04?

I intend to customize a GNOME Ubuntu 14.04 ISO using UCK to include DockbarX. I want DockX to autostart systemwide. How do I do this from the command line? Note: if I don't thank people or ask ...
5
votes
2answers
11k views

Chrome autostart on ubuntu [duplicate]

I have recently installed Ubuntu on my PC, but I can't understand how to manage the applications -- as an example, I'm trying to get Chrome to autostart. I can start Chrome manually, but I'm not able ...
4
votes
3answers
5k views

lxc containers fail to autoboot in 14.04 trusty using 'lxc.start.auto = 1'

In trusty 14.04 containers fail to autoboot despite all settings being set as 14.04 requires. They show all as STOPPED I have correctly configured 2 LXC containers: calypso encelado They run ...
0
votes
1answer
70 views

Start program after login in Ubuntu

I try to run Jira after Ubuntu start. In /etc/rc.local I wrote this: cd atlassian/jira/bin; ./start-jira.sh (all directories wrote properly) Where is my mistake? Full rc.local: gists
0
votes
0answers
94 views

Xubuntu Applications start twice

I added yakuake and thunderbird under Session and Startup => Application Autostart. I leave these applications running when I shut down my system, unfortunatly on the next boot the applications start ...
3
votes
2answers
6k views

How do I prevent Dropbox from being automatically added to the autostart list after launching it?

Everytime I start Dropbox (in Precise) it gets added to the autostart list even if I deleted the entry before. I don't want Dropbox to be started when I log in only when I want it to. How to prevent ...
1
vote
3answers
4k views

CopyAgent (Copy Cloud Storage) won't autostart at system startup (Linux/Xubuntu)

CopyAgent (the client from Copy Cloud Storage) refuses to autostart at system startup. I use Xubuntu 13.04, and even though CopyAgent .desktop file is in the autostart folder, it simply won't ...
0
votes
1answer
3k views

Start hostapd service on boot

How to start hostsapd service every time my compute starts I have Ubuntu Server 13.10 and kernel 3.11 Update 1 When I tried sudo update-rc.d hostapd defaults I got the following System ...
0
votes
1answer
160 views

xinput - no effect at startup

I have a script that uses xinput to slow down the mouse which works perfectly when run on the command line. So I create and run it from ./config/autostart/fixmouse.desktop, It runs at X startup with ...
2
votes
0answers
104 views

/etc/xdg is missing files

Most of my settings in /etc/xdg have disappeared somehow for no apparent reason. I am running 14.04 I first noticed a problem with system setting not working properly. See: Systems Settings is ...
1
vote
2answers
592 views

init.d scripts and rc folders

I am wondering why not all scripts placed in init.d folder are in rc folders eg. system cups is in init.d but there is not in rc folders? I don’t know if I understand it right. When I want to ...
3
votes
1answer
508 views

.desktop file in xsessions folder not autorunning

I was setting up a kiosk per this tutorial http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/?ALLSTEPS I have hit a problem with the kiosk.desktop file since it is not ...
0
votes
0answers
17 views

Wake up command as ordinary user

Yandex disk cloud drive daemon started via ~/.config/autostart/Yandex.Disk.desktop. It works well except the PC waked up after suspend. Yes, I work with /etc/pm/sleep.d scripts when I need to do ...
1
vote
3answers
151 views

Permanent autostart

I would like to make a Python 3.4 script that starts with my computer so that it's permanently checked to start up with the computer (edit: permanently checked means it can't be disabled via ...
0
votes
0answers
13 views

Autostart script on login in Lubuntu [duplicate]

I want to run this command on login under Lubuntu: cd /home/myuser/kippo && bash start.sh It's supposed to launch Kippo, an SSH honeypot. The command works fine if I run it at the terminal. ...
0
votes
1answer
83 views

Auto-enter master password in KeePassX on launch

I use KeepassX only for unimportant sites and it's set up to autostart. Entering password every time is quite annoying.
1
vote
2answers
310 views

Auto-starting a GUI application that requires sudo

Question: I need to auto-start a GUI application that requires sudo. I know I need to edit the sudoers file with: sudo visudo However, I don't know what to write in the file. What I already ...
0
votes
0answers
244 views

how to stop services from autostart which runs on port 902, 3128?

am using ubuntu 14.04. given below my nmap result, nmap -sV -n 192.168.1.7 Starting Nmap 6.40 ( http://nmap.org ) at 2014-08-21 22:12 IST Stats: 0:00:01 elapsed; 0 hosts completed (1 up), 1 ...
0
votes
0answers
39 views

music players keeps opening automatically on Ubuntu 14.04

Rythymbox and VLC keep opening themselves automatically when neither is installed. Can only stop this by uninstalling the music player. I can click the close X or quit but it will open again shortly. ...