IMDTouchKnowledge BaseShop main store

Troubleshooting

Comfort Panel Sm@rtServer reports an unencrypted VNC connection

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

The popup is the viewer reporting the session it negotiated, not a panel fault. Sm@rtServer authenticates with a password and encrypts only when the encryption setting on the panel is on and the client supports the offered security method. Check the setting in the panel's Internet settings, test with Sm@rtClient first, and keep any third-party VNC viewer to a password of at most 8 characters.

On this page
  1. What the warning does and does not say
  2. Where the encryption setting lives
  3. Why Sm@rtClient connects clean and another viewer warns
  4. The checks, in order
  5. Worked example: the password Line3Shift against a third-party viewer
  6. The decision for each case
  7. Questions asked

An unencrypted-connection popup on a VNC viewer attached to a Comfort Panel's Sm@rtServer is the viewer reporting the session it negotiated: screen data and operator input are crossing the network without transport encryption. It is not a display fault, and it is not evidence that Sm@rtServer encrypts traffic by itself. Sm@rtServer authenticates the client with a password; encryption happens only when the encryption option on the panel is switched on and the client supports the security method the panel then offers. Sm@rtClient, the vendor's own remote client, handles that method. A generic third-party viewer often cannot, which is exactly when the warning appears on a panel that is otherwise working correctly. Work through the checks below, keep the panel's encryption active, and hold any third-party viewer to the 8-character password limit worked out at the end of this article.

What the warning does and does not say #

Authentication and encryption are separate functions. The Sm@rtServer password proves who may connect; it does not scramble anything that travels after the handshake. A session can pass the password check, display the correct screen and accept input while every packet is readable on the wire, and that is precisely the state the popup describes. The warning comes from the viewer's own security check on the negotiated session, so read it as a property of that connection, not as a fault report from the panel. Function proves nothing here: a session can behave perfectly and still not be what it seems, the same lesson as in why an HMI VNC session shows a black screen but input works, where input passes while the screen stays dark. Most viewers state the negotiated security type in their connection details; read that status instead of inferring it from the server settings alone.

Where the encryption setting lives #

On a Comfort Panel the Sm@rtServer configuration sits on the device itself, in the panel's Control Panel of the runtime: open "WinCC Runtime Advanced Internet", select the "Remote" tab and press "Change Settings". The "Server" tab of that dialog holds the server settings, including the encryption option and the password fields "Password 1" and "Password 2", saved with "Apply". This is the documented configuration path for Sm@rtServer remote control on panels and Comfort Panels.

The encryption option can be activated or deactivated. With it deactivated, the panel still authenticates clients with the password, but the session traffic afterwards is not encrypted, which is exactly what your viewer is reporting. With it activated, the panel offers or requires an encrypted method, and the outcome for any given client depends on which security types that client can speak. Before changing anything, record the panel image version from the device info pages and the current state of the setting; the details can differ between panel software versions, and the record tells you what the panel was actually doing when the warning appeared.

Why Sm@rtClient connects clean and another viewer warns #

Sm@rtClient, the PC application and the mobile app, is built against the security methods Sm@rtServer offers, so with encryption activated it negotiates an encrypted session and shows no warning. A third-party viewer usually implements the classic VNC security types; if it cannot perform the panel's encrypted handshake, it either fails outright or falls back to an older unencrypted method, and its own check then raises the warning. No switch on the panel can give a viewer a capability it does not have.

That makes the vendor client the reference test and, for routine remote control, the right default. Treat any third-party viewer as a separate compatibility decision, checked per viewer release against the panel's documentation. Before you standardize one viewer across the plant, settle the ports it needs and how the session will reach the panel: the guide to connecting to HMI VNC servers: ports, viewers and remote access works through that selection. When a third-party viewer must connect, the password also has to fit what classic VNC authentication can carry; the worked example below counts it.

The checks, in order #

Run these during a window where remote input cannot disturb the machine, and keep a local path to the panel open so a changed setting cannot lock you out.

  1. Record the panel image or runtime version from the device info pages, and the viewer product with its version number. Instructions and compatibility data follow the installed software, not the panel's model name.
  2. Capture the exact warning text and, where the viewer shows it, the negotiated security type in its connection details.
  3. Open the Sm@rtServer dialog described above and read the "Server" tab: note the encryption setting's current state and the lengths of "Password 1" and "Password 2". Change nothing yet.
  4. Close the old session, then connect fresh with Sm@rtClient. No warning there tells you the panel side is sound and the difference is the viewer.
  5. If Sm@rtClient also warns, activate the encryption option, press "Apply" and follow any restart or reconnect step the panel asks for, then open a new session and check it.
  6. For a third-party viewer you must keep, check that viewer release against the panel's documented security methods, and keep the Sm@rtServer password short enough for classic VNC authentication.
  7. If the session crosses an office network or an external link, carry it through an encrypted tunnel that ends on the trusted side. A tunnel and native session encryption protect different spans: the viewer can rightly still report the VNC leg as unencrypted while the tunnel protects the public part.
  8. Accept only a fresh session that the intended client reports as encrypted, or a clean refusal of a client that cannot meet the requirement, then apply the decisions below.

Worked example: the password Line3Shift against a third-party viewer #

The inputs for this check:

  • The Sm@rtServer password set on the panel: in this example Line3Shift, entered under "Password 1" in the Sm@rtServer dialog. The value is an example; use the real one from your own settings record.
  • The limit: classic VNC authentication derives its challenge-response key from the first 8 characters of the password, so a viewer limited to that method can authenticate with at most 8 characters. This is the limit third-party viewers hit against Sm@rtServer in the field.
  • The client: a third-party VNC viewer that implements only the classic security types, not the panel's encrypted handshake.

The rule in words: count the password's characters; if the count exceeds 8, a classic-only viewer can carry only the first 8 into the handshake, and authentication with the full password fails.

The arithmetic: Line3Shift counts L, i, n, e, 3, S, h, i, f, t, which is 10 characters. 10 is greater than 8, so the viewer can use only the first 8, which spell Line3Shi. The last two characters never enter the handshake.

The result: the viewer either refuses to authenticate or, on some viewers, connects on the truncated credential, so the effective password on that session is Line3Shi, weaker than the one you believed you had set.

The decision: when a classic-VNC-only viewer must connect, set the Sm@rtServer password to 8 characters or fewer and accept the smaller keyspace, or keep the longer password for Sm@rtClient sessions and drop the third-party viewer from operational use. Sm@rtClient uses the panel's own security handling rather than the classic VNC key, so the count does not limit it.

The decision for each case #

  • The warning appears with Sm@rtClient too: the session genuinely is unencrypted. Activate the encryption option in the "Server" tab, press "Apply", restart the session, and keep the panel off operational remote access until a fresh Sm@rtClient session connects without the warning.
  • Only the third-party viewer warns: the panel is configured correctly and the viewer negotiated an unencrypted classic method. Move routine remote control to Sm@rtClient, or verify that viewer release against the panel's documented security methods and mind the password limit from the worked example above.
  • The connection is refused after encryption is switched on: the client cannot meet the requirement the panel now enforces, so change the client, not the setting. The same shape, server requirement versus client capability, decides why a KTP900 Basic Sm@rtServer refuses remote client connections.
  • The session must cross an untrusted network: put it inside an encrypted tunnel that terminates on the trusted side, and expect the viewer to keep reporting the VNC leg itself; the tunnel is what protects the span between the sites.
  • Never resolve the popup by switching encryption off. That trades the warning away, not the exposure: one changed setting turns a flagged weakness into an unflagged one.

Questions asked

Does the unencrypted warning mean someone can read my session?

It means the session traffic is not encrypted in transit. Anyone positioned on the same network span, such as a tapped switch port, an untrusted wireless leg or the link between sites, could capture screen contents and keystrokes. On a closed and physically secured machine network the practical exposure is small; across an office network or any external link it is real. The remedy is the same either way: encrypt the session.

Why does the Sm@rtServer dialog ask for two passwords?

Password 1 and Password 2 belong to two access levels. Password 1 admits a client to remote control, with full input into the runtime; Password 2 admits a monitoring-only session that watches without operating. Assign different values and hand out only the level each group needs. Both fields are set in the same Sm@rtServer dialog and saved with Apply.

Can I deactivate encryption to make the popup go away?

Deactivating encryption silences the viewer by removing the protection, not by fixing anything: the same traffic then crosses the network readable, with no warning left to flag it. Treat the popup as the check that is working. Keep encryption active, use a client that supports it, and if a specific viewer cannot, keep that viewer off operational remote access.

Does the warning change anything for the operator standing at the panel?

No. Sm@rtServer mirrors the panel's runtime screen, so the local operator and the remote session see the same process images and alarms, and input from either side reaches the machine. The warning says nothing about tags, alarms or recipes; it describes only how the remote session's traffic is protected on the way across the network.

Keep reading

  • Troubleshooting

    Why WinCC DataMonitor Viewer RT reports unknown user or bad password

    When WinCC DataMonitor Viewer RT reports an unknown WinCC user or bad password, the credentials are usually fine. In a documented V7.2 case the cause was a missing start picture in the WinCC user's Web Options. Set the correct Basic Process Control web start picture, the MainControl.asp default page and the right group memberships.

    HMI and touchscreens

  • Troubleshooting

    Why Sm@rtServer Rejects Sm@rtClient on a WinCC Runtime PC

    Sm@rtServer is a VNC server that listens on TCP 5900, so a refused Sm@rtClient session has one of three causes: no VNC password is set, loopback connections from 127.0.0.1 are filtered, or another VNC server such as TightVNC owns port 5900. Identify the listener with netstat -ano | findstr :5900 first, then set the password in Runtime settings and restart the runtime.

    HMI and touchscreens

  • Selection guide

    Where WinCC Unified Runtime Can Run and Remote HMI Options

    The Unified runtime executes only on a PC, a Panel IPC, a Unified Comfort Panel or the MD-34 tablet; a browser or Sm@rtServer VNC client displays it and never replaces the host. With no PC in the cabinet, a Unified Comfort Panel is the host and the tablet browser is the client. If a safety function must travel with the operator, no Unified mobile panel exists and the design stays Comfort-based.

    HMI and touchscreens