Article ID: 000087578 Content Type: Error Messages Last Reviewed: 12/12/2024

Error: "Couldn’t Connect to Display ':0'" When Connecting to Training and Learnings Suite (TLS) Remote Agent

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Quick steps to fix 'couldn't connect to display ":0"' error message with Intel Edge Insights for Industrial.

Description
  • Installed Intel Edge Insights for Industrial
  • Attempted to connect to TLS Remote Agent and ran into the following error

File "/usr/lib/python3.6/tkinter/__init__.py", line 2023, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0"

Resolution

The application was unable to connect to display 0.

  1. Verify the display name by running the who command in your terminal
  2. Update the DISPLAY variable
    • export DISPLAY=":0"
  3. Disable access control
    • xhost +

Related Products

This article applies to 1 products