Difference between revisions of "Connecting to a Raspberry Pi with VNC"

From Double Jump Electric Wiki
Jump to navigation Jump to search
(Created page with "Install tightvncserver sudo apt install tightvncserver Run it tightvncserver It will prompt you to create a session, including a password, and then execute the sess...")
 
(No difference)

Latest revision as of 23:31, 10 June 2020

Install tightvncserver

   sudo apt install tightvncserver

Run it

   tightvncserver

It will prompt you to create a session, including a password, and then execute the session.

On the computer to connect to the Pi remotely, install VNC Viewer.

Setup the connection. The URL will be formatted like:

   <pi_ip_address>:<5900 + session number>

Connect!

Killing the Session

Kill the session on the Pi with:

   tightvncserver -kill :<x>

where <x> is the session number.