Engineering

Create a remote desktop/control to Raspberry Pi Hydroponic System | VNC and SSH

Introduction

Now that the basic Raspberry Pi setup is done (Raspberry Pi 4 to Indoor Garden System), I would like to keep the Raspberry pi near the hydroponics system is (i.e. garage) and control this remotely from my laptop anywhere.

Best Know Method (BKM)

Raspberry Pi Set-up

  1. Go to Raspberry Icon –> Preference –> Raspberry Pi Configuration
167BA0D4-68B5-4F37-971E-18EFF1A40EAA_1_105_c

2. Set SSH = “Enable” and VNC = “Enable” under “Interfaces” menu tab in Raspberry Pi Configuration like the picture below

screenshot_38

3. Now, set a password under “System” menu tab for secure access

screenshot_39

4. Check IP address. In this case, 192.168.1.235. Usually, an IP address is automatically assigned by your home router.

screenshot_32

5. Note that username is “pi.” hostname is “raspberrypi”

screenshot_40

Raspberry Remote Desktop with Mac OS VNC Viewer example

  1. Download a free VNC Viewer: RealVNC Viewer Download Link
screenshot_28

2. Type Raspberry Pi IP address (192.168.1.235) and Hit Enter key. There is a warning message for the first time like the right picture and hit Continue.

3. Type username = pi as a default username. and your password.

screenshot_31

4. Now, you can access to Raspberry Pi Desktop environment remotely using the same wifi network.

screenshot_32
5E399547-91A9-4DA8-A6B2-F30B4D496B95_1_105_cLeft Monitor: Raspberry Pi. Right Monitor: MAC OS with a VNC viewer

SSH (Secure Shell)

  1. Make sure SSH is enabled under “Interfaces” menu on Raspberry Pi Configuration.screenshot_38
  2. Open a Terminal app on Mac OS
    • For Windows, WinSCP and Putty are famous applications for ssh access.
screenshot_43

3. Now, you are on raspberrypi through ssh. You can type any commands here.

SSH with X-window

  1. For Mac OS, download XQuartz Download Link
  2. On XQaurtz, ssh -Y pi@192.168.1.235
screenshot_44

3. Type application names

Examples include:

  • vlc &
  • geany &
  • thonny &
screenshot_37VLC Media Player and Python IDE Thonny are called from Raspberry Pi
ABOUT ME
green scientist
Love travel, running, engineering, and gardening. Exploring new parks.

Leave a Reply

%d bloggers like this: