How To Configure vnc

  1. Installing Components

$ sudo yum install -y lico-vnc-mond
$ sudo yum install -y gdm tigervnc tigervnc-server
$ sudo zypper install lico-vnc-mond
$ sudo zypper install gdm tigervnc tigervnc-server
  1. Configuration

Edit file /etc/gdm/custom.conf
[xdmcp]
Enable=true
sle12 Modify file /etc/sysconfig/displaymanager
DISPLAYMANAGER_REMOTE_ACCESS="yes"

Note

If you need to install on all compute nodes, you can use the batch install command.

# Installation
$ sudo psh compute yum install -y lico-vnc-mond
$ sudo psh compute yum install -y gdm tigervnc tigervnc-server

# Distribute files
$ sudo xdcp compute /etc/gdm/custom.conf  /etc/gdm/custom.conf
# Installation
$ sudo psh compute zypper install -y --force-resolution lico-vnc-mond
$ sudo psh compute zypper install -y --force-resolution gdm tigervnc tigervnc-server

# Distribute files
$ sudo xdcp compute /etc/gdm/custom.conf  /etc/gdm/custom.conf
$ sudo xdcp compute /etc/sysconfig/displaymanager  /etc/sysconfig/displaymanager
  1. Startup

# Management node
$ sudo systemctl start lico-vnc-mond
$ sudo vncserver -query localhost -securitytypes=none

# Other node
$ sudo psh compute systemctl start lico-vnc-mond
$ sudo psh compute vncserver -query localhost  -securitytypes=none