Connecting to a Raspberry Pi with VNC
Revision as of 23:31, 10 June 2020 by Poofjunior (talk | contribs) (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...")
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.