======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 =====
* Raspberry Pi 3
* MicroSD loaded with a bootable image of [[https://www.raspberrypi.org/downloads/raspbian/|the latest Raspian ]]
* ethernet connection
* microSD card reader
* Mac or Windows PC with the following installed:
* [[https://nmap.org/download.html|nmap]]
* [[https://itunes.apple.com/ca/app/microsoft-remote-desktop/id715768417|Microsoft Remote Desktop For Mac]] / Microsoft Remote Desktop Connection (should come with windows PC)
* //PC ONLY:// [[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html|Putty]] or similar ssh client
===== Procedure =====
- Enable SSH on the pi
* do so by adding a file name ''ssh'' with no extension to the ''boot'' folder
- Insert SD and connect Pi to power and ethernet
- 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.
- SSH into the Pi
* the default user/password should be ''pi''/''raspberry'' for ssh
- enable VNC and optionally, wifi
* enter sudo raspi-config
and use arrow keys to navigate and enable VNC and wifi
- 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
- after reboot, connect to pi using Remote Desktop software on your computer
*the credential are the same as ssh
- //Optional//: setup wi-fi