Comments on How to Install VNC Server on Debian 12

Virtual Network Computing (VNC) is a desktop-sharing protocol allowing you to control a computer remotely using the VNC client software. In this guide, I'll show you step-by-step how to install VNC Server on the Debian 12 server.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Orkam

Hi,

Very interesting post. 

I'm using Debian12,

but I'm working with GNOME, and it appears that launching vncserver fails with following error in journalctl: Cannot open display: !

Is there a workaround to make it work with Gnome ?

 

Thanks.

By: Aldo Giove

Hi Orkam, maybe you misspelled something? Probably you put an exclamation mark "!" instead of a "1" in some configuration file?

For example, in /etc/tigervnc/vncserver.users 

or in the commands 

sudo systemctl start tigervncserver@:1.servicesudo systemctl enable tigervncserver@:1.service

Regards

Aldo

By: OKarlsson

I followed the tutorial but when I try to connect through ssh from a windows machine  (in the following step) I get a connection refused error (ssh: connect to host 192.168.1.135 port 22: Connection refused). What can I do?

ssh -L 5901:127.0.0.1:5901 -N -f -l bob 192.168.5.15