Table of Contents

Setting Up Raspberry Pi 3 Headless, with Remote Desktop

This guide assumes you are running Raspbian Jessie or later on your Pi3, and you are setting it up with headless (without dedicated monitor and input devices) and doing so at the Hack Space. The remote desktop protocal (RDP) is used.

What You Will Need

Procedure

  1. Enable SSH on the pi
    • do so by adding a file name ssh with no extension to the boot folder
  2. Insert SD and connect Pi to power and ethernet
  3. figure out the IP for the Pi with nmap
    • if you are at the space, use the command
       nmap -sN 162.16.1-5.0/24 

      to list all the device connected. look for device with raspberrypi in its name. note the ip address.

  4. SSH into the Pi
    • the default user/password should be pi/raspberry for ssh
  5. enable VNC and optionally, wifi
    • enter
       sudo raspi-config 

      and use arrow keys to navigate and enable VNC and wifi

  6. install XRDP and vnc4server
    • enter the following into terminal. your pi will reboot and your will need to re-connect via ssh
 sudo apt-get install -y xrdp 
sudo apt-get install vnc4server 
sudo reboot 
  1. after reboot, connect to pi using Remote Desktop software on your computer
    • the credential are the same as ssh
  2. Optional: setup wi-fi