IMDTouchKnowledge BaseShop main store

Troubleshooting

Why an HMI VNC Session Shows a Black Screen but Input Works

HMI and touchscreens Published 7 min read

Short answer

When a VNC session to an HMI authenticates, stays black, and clicks at known button positions still actuate the physical panel, the remote-control path is healthy and only the framebuffer-update path is failing. Compare the local screen, confirm authentication, run one observed input test, then take the display-delivery branch: check the access route and client, and get the panel firmware or engineering-software revision that restores screen delivery. Leave tags, drivers and cabling alone.

On this page
  1. Read the physical panel before you touch the viewer
  2. What a black image with working input proves
  3. The isolation sequence
  4. Keep the connection branch out of this fault
  5. What a second client and the vendor's own tool tell you
  6. The fix that matches this branch: revision and update
  7. A worked isolation record
  8. The decision for each case
  9. Questions asked

An authenticated VNC session that stays black while clicks at known button positions still actuate the physical panel is not a connection fault. The session, the password check and the input path all work; only the screen-update path is failing. That points the fix at display delivery — the panel's firmware or software revision, the client route, and what the VNC server actually serves — and away from tags, drivers and cabling. The checks below prove which branch you are in, and each section ends with the decision for that branch.

Read the physical panel before you touch the viewer #

One observation splits this fault from every other black screen: what does the physical panel show while the viewer is black? If the panel renders its normal screens and the remote image is black, the application is alive locally and the fault sits in remote image delivery. If the panel itself is black or frozen, you are dealing with a local display or runtime failure, and Why an HMI Shows a Black Screen While the PLC Keeps Running covers that branch. The reverse symptom — a local screen that stays blank while remote pages render — is a different layer again, described in Why a Local HMI Screen Stays Blank While Remote Pages Work. Record what the panel shows before you open the project or power-cycle anything, because that record decides the branch.

What a black image with working input proves #

VNC runs the RFB protocol. Keyboard and pointer events travel from the viewer to the panel, and framebuffer updates travel back, as separate messages on the same session. A panel that fails to capture its screen or send usable picture data still receives and applies input events, which is exactly the reported behavior: a click at the position of a real button actuates that button while the client area stays black. That one observation verifies the session, the authentication and the input channel in a single step.

Two cautions keep the conclusion honest. A pointer the viewer draws is local to the client, so a moving cursor proves far less than an observed action on the physical panel. And blind operation is off-limits: put the machine in a safe state or have someone watch the panel before any input test, because a click on an unseen screen can actuate any control on the active page.

The isolation sequence #

  1. Read the physical panel and record what it shows: normal screens, black, frozen, or wrong values.
  2. Connect from the viewer and record the authentication result: accepted, password rejected, or no answer.
  3. Record how the session behaves: connected with a black image, disconnected after sign-in, or timing out. Repeat once with a second, independent standard viewer and record that result separately.
  4. Run one input test on a navigation control, with an observer at the panel or the machine in a safe state, and record whether the physical panel responds.
  5. Compare one changing value on the panel against the controller using your normal commissioning tools, to confirm the tags and the driver are healthy.
  6. Record the panel serial number, the production batch if it is marked, and the engineering-software and panel firmware revisions. The vendor will ask for exactly these when the fault lands on the update branch.

Keep the connection branch out of this fault #

A password rejection or a timeout is a different fault with a different decision tree: remote access not enabled on the panel, the viewer cannot reach the panel, a routing or port problem, or wrong credentials. Why HMI Remote Access Fails While PLC Access Still Works walks that branch. The fault in this article is narrower: authentication succeeds, the session stays connected, the image stays black, and input still actuates controls. If you cannot authenticate, fix access first; an authenticated black session is the only entry point to the sections below.

What a second client and the vendor's own tool tell you #

In the reported case, two different standard viewers both showed a black image on the affected panel, so swapping viewers was never going to fix it — when two independent clients agree, the fault is on the panel side. Client choice still matters across a panel family: in the same reports, browser-based access displayed correctly on one model, while on other revisions a standard viewer worked and the vendor's own remote-view client timed out with and without a password. Those are reported results from one installation family, not a client matrix, but they justify one rule: test each access route once, record the result per device, and use whichever route displays for diagnosis. Clients are not interchangeable either — Why an HMI VNC Client May Not Connect to a Third-Party VNC Server explains why. And before you conclude the image is broken, confirm what the panel's VNC server serves in the first place: some panels run the remote session as a separate display rather than a mirror of the local screen, as the page on a VNC remote session without a local screen mirror documents.

The fix that matches this branch: revision and update #

In the reported case the vendor traced the symptom to the production batch and the bootloader on the affected devices, and the fix arrived as an automatic update of the engineering software to a later revision, which carried the panel-side change; screen delivery through VNC resumed after that update, and a regular release followed within weeks. The decision is therefore not a project edit: keep the tags, the driver and the cabling as they are, take the serial number, batch and current revisions to the HMI vendor, and install the revision they name for your batch through their official update channel. Verify the restored image on a bench or with an observer before the panel returns to live operation. One bench detail from the same report: after that update the panel language can come back set to Chinese, and it is switched back in the panel's system settings.

A worked isolation record #

Example with illustrative timestamps, to show what a clean record looks like. The viewer reports the session connected at 14:05:00, the panel accepts the password at 14:05:02, a click at the lower-left button position actuates that button on the physical panel at 14:05:07, and a capture at the engineering station shows no framebuffer updates arriving between 14:05:02 and 14:06:02. The arithmetic reads 14:06:02 − 14:05:02 = 60 s of authenticated connection with zero picture data, and 14:05:07 − 14:05:02 = 5 s from acceptance to a working input event. That record isolates the failure to the screen-update path by elimination: the session lives, the input channel works, the runtime renders locally, and only image delivery is missing.

The decision for each case #

Three yes/no checks — the physical panel renders normally, the session authenticates, and one input event actuates on the physical panel — give 2 × 2 × 2 = 8 combinations. When authentication fails the input check cannot run, so the eight combinations collapse into the six decisions below.

Physical panel Authentication Input test Decision
Normal Accepted Actuates The fault in this article: panel-side screen delivery. Get the vendor revision that restores VNC image delivery for your batch; change nothing in the project.
Normal Accepted No response Input path fault: check the session control mode, such as a view-only setting, and the client before blaming the panel.
Normal Rejected or timeout Not testable Access fault: enable remote access, then check reachability, routing and credentials.
Black or frozen Accepted Actuates Local display fault with a healthy session: treat it as a local screen failure, not a VNC fault.
Black or frozen Accepted No response Panel runtime or service fault: investigate the panel itself before remote access.
Black or frozen Rejected or timeout Not testable Panel or network down: power and reachability first.

If your record matches the first row — normal local screens, an authenticated session, a black remote image and input that actuates — you have a revision and update problem, not a project problem, and the vendor's update is the fix.

Questions asked

Does a black VNC image mean the HMI runtime has stopped?

No. If the physical panel still shows its normal screens and a click through the black image actuates a button on the panel, the runtime is running and the session is alive. The failure is confined to the messages that carry picture updates to the viewer, so treat it as a screen-delivery fault rather than a crashed terminal, and keep the session record for the vendor.

Why does the mouse pointer move if no image is arriving?

Many viewers draw the pointer locally, so a moving cursor proves the client is alive, not that the panel is sending picture data. The stronger evidence is an observed action on the physical panel: a click at a known position actuates a real button while the image stays black. That combination isolates the fault to the framebuffer-update path before you open the project.

Should I try another VNC viewer before calling the vendor?

One test with a second, independent standard viewer is worth it. If two different viewers both show a black image while input still works, viewer choice is not the cause. Record both results together with the panel serial number, the production batch if marked, and the engineering-software and panel firmware revisions, and take that package to the HMI vendor.

Can I keep running the machine through the black session?

No. A black remote image gives no confirmation of what the screen shows, and a click can actuate any control on the active page. Have someone watch the physical panel, move the machine to a safe state first, or wait until screen delivery is restored before operating anything through the remote session.

Can a software update really fix a black VNC image?

Yes, in the reported case it did. The vendor tied the symptom to the production batch and the bootloader on the affected devices, and the fix arrived as an automatic update of the engineering software to a later revision, which updated the panel so screen delivery resumed. After that update the panel language can come back set to Chinese; change it back in the panel's system settings.

Keep reading

  • Troubleshooting

    Why the USB Tethering Status Word Stays at 0 on an HMI

    Check LW-11381, the USB tethering status word — 0 no device, 1 disconnected, 2 connected, 3 fail, 4 OS not supported, 5 HMI not supported — instead of LW-11379, which proves nothing. When LW-11381 reads 1, write 1 to LW-11380 to start the connection; write 0 to stop. A dongle shown as compatible in EasyBuilder Pro can still fail on a different hardware or firmware revision, so prove each unit and revision.

    HMI and touchscreens

  • How-to

    Which TCP ports to forward for remote Weintek HMI access

    On a standard Weintek panel, forward only the service you need: TCP 20248 for EasyBuilder downloads, 5900 for VNC, 21 for FTP, 8000 for HMI communication and 2000 for pass-through. A cMT-SVR instead needs TCP 80, 8000, 10763 and UDP 10275. Port 8000 is not pass-through, and no rule works until the cellular WAN address is genuinely reachable inbound.

    HMI and touchscreens

  • Troubleshooting

    Downloading a Vijeo Designer Project to a Remote HMI Over VPN

    The greyed-out NAT fields are not the blocker: they only activate for a target and download method that supports address translation. When a VPN already routes your PC into the remote LAN, leave them alone, download straight to the panel's private address, and give the HMI a default gateway so its replies can leave the subnet.

    HMI and touchscreens