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.

2 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