Comments on How to Install VNC Server on Debian 11

Virtual Network Computing (VNC) is a desktop sharing protocol that allows you to control a computer remotely using the VNC client software. In this tutorial, you will learn how to install a VNC server on the Debian 11 Bullseye. This tutorial uses TigerVNC packages to enable the VNC server and we will secure the VNC connection using an SSH tunnel.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Steve Mode

VNC and RDP should have both been killed off over a decade ago. There are better solutions.

ssh -X when on the same LAN and x2go with going over the internet.  x2go is 2-3x faster than VNC.

If a virtual machine is involved, use the SPICE protocol with QXL video drivers inside the guest VM.  This is best for on the same LAN, but people do use it over the internet using the qemu+ssh:// connection string with virt-viewer.

Lots-o-options. All better than the tired old VNC.  Plus, VNC shoudl always be used with --localhost  to prevent any insecure remote connections. Of course, this assumes people don't want to be hacked. That isn't everyone's goal, in which case, vnc is fine. Good that this is shown in the article.

sudo nano ---> sudoedit - sudoedit is the preferred method to edit system files. It honors the EDITOR environment variable, so any editor can be used. There are other reasons to use it too.

By: Clayman

I have tried numerous methods and install procedures from various websites and I have gotten further with your instructions here than all the others.  I am trying to configure VNC Client on MacOS to work with a Native Debian install on a Raspberry Pi 4.  I got through everything in the instructions and to the best of my knowledge everythiing was clean all the way through.

At the last step where we issue a localhost:5901 command in the client, it connected to the server just fine and opened a window, but it is all black and is not showing the xfce desktop.  At this point I am at a loss as to what might be wrong... any suggestions?

By: gordon

Can  it be run at start as cron job ?