To use the VNC function, you must start the VNC server in the Xpanel. You can start or stop the server with the following steps.
Starting and stopping the VNC server |
(1) Starting and stopping the server in XpanelDesigner
a) Go to [Online] -> [Setup Link] and select the link method for Ethernet.
b) Press the [Select Xpanel or NP/iNP] button and Xpanel(s) will appear on the list. Select the desired Xpanel.
c) Select [Online] -> [Run Remote Control Server].
d) The following dialog box will appear when you click [Online] -> [Run Remote Control Viewer]. Enter the Xpanel IP to access the VNC server.
※ New functions are supported in XpanelDesigner versions 2.53 and above.
Item | Description | |
Remote Host | Enter the Xpanel IP address. To specify a port number, append the IP address with two colons (i.e. 10.100.100.1::1000). | |
Options | You can configure the option for the viewing screen. For more information about the items, see the topics in e). | |
Listening mode | When pressing this button, the viewer waits for incoming connections, and multiple users are allowed to attach the viewer to their PCs. | |
Version Info | Displays version information about the VNC program. | |
Licensing | Goes to the CIMON website. | |
Configure | You can set the options for the behavior of the viewer. | |
Show toolbars by default | Shows or hides the toolbars by default. | |
Warn at switching to the full-screen mode | If the checkbox is selected, a message appears when you switch the screen to the full-screen mode. If the checkbox is unselected, the screen switches to the full-screen mode without the message. | |
Log verbosity level | Creates a log file that contains information(e.g. success for communication, host IP address, last access time, etc.) for every connection. If the level is specified as 0, the log file won’t be created. |
| - Subnet mask and gateway should be configured to match those of PC and Xpanel. |
e) The table below explains items for configuring the connection option. Only functions that are enabled in Xpanel will be explained. When you press the [Options…] button in the New XVNC connection, a setup window will appear as follows.
※ New functions are supported in XpanelDesigner versions 2.53 and above.
Item | Description |
256 colors | Sets the image color depth to 256 colors. This option reduces the time for displaying the viewer screen. |
View only | The viewer allows the user to only monitor the project. |
Scale by | Sets the screen size by selecting a percentage. You can select 25, 50, 75, 90, 200, 125, 150% scale value from the combo box. |
Full-screen mode | When the option is enabled, the viewer is automatically displayed in full-screen mode. |
Local cursor shape | You can select the shape of the cursor on the viewer screen. You can choose a dot or arrow cursor, or hide the cursor from the screen. |
f) You can see the Xpanel screen with the VNC viewer.
g) To turn off the connection of VNC, press [Online] -> [Stop Remote Control Server].
(2) Starting and stopping the server in Xpanel
a) Click the corners as shown below in numerical order and the Xpanel Config dialog box will appear.
b) Press [Exit] button.
c) Press the [Configure] button in the Ethernet Loader dialog box.
d) You can start the remote control server by pressing the [Run VNC Server] button. If the VNC activates as the Ethernet loader starts option has been selected, the server starts automatically when the Xpanel is turned on. You may stop the remote control server by pressing the [Stop VNC Server] button.
(3) Starting and stopping the server by using a command expression
You can run or stop the VNC server in the project runtime directly by touch commands as shown below.
Function | Touch | |
Action | Command Expression | |
Command | RunApp("Xpanel/Bin/XVncServer.exe","") | |
Description | Starts the remote control server. | |
Function | Touch | |
Action | Command Expression | |
Command | RunApp("Xpanel/Bin/XVncClose.exe","") | |
Description | Terminates the remote control server. |
|