/Raspberry Pi, VNC

Enable VNC (virtual desktop) on Raspberry Pi

Using command line

If command line is not your cup of tea and you need graphical interface, Raspbian has just the thing for you.

  • ssh to your Raspberry, (follow my guide here, if you need to set up ssh access as well),
  • Run command
    sudo raspi-config
    
  • Select Interfacing Options,
    Screenshot_28
  • Select VNC,
    Screenshot_29
  • Select Yes.

VNC should be active now. You can use a VNC viewer to connect to your RPi.

Using graphical desktop

If you have a monitor connected to your Raspberry, but would like to use it elsewhere while still having access to your RPi, you can do it in just a few steps.

  • Go to Menu -> Preferences -> Raspberry Pi Configuration,
  • Click Interfaces tab,
  • Make sure option Enabled is selected for VNC,
    Screenshot_31
  • Save it by clicking OK.

VNC should be active now. You can use a VNC viewer to connect to your RPi.