Linked Questions

43
votes
8answers
180k views

Why is the command in /etc/rc.local not executed during startup?

I have a single command in my /etc/rc.local script that is supposed to start the update daemon for Tiny Tiny RSS during startup, but the script is not executed during startup. Why? The entire /etc/rc....
24
votes
5answers
65k views

How to run a program as a service (silent)?

I have a python based server which i start from the terminal. This particular instance of the terminal then gives control to the program, and the program uses it as a kind of logging window, until its ...
29
votes
2answers
38k views

What are “$PATH” and “~/bin”? How can I have personal scripts?

What is $PATH? How can I have commands/programs which are only available for me? I have seen this path ~/bin mentioned before, but what is it used for, and how do I use it?
6
votes
5answers
41k views

How do I get an RT3290 wireless card to work?

After updating to 16.04 my Wifi card does not work anymore. And I have no idea what to do. lspci 04:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe sudo lshw -C network *...
5
votes
2answers
48k views

How to run script in rc.local

I am new in this platform. I have question about rc.local. I created a script to run automatically roscore and roslaunch rosbridge_server rosbridge_websocket.launch. This script name is auto and ...
5
votes
3answers
12k views

Nullmailer in /var/log/syslog

I'm getting a lot of messages like these: me@home:/etc/snmp$ tail /var/log/syslog Jun 12 17:52:15 home nullmailer[1238]: Starting delivery: protocol: smtp host: mail. file: 1339502401.24665 Jun 12 17:...
3
votes
1answer
31k views

start lampp at startup as root [duplicate]

Possible Duplicate: How to make sudo remember my password and how to add an application to startup I have lampp installed on my Ubuntu 12.04 Everything works very fine and now I would like to ...
6
votes
2answers
7k views

No “startup applications” menu in Ubuntu 14.10?

I have recently installed Ubuntu 14.10 (Unity) and I cannot find any way to manage the startup applications. I have done the usual first to unhide hidden applications (sudo sed -i "s/NoDisplay=true/...
0
votes
1answer
7k 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 "/...
0
votes
1answer
5k views

How can I launch mono application on startup with root rights?

Recently I wrote the program using Mono. This program needs the root rights and I want it launch on startup. I have Ubuntu 16.04. I already tried use "/etc/rc.local" (followed this link and this) /...
3
votes
1answer
2k views

'ssh -R' won't run in /etc/rc.local

I wrote the following command in /etc/rc.local: ssh -R 32400:192.168.0.100:32400 root@marcin.com -N but it won't start. Any idea why?
6
votes
1answer
3k views

How to Create A Startup Script for Keyboard LED

Freshly installed 14.04, CoolerMaster Storm keyboard. I'm not at all concerned with being able to toggle/turn off the LED, I simply want the LED to turn on before login, i.e. while looking at the ...
0
votes
2answers
2k views

Rc.Local works manually but not at boot

This is what i got with systemctl status rc-local.service - déc. 07 16:09:48 PKPIE01 rc.local[2157]: No protocol specified - déc. 07 16:09:48 PKPIE01 rc.local[2157]: Error: Can't open display: (...
0
votes
1answer
1k views

JBL speaker in Samsung Series 5

I'm kind of frustrated. After upgrading from 12.04 to 14.04 I realized that the quality (especially the subwoofers) of my JBL speaker have a very poor quality. So I googled for it and found that: Do ...
0
votes
1answer
782 views

Start a command on boot [duplicate]

I'm on Ubuntu Mate, and I would like the system to run the command homebridgeat boot. Do I just need to sudo nano /etc/rc.local and add this #!/bin/sh -e # # rc.local # # This script is executed ...

15 30 50 per page