Connecting remotely to the Raspberry Pi over the network using SSH (and X11 Forwarding)

An SSH (Secure SHell) is often the preferred method for making remote connections, as it allows only the terminal connections and typically requires fewer resources.

An extra feature of SSH is the ability to transfer the X11 data to an X Windows server running on your machine. This allows you to start programs that would normally run on the Raspberry Pi desktop, and they will appear in their own Windows on the local computer, as follows:

Connecting remotely to the Raspberry Pi over the network using SSH (and X11 Forwarding)

X11 Forwarding on a local display

X Forwarding can be used to display applications, which are running on the Raspberry Pi, on ...

Get Raspberry Pi for Python Programmers Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.