Articles in this section

Installing VNC for users of Linux Debian

For historical purposes only. Applicable to older versions of CalderaRIP and CalderaDock, as in recent versions the “Install remote desktop” utility is part of the current “Setup tools” for Linux users.

This article provides a guide for Linux Debian users on installing VNC (Virtual Network Computing) with CalderaDock. VNC allows you to remotely access and control your Linux system, making it easier to manage tasks from anywhere.

 

Considerations

  • Having CalderaRIP and CalderaDock installed is a prerequisite.
  • 5900 is the default port. When using a VNC client, use ip_address:5900 or ip_address:0 (replace ip_address with the IP address of the CalderaRIP running VNC server).
  • In the case of a multi-user system, it might be a better option to use RDP instead of VNC, as explained here: Adding RDP support on Debian 10

 

VNC Installation

To install the X11VNC Server, you can use CalderaDock:

VNC_CalderaDock.png

This will install X11vnc and it will enable auto-start upon boot.

 

X11VNC server for advanced users (Useful commands)

Change the VNC password (assuming it's stored in /etc/vnc_passwd, see /etc/systemd/system/x11vnc.service):

sudo x11vnc -storepasswd /etc/vnc_passwd

Check the x11vnc status:

sudo systemctl status x11vnc

Starting x11vnc:

sudo systemctl start x11vnc

Stopping x11vnc:

sudo systemctl stop x11vnc

Enabling the x11vnc service to start at boot:

sudo systemctl enable x11vnc.service

The auto start settings are configured in:

/etc/systemd/system/x11vnc.service

Contents of the x11vnc.service text file:


  [Unit]
Description=x11vnc remote desktop server
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -loop -forever -shared -xkb -noxrecord -noxdamage -find -env FD_XDM=1 -auth guess -rfbauth '/etc/vnc_passwd'

Restart=on-failure

[Install]
WantedBy=multi-user.target

 

When making changes to the above text file (root required), then one also must execute the following:

systemctl daemon-reload

 

Was this article helpful?
1 out of 2 found this helpful