• Blog Content
  • About Burns and This Blog
  • To the Hackers and Script Kiddies
  • SE Skills Survey – Help!!

Eric Burns Online

My Virtual Take on Tech

  • Blog Content
  • About Burns and This Blog
  • To the Hackers and Script Kiddies
  • SE Skills Survey – Help!!

VNC, A Quick Introduction

November 30, 2020 High Level Tech Intro Raspberry Pi No Comments

When I started in tech, the command line was everything.  You’d telnet (gasp!) or ssh into different systems and do your updates, upgrades and configurations.  More and more systems now have a UI now, and not everything can be done via web page.  So how do you remotely (and securely!) access those systems?  If you weren’t aware of VNC, let me share a bit with you about it.

Back in November I was part of a virtual event where people were sent a Raspberry Pi to work with.  I needed to boot a fresh system and automate various customizations, and then later to take screenshots for slides.  These images were also needed for documentation.  Sure, I could have walked over to my test bench every time.  I could also have brought another keyboard or KVM to my regular desk.  With VNC I was able to boot the new system, enable VNC with a single check box, then pull up the whole desktop on my regular work system.  This allowed me to fill time between meetings with items I wanted to work on.

So what exactly is VNC?  VNC stands for Virtual Network Computing.  It is a virtual desktop-sharing system, that is to say it allows you to pull up the desktop from another system and use it just like you were sitting in front of it.  There are variations, but I tend to use RealVNC.

The Server

The first part you need is to set up the VNC Server.  You run this on the system you wish to connect to and control.  The system can be headless (no monitor etc.) and normally the system uses TCP port 5900.  So you might need to open up your firewall if you are running one.

The Client

The client creates a representation of the screen on the system you are connecting to.  It also relays the commands (keyboard, mouse) that you leverage.  The early versions had some intricacies around the mouse – you’d click on the client to bind the mouse and a specific key combination would “release” the mouse so you could interact with the desktop environment where you were running the Client from.

Security

Passwords are not sent in clear text (a la Telnet), but with some versions of VNC limit the password to 8 characters.  Some will allow you to set a longer password – but truncate it!  Either way someone could try a brute force attack.

Raspberry Pi

In the graphical desktop, go to Menu > Preferences > Raspberry Pi Configuration > Interfaces.  You should see VNC in there. Toggle it to Enabled. Once you’ve done that, the server will be enabled every time you boot.

To connect to the system, you’ll need the IP address of your RPi, so you might want to go with a static address instead of DHCP.

If you aren’t running a GUI on the Pi, you can run the command vncserver. Write down the IP address and display number.  Now you can enter it into VNC Viewer and you should be able to connect – provided you know a login and password for your system.

Is That Partner Hurting You?

Inclusive Leadership - What Will I Do?

Leave a Reply Cancel reply

Recent Posts
  • Always On Culture and Global Teams
  • Google Dorking Against the Competition
  • API Guides Are Not Textbooks, Don’t Expect Your Users To Use Them That Way
  • ECHOGEAR Open Rack
  • Getting RAID Inside a Dell
Categories
  • Analytics
  • Attitude
  • CDNs
  • Conversational AI
  • Creative Projects
  • Gear
  • Getting Hired
  • High Level Tech Intro
  • Hiring Process
  • Message/Chat/Collaboration
  • Monitoring
  • Random Notes
  • Raspberry Pi
  • Sales Engineers
  • SE Skills
  • Startups
  • Uncategorized
Recent Comments
  • Peter Cohan on The Best Conference Demo
  • E Berry on Do You Know About These Female Trail Blazers?
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Archives
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
Proudly powered by WordPress | Theme: Doo by ThemeVS.