Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the context provided, here are some steps you can take to troubleshoot and potentially resolve the VNC connection issue:
-
Verify VNC Server Status: Ensure that the VNC server is actively running on your Colibri iMX8QXP board. You can check the service status and logs for any errors that might indicate why the connection is refused.
-
Check
ENABLE_VNC
Configuration: You’ve mentioned that theENABLE_VNC
environment variable is set to 1, which is correct. Double-check that this variable is correctly set in yourdocker-compose.yml
and that the Weston service is restarted after any changes. -
Review
weston.ini
Configuration: Yourweston.ini
file includes the necessarymodules=screen-share.so
line, which is required for VNC functionality. Ensure there are no typos or misconfigurations in this file. -
Network and Proxy Settings: Since you are behind a proxy, verify that your proxy settings allow VNC traffic. Proxies can block certain ports or protocols, which may lead to connection issues. You may need to configure your VNC viewer to work with the proxy settings.
-
Firewall Settings: Check the firewall settings on both your Windows 10 machine and the Colibri board to ensure that VNC traffic is allowed. The default VNC port is usually 5900, and it should be open for incoming connections.
-
Port Accessibility: Use commands like
netstat
on your Colibri board to check if the VNC server is listening on the expected port (usually 5900). This will help confirm that the server is set up correctly to accept connections. -
Review Recent Changes: Since you were able to connect previously, consider any recent changes to your network configuration, firewall settings, or updates to the VNC software that may have affected connectivity.
-
Check Logs: Review the logs of the VNC server or the Weston service for any error messages that could provide more insight into why the connection is being refused.
By following these steps, you should be able to identify and resolve the issue preventing your VNC connection. If the problem persists, consider reaching out for further assistance with specific error messages or configurations.
Please, also check if these links can help you solve your problem: