Reference link: http://askubuntu.com/questions/335242/how-to-install-an-init-d-script-in-ubuntu For example, to create a new script "vncserver" sudo editor /etc/init.d/vncserver Then enter the shell script (e.g., define start, stop, status, etc. check out one example inside that folder...). Afterwards, make sure that you make the script executable after creation. sudo chmod +x /etc/init.d/vncserver Now insert the service into the start-up system … Continue reading How to install an init.d script in Ubuntu?
Author: Eric
Short tutorial on how to use TightVNC to access to a Raspberry Pi remotely.
Here is a short tutorial on how to use TightVNCserver and viewer to access a Raspberry Pi remotely. 1. Set up TightVNCServer Install TightVNCServer and have it configured: root@raspberrypi: ~# apt-get install tightvncserver root@raspberrypi: ~# tightvncserver :1 After initializing for the first time, kill the server to do a couple of configurations which allow Tightvncserver … Continue reading Short tutorial on how to use TightVNC to access to a Raspberry Pi remotely.
How to run Raspberry Pi headlessly?
Reference link: http://www.penguintutor.com/linux/tightvnc Remote GUI access to a Linux OS using Tightvnc The command line is a great way to manage a remote Linux computer if you don't mind typing in commands, but sometimes you need to be able to view a GUI. Short of a very long cable one of the best ways of … Continue reading How to run Raspberry Pi headlessly?
What is the file /etc/rc.local for?
Linux File Reference: /etc/rc.local The /etc/rc.local file is common to major Linux distributions. This file contains BASH commands which will be run after run-level specific commands whenever the system is booted. In a VPS environment, /etc/rc.local is commonly used to store the hostname <SERVER_HOSTNAME> command (where <SERVER_HOSTNAME> is the intended hostname for the VPS) to … Continue reading What is the file /etc/rc.local for?
What is “runlevel”?
reference link:http://en.wikipedia.org/wiki/Runlevel The term runlevel refers to a mode of operation in one of the computer operating systems that implement Unix System V-style initialization. Conventionally, seven runlevels exist, numbered from zero to six; though up to ten, from zero to nine[citation needed], may be used. S is sometimes used as a synonym for one of … Continue reading What is “runlevel”?