IMDTouchKnowledge BaseShop main store

Troubleshooting

Why an HMI VNC client may not connect to a third-party VNC server

HMI and touchscreens Published 7 min read

Short answer

A panel's VNC client control is released only for its vendor's own SmartServer, so displaying a third-party VNC device such as the Kistler 5877B on the HMI is a bench test, not a supported design. A PC viewer that connects proves the server works, not that the panel's client can negotiate the session. Test the exact combination on an isolated bench; if it fails, keep the viewer on a separate device.

On this page
  1. Can an HMI panel display a third-party device's VNC screen?
  2. Why does the same VNC server work from a PC viewer but not from the panel?
  3. What is the panel's VNC client control released to connect to?
  4. Can the panel's browser or an installed viewer program do it instead?
  5. How do you bench-test the panel against the third-party VNC server?
  6. What should a passing VNC test prove before you rely on it?
  7. What do you decide when the panel still will not connect?
  8. Questions asked

The number that decides this is zero supported configurations: a Comfort Panel ships exactly one VNC client, the Sm@rt Client control, and its vendor releases that control for connections to its own SmartServer — not to third-party VNC servers. Your PC viewer opening the Kistler 5877B screen proves the device's server is alive and speaks VNC to that viewer; it proves nothing about the panel client's security negotiation. That makes the combination a bench-test question with a pass or fail result, not a datasheet question. This article gives you the release scope, the reason a working PC viewer does not transfer, the bench procedure, and the decision for each outcome.

Can an HMI panel display a third-party device's VNC screen? #

Only through the panel's VNC client control, and that control is released for the panel vendor's own SmartServer, so a third-party server such as the one in the Kistler 5877B is an unconfirmed bench test rather than a supported design.

That release statement is the whole decision. The panel runtime is a closed device: it runs the visualization project you download to it and the client controls that project contains, so there is no route to a generic VNC client program. The one client you can place on a screen is the Sm@rt Client control inside the engineering project, and the released pattern for it is panel-to-panel viewing — a viewer object showing another panel's screen, which using a VNC viewer object on an HMI to display other panels walks through. A measuring device's embedded VNC server sits outside that pattern. The release does not make the connection impossible; it makes it unproven, and you own the proof.

Why does the same VNC server work from a PC viewer but not from the panel? #

A PC viewer proves three things only: the server is reachable, it speaks VNC, and it negotiates security with that one viewer; none of those results transfers to the panel's client, which may offer a different set of supported security types.

A VNC session starts with a version exchange and then a security handshake: the server lists the security types it offers, the client picks one it also supports, and both switch to that authentication scheme before any screen data moves. Several of those types are vendor-specific and not publicly documented — enterprise authentication modes such as the one RealVNC sells for Windows are the classic example — so a client that carries only the classic password scheme can be offered nothing it understands.

The viewer then reports a refusal like Server did not offer supported security type! even though every ping on the network succeeds. Reachability and negotiation are separate gates, and a remote-access failure that looks identical can come from the client targeting a wrong or private address, as covered in remote VNC failing when the viewer targets a private IP.

What is the panel's VNC client control released to connect to? #

The Sm@rt Client control is released for connections to the panel family's own SmartServer; vendor documentation for the current WinCC Unified Smart Server documents a maximum of 3 parallel Smart Client connections, and states that extra connections are not prevented but degrade performance.

A release is the vendor's statement that a combination was tested and stays supported through updates; outside it, you hold the entire test burden, including retesting after firmware changes. That documented connection limit is what released scope looks like: a number, a behavior and a stated boundary, all written down for one specific client and server pair. The third-party server you want to attach has no such entry anywhere in the panel documentation, which is exactly why the bench test below exists.

What the vendor licenses and documents for SmartServer VNC on Comfort versus Basic panels, and where the license level changes it, is covered on SmartServer licensing and VNC differences between Comfort and Basic panels.

Can the panel's browser or an installed viewer program do it instead? #

No — treat both alternates as dead ends: the panel runtime's web browser is limited and cannot stand in for a full VNC client, and the runtime does not let you install third-party programs such as a device vendor's viewer executable.

The panel's built-in browser is a stripped-down runtime component rather than a desktop browser, so it cannot stand in for the device's remote screen, and expecting it to render a live measurement graph correctly is hope, not a design. Installing a viewer executable is equally closed: the runtime exposes no desktop where the device vendor's PC software could run, and there is no supported way to add one. That leaves exactly two displays for this job — the Sm@rt Client control inside the panel project, or a viewer on a device outside the panel — and one of them is already proven on your bench.

How do you bench-test the panel against the third-party VNC server? #

Test the exact panel model, project and device firmware together on an isolated bench, because the release scope makes the combination a measurement, and a measurement needs the real hardware, the real project and a verified network path.

  1. Put the panel and the 5877B on an isolated bench switch and give both fixed addresses in one subnet — for example 192.168.10.20 on the panel and 192.168.10.30 on the device.
  2. Prove reachability at two levels: ping both ways, then confirm TCP 5900, the port VNC listens on, is open through any firewall on either end.
  3. Re-run the PC viewer on the bench and write down the exact endpoint that works: address, port and the authentication mode the viewer needed.
  4. Add the Sm@rt Client control to a throwaway test screen in the panel project, enter that same address and port, and select the plainest authentication both ends document — the classic VNC password mode where both offer it.
  5. Download the project to the real panel hardware and open the test screen; the attempt either completes the handshake or stops with a security error.
  6. Change one variable at a time, and if the server starts answering attempts with Too many authentication failures, stop and wait — some servers refuse further attempts after a run of bad logins.

Worked example: the panel sits at 192.168.10.20, the 5877B at 192.168.10.30, the test PC at 192.168.10.40, all on the bench switch. The PC viewer opens 192.168.10.30 on TCP 5900, so the server is up and reachable. The Sm@rt Client control aimed at the same address refuses with Server did not offer supported security type!. Ping still passes in both directions, so reachability is proven and negotiation is the failed gate — one variable left, the security types, and the decision for this case is that the panel does not display the device until a supported type appears on both ends.

What should a passing VNC test prove before you rely on it? #

A passing test proves the session opens, the graph renders correctly at the panel's screen size, it refreshes during operation, and it reconnects by itself after a link interruption; a bare connection with a frozen or blank frame fails.

Run the acceptance with the device operating, not idle. Connect, then interrupt the link and time the recovery, because a session that never comes back after a cable swap will haunt you in production. Watch a live measurement: the graph must render at the panel's screen size, refresh while the process runs, and keep its scaling and legibility at the viewing distance. The released pair has its own security-setup failures too — a panel refusing the vendor's own remote clients over a bad security state is exactly what why a KTP Basic Sm@rtServer refuses remote client connections documents — so treat any refusal as data, record the exact message, and only then change a setting. Keep the VNC window a viewing path only: anything that moves the machine stays on the local controls you have tested.

What do you decide when the panel still will not connect? #

Decide by the test result: a passing bench test lets you ship the combination as an unconfirmed design you re-verify after firmware updates; a failing test rules the panel out as the display, and the supported fallbacks take over.

Ship or stop by the test result, not by hope. A passing bench test on your exact panel model, project and device firmware justifies running the combination in production as an unconfirmed design: record the firmware versions and the working security settings in the machine file, because those are the values a future retest must reproduce. A failing test rules the panel out as that device's display.

When it fails, the fallbacks run in this order: keep the viewer on the existing PC where it already works; if the graph is needed at the machine, run the viewer on an industrial panel PC instead of a second full-size display; or use the measuring device's own screen or display output as its documentation describes. Asking the panel vendor's support channel to release this specific server combination is the only route that changes the answer. Do not build the machine on a connection that has never passed on the hardware you ship.

Questions asked

Which VNC security types can a client and server negotiate?

The Remote Framebuffer protocol, RFC 6143, starts every session with the server offering a list of security types and the client choosing one it also supports. Type 1 is no authentication and type 2 is the classic VNC password check; everything above those is vendor-defined, privately assigned and not publicly documented. That is why a client carrying only the classic types can meet a server offering only vendor modes and have no type to pick.

What retesting does the third-party VNC combination need after it passes?

Re-run the full bench procedure after any firmware or image update on the panel, after any firmware update on the measuring device, and after any change to the server's security or network settings. The combination sits outside the client's release scope, so an update can change the offered security types without an announcement, and only a repeated test on the hardware catches it. Keep the bench steps and the recorded working settings with the machine documentation.

Do other panel families behave differently with third-party VNC servers?

No released third-party client exists across this vendor's panel families; each ships a released client and server pair and nothing else documented. The closest public data point is a vendor engineering sample that tried to extend panel-side VNC support and reported unsuccessful tests against common Windows VNC servers such as TightVNC, attributing the failures to missing websocket support. Treat every family the same way: released pair inside, bench test outside.

How should the bench network for the VNC test be set up?

Put the panel, the measuring device and the test PC on their own switch with fixed addresses in one subnet and DHCP off, so the client cannot end up pointing at a different device than the one it tested. A router or a company network in the path adds addressing failures that look identical to security failures. Keep a second port free for the PC viewer, because re-running the viewer after each panel-side change tells you which end moved.

Keep reading

  • Troubleshooting

    Why KTP900 Basic Sm@rtServer Refuses Remote Client Connections

    A KTP900 Basic refuses Sm@rtServer clients for two dominant reasons: the panel firmware is still below V17, so the license-free service introduced with WinCC V17 is not actually available on the device, or the client has no routed path to the panel's network. Update the panel to firmware V17, confirm the Sm@rtServer password, then connect from the same subnet or through a VPN — the service is a LAN VNC server and nothing more.

    HMI and touchscreens

  • How-to

    Connecting Operator Terminal Expert to a Third-Party PLC

    Operator Terminal Expert connects to a third-party PLC through a protocol both ends document — typically Modbus TCP or RTU, or OPC UA with the HMI as client and the PLC as server. Select the driver for your exact terminal target, match the driver's address notation to the PLC's register references, and prove one read and one controlled write on the deployed terminal before mapping the rest.

    HMI and touchscreens

  • How-to

    HMI Modbus TCP client and server roles with no device driver

    With no dedicated driver, the HMI works as the Modbus TCP client and the controller's virtual Modbus TCP slave as the server that answers on port 502. Add and activate the virtual slave in PiCtory, add the generic Modbus TCP/IP device in EasyBuilder Pro, and take every register number from the server's process-image map — one register per two bytes of process image, so byte offset 20 is register 10.

    HMI and touchscreens