Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
401 Discussions

EII connect TLS Remote Agent have json error message

Tconnell
Novice
875 Views

Hi Intel,

 

I want to try EII connect TLS by remote agent.

But it have error message, include SecMode and DevMode.

 

error message:

2021-08-29 18:30:04,228 : INFO : Insecure Mode : root : [util.py] :validate_json : in line : [111] : JSON schema validation passed !
No protocol specified
No protocol specified
Traceback (most recent call last):
File "tls_remote_agent.py", line 644, in <module>
main()
File "tls_remote_agent.py", line 570, in main
window = Tk()
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"

 

 

 

BTW:

EII default is run PCB demo, so when I deploy model from TLS

TLS-View(inference) is run "./test_video/pcb_d2000.avi" ,correct?

So I need to change video/image path, correct?

 

Labels (1)
0 Kudos
1 Solution
JesusE_Intel
Moderator
851 Views

Hi Tconnell,


From the error: couldn't connect to display ":0"


It looks like the application cannot open display 0. Could you confirm your display number by running who command in your terminal? Once identified, update the DISPLAY variable accordingly.


Take a look at this discussion as well:

https://community.intel.com/t5/Intel-Edge-Software-Hub/xhost-doesn-t-work/m-p/1196271/highlight/true


Regards,

Jesus


View solution in original post

0 Kudos
2 Replies
JesusE_Intel
Moderator
852 Views

Hi Tconnell,


From the error: couldn't connect to display ":0"


It looks like the application cannot open display 0. Could you confirm your display number by running who command in your terminal? Once identified, update the DISPLAY variable accordingly.


Take a look at this discussion as well:

https://community.intel.com/t5/Intel-Edge-Software-Hub/xhost-doesn-t-work/m-p/1196271/highlight/true


Regards,

Jesus


0 Kudos
JesusE_Intel
Moderator
804 Views

If you need any additional information, please submit a new question as this thread will no longer be monitored.


0 Kudos
Reply