What does the error: "Unable to acquire VNC Lock" when setting up an RDP connection mean?

When setting up an RDP session I sometimes get the following error:

Runtime Error at line 74: Connection Failed - Unable to acquire VNC Lock for Server:PFWRK2-CDC_SUP on port:3389

Anyone have some knowledge about what its trying to convey? or how to avoid it?

Hey Mitch,

with the limited amount of information its kind of impossible to help you. Kindly ask you to raise a support ticket for it. This will allow our support team to provide the help required. create support ticket

make sure to provide a bit more details like the ones below:

  • Are you using Eggplant Functional or DAI?
  • Which versions do you use?
  • Add the logfiles from %APPDATA$/Eggplant
  • Explain a bit more what you are doing. RDP connections can be established via DAI or via EPF.

In case you do have activated RDP beta that would explain that you do see a vnc message in an RDP connection but this is a shot in the blue.

Cheers,
Karsten

We are using EPF 22.5.

I do not know what RDP beta is. what should i know about it?

I didn’t see where to attach a file…

LogFile.txt error was:
2024-03-11 12:30:21.708 -0400 LogError Unable to connect to PFWRK2-CDC_SUP/PFWRK2-CDC_SUP: Runtime Error at line 74: Connection Failed - Unable to acquire VNC Lock for Server:PFWRK2-CDC_SUP on port:3389\n [“Object <24c67e28>:admacsSession.script:use:76”,“No Source Information Available.”] 4 on_error Object <28d75118>

AppData Log from around that time is:
time=“2024-03-11T12:29:23-04:00” level=error msg=“-[RdpConnection processRemoteEvent]:errorInfo: 0 disconnect: 1” Sub Component=EPF
time=“2024-03-11T12:29:23-04:00” level=info msg=“Disconnected succesfully.” Sub Component=EPF
time=“2024-03-11T12:29:23-04:00” level=info msg=“CLOSED RDP connection to : PFWRK2-ACHO” Sub Component=EPF
time=“2024-03-11T12:30:30-04:00” level=error msg=“-[RdpConnection processRemoteEvent]:errorInfo: 12 disconnect: 1” Sub Component=EPF
time=“2024-03-11T12:30:30-04:00” level=info msg=“Failed to check FreeRDP file descriptor, attempting to reconnect.” Sub Component=EPF
time=“2024-03-11T12:30:30-04:00” level=info msg=“CLOSED RDP connection to : CAWRK1-CCA_SUP” Sub Component=EPF
time=“2024-03-11T12:30:30-04:00” level=info msg=“CLOSED RDP connection to : CAWRK1-CCA_SUP” Sub Component=EPF
time=“2024-03-11T12:30:33-04:00” level=debug msg=“unable to acquire vncConnectionLock with condition FINISHED after 4.000000 seconds, trying AVAILABLE” Sub Component=EPF
time=“2024-03-11T12:30:33-04:00” level=debug msg=“acquired vncConnectionLock with condition AVAILABLE” Sub Component=EPF
time=“2024-03-11T12:30:59-04:00” level=info msg=“OPENED RDP connection to : CAWRK1-CDC_SUP” Sub Component=EPF
time=“2024-03-11T12:31:38-04:00” level=warning msg=“Load Document Failed - Nothing at Location: Z:/testProject/node/admacs-sta/Object <1bcc8438>” Sub Component=EPF
time=“2024-03-11T12:31:38-04:00” level=warning msg=“Load Document Failed - Nothing at Location: Z:/testProject/node/admacs-sta/Object <1bcc8438>” Sub Component=EPF
time=“2024-03-11T12:32:01-04:00” level=warning msg=“Load Document Failed - Nothing at Location: Z:/testProject/node/admacs-sta/Object <1bcc8438>” Sub Component=EPF
time=“2024-03-11T12:32:21-04:00” level=info msg=“OPENED RDP connection to : PFWRK2-CCA_SUP” Sub Component=EPF

Top of AppData log is:
time=“2024-03-11T11:45:51-04:00” level=info msg=“Current Logger level: debug[]”
time=“2024-03-11T11:45:51-04:00” level=info msg=“Eggplant is 22.5.0-Windows-64, build (202304070406), commit (1cc6ca61), on Windows 6.2.9200 ICU version 62.1” Sub Component=EPF
time=“2024-03-11T11:46:02-04:00” level=info msg=“Load C:\Program Files\Eggplant\Eggplant.app\Resources\ABBYY\Bin\FREngine.dll” Sub Component=OCR
time=“2024-03-11T11:46:02-04:00” level=info msg=“Successfully loaded FREngine.dll” Sub Component=OCR
time=“2024-03-11T11:46:02-04:00” level=info msg=“OCR-enabled-unlimited usage” Sub Component=OCR