Top tips for System Admin preparing Raspberry Pi

Just a few technotes from the field when preparing a new Raspberry Pi deployment. The following applies to the latest Raspbian Jessie operating system and all Raspbery Pi models.

Works with

  • Raspbian Jessie release 2016-05-27
  • Raspbian Jessie with PIXEL – 2016-09-23

(I) Remove Wolfram to save ~700Mb off SD card

sudo apt-get purge wolfram-engine

(II) Setting static IP Address

sudo nano /etc/dhcpcd.conf

#Wired Connection
interface eth0
static ip_address=192.168.100.10/24
static routers=192.168.100.1
static domain_name_servers=192.168.100.11

#Wireless Connection
interface wlan0
static ip_address=192.168.10.10/24
static routers=192.168.10.1
static domain_name_servers=192.168.10.1

(III) Disable Screen Blank

sudo nano /etc/lightdm/lightdm.conf

In that file, look for:
[SeatDefault]

and insert this line:

xserver-command=X -s 0 dpms

(IV) Remote Access to the Raspberry Pi GUI CONSOLE desktop

Install x11vnc

sudo apt-get install x11vnc

Run the xvnc server

x11vnc -desktop :0

Look for something similar to XOpenDisplay of “:0” successful.

Remote into your Raspberry Pi using VNC client pointing to x.x.x.x:0

(V) Remote LibreOffice entirely

sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove

Leave a Reply

Your email address will not be published. Required fields are marked *