Headless Raspbian Setup

Wireless

After flashing Raspbian to the SD Card, but before installing into the Raspberry Pi, create a new file called wpa_supplicant.conf with the following content:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
    ssid="SSID"
    psk="WIFI_PASSWORD"
    key_mgmt=WPA-PSK
}

SSH

To enable ssh, create a new file called ssh on the root of the SD Card. The file can be blank.

VNC

To enable VNC Server

sudo raspi-config

Select interfaces -> enable vnc

To change the VNC Resolution you will need to edit /boot/config.txt and change the framebuffer_width and framebuffer_height.

framebuffer_width=1900
framebuffer_height=1024