rpm -qa | grep tigervnc-server
Command output:
tigervnc-server-1.1.0-5.e16.x86_64
If you cannot log in to or perform operations on BMC, contact O&M administrators.
mount /dev/sr0 /mnt
[rhel-local] baseurl=file:///mnt enabled=1 gpgcheck=0
Save the file and run the following commands:
yum repolist
yum install tigervnc-server
Configure the VNC login password of user root as prompted.
The command output contains Log file is /root/.vnc/rhel:1.log. 1 indicates that the first VNC virtual desktop is allocated to you.
The process ID is 36069, port number is 5901, and virtual desktop number is 1.
The current user has three virtual desktops, 1, 5, and 2.
Choose Options > Expert > ColorLevel to set ColorLevel to rgb222 if the version of VNC Viewer is 5.3.2 when you install it for the first time.
Run the vncserver -list command to check whether the virtual desktop is added successfully. As shown in the following figure, the virtual desktop 6 is added successfully.