Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.
The checkbox is automatically selected by default.

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.
The log file is stored in C:\Users\PC\AppData\Roaming\TightVNC \tvnviewer.log by default. You can change the save path by the [Locate] button.

(blue star)

- 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.

 

VNC Mobile Application Configuration

Xpanel remote control is possible by smartphone when you use a general-purpose VNC Viewer application. Note that display color may differ in an application in which does not support a 16-bit color option.

Mobile network configuration

(1) Mobile configuration in Mocha VNC Lite application

a) Search for a mobile viewer named ‘Mocha VNC Lite’ and install the application on the smartphone.

b) Tap the ‘Configure’ menu in the start menu of the application.

c) Tap the‘ New…’ button to establish a new network configuration.

d) Input the parameters of the Xpanel IP, port, and password. Enter the hash sign (#) in the password field, which indicates the nonuse of passwords. Tap [Save] to save the settings.

e) Go back to the start menu and tap the ‘Connect’ button. You can connect to the Xpanel with the corresponding configuration.

(2) Assigning a static IP address

When you wish to connect to the Xpanel via a 3G/LTE network, you must target a public IP address (append a port-forward to the public IP address for Xpanel’s with a local IP address). In the following example, you can connect to the VNC server with a static IP address or dynamic IP address. To use the VNC function in the mobile phone, a wireless network configuration is required. The following instruction explains the step for the mobile network through an IpTime device.

a) Input ‘192.168.0.1’ and click [Set up] to enter the settings window. Set remote Mgmt port by entering [Advanced Setup] -> [Firewall] -> [Mgmt Access List].

b) Check the [Remote Mgmt port #] box and set the number of the Management port.

c) The figure below is about how to set port forwarding to assign a socket port number in the IpTime. Go to [Advanced Setup] -> [NAT/Routing] -> [Port Forwarding] in the settings window.

d) Assign the static IP address and socket port number used in the Xpanel. The default socket port number used in the Xpanel is 5900.

e) Enter the static IP address and port number of the Xpanel at the configuration box in the application.

(3) Assigning dynamic IP address

a) Go to [Advanced Setup] -> [Utility] -> [DDNS] to register the address of the domain name.

b) Input the Host Name to register the DDNS server.

c) Go to [Advanced Setup] -> [NAT/Routing] -> [Port Forwarding] in the settings window. You can access the Xpanel via port number by entering the domain name.

d) Check the DHCP box so the Xpanel uses a dynamic IP address.

e) Enter the domain name and port number of the Xpanel in the configuration box of the application.

 

  • No labels