Logging In to a Server Using VNC
Scenarios
Log in to a server using the Virtual Network Computing (VNC) service.
The VNC service configuration function provided by the iBMC enriches KVM operation interfaces and provides a more flexible KVM operation mode. The VNC is an open-source protocol, and you can obtain the required VNC tool from a variety of third-party VNC tools available.
The VNC service supports data transmission with or without SSL encryption. This section uses the VNC transmission without SSL encryption as an example.
Prerequisites
Conditions
The client (local PC) is connected to the iBMC management network port of the target server.
Data
- iBMC management network port address and port number (VNC service port number)
- VNC service password
Software
A third-party VNC client, for example, TigerVNC or RealVNC, has been installed on the local PC.
Procedure
- Enable the VNC service.
The VNC service can be enabled through the iBMC web, CLI, IPMI, or Redfish interface. This section uses the operations on the iBMC WebUI as an example.
- Log in to the iBMC WebUI. For details, see .
- Choose .
- Enable the VNC service, set the port number, and click Save.
The VNC service is disabled by default. The default VNC port number is 5900.
- Configure VNC settings.
- Set the VNC password and deselect SSL Encryption.the password must meet the following requirements:
- It must be of 8 characters
- Contain at least a space or one of the following special characters:
`~!@#$%^&*()-_=+\|[{}];:'",<.>/?
- Contain at least two types of the following characters:
- Uppercase letters A to Z
- Lowercase letters a to z
- Digits 0 to 9
For security purposes, you are required to enter the login password when saving the settings.
- Set the VNC password and deselect SSL Encryption.
- (Optional) Use TigerVNC to log in to the server from a Linux client.
- In the TigerVNC installation folder on the client, open the CLI console and run the vncviewer ipaddress:port command.
In this command, ipaddress indicates the IPv4 or IPv6 address of the server iBMC network port, and port indicates the port number of the VNC service.
The TigerVNC login window is displayed, as shown in Figure 6-30.
- Enter the password set in 3.b, and press Enter.
The server desktop is displayed, as shown in Figure 6-31.
- In the TigerVNC installation folder on the client, open the CLI console and run the vncviewer ipaddress:port command.
- (Optional) Use RealVNC to log in to the server from a Windows client.
- On the client, double-click the RealVNC software.
The RealVNC login window is displayed, as shown in Figure 6-32.
- Click Options.
The VNC basic setting dialog box is displayed, as shown in Figure 6-33.
- Set parameters based on service requirements, and click OK.
The login window, as shown in Figure 6-30, is displayed.
- In the text box next to VNC Server, enter iBMC management network port IP address:VNC port number, for example, 192.168.100.169:5900.
- Click Connect.
If the Encryption dialog box is displayed, click Continue.
The dialog box shown in Figure 6-34 is displayed.
- In the text box next to Password, enter the password set in 3.a and click OK.
The server desktop is displayed, as shown in Figure 6-35.
- On the client, double-click the RealVNC software.