If you run "printenv" do you have a display in there ? Or "echo $DISPLAY".
Chad Woitas | Automation Developer [cid:image001.png@01D7F7D7.6E1AFA10] RMD Engineering Inc.<http://www.rmd-engineering.com/> | Saskatoon Machine Works Ltd.<http://www.smw.sk.ca/> | Scientific Instrumentation Ltd.<http://www.sil.sk.ca/> Facility Offices | #1 Cory Place | East Cory Industrial Park | Saskatoon | Saskatchewan | S7K 3J7 Mailing Address | P.O. Box 26096 | Saskatoon | Saskatchewan | S7K 8C1 Direct Line: 306-934-8791 | RMD Office: 306-934-7637 | Fax: 306-652-7633 The information contained in this message is confidential or protected by law. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorized copying of this message or unauthorized distribution of the information contained herein is prohibited. ________________________________ From: Thomas J Powderly <tjt...@gmail.com> Sent: Sunday, November 19, 2023 1:12:03 AM To: emc-developers@lists.sourceforge.net <emc-developers@lists.sourceforge.net> Subject: [Emc-developers] noobie reuntest display err Hello I have problems writing tests for my code. LINUXCNC - 2.10.0~pre0 I created in my RIP dir ripdir/tests/pyvcpbar and files test.hal pbar01.xnl expected and quick tested with cd ripdir/tests/pyvcpbar halrun -I -f test.hal or halrun -f test.hal those run fine the terminal showed tomp@ThaiTowerD10:~/linuxcnc-barwidgets/tests/pyvcp-bar$ halrun -f test.hal Note: Using POSIX realtime Note: Using POSIX realtime tomp@ThaiTowerD10: but cd ../.. to root of rip then run auto tests limited to new dir tomp@ThaiTowerD10:~/linuxcnc-barwidgets$ scripts/runtests -v tests/pyvcp-bar Running test: tests/pyvcp-bar Traceback (most recent call last): File "/home/tomp/linuxcnc-barwidgets/bin/pyvcp", line 101, in <module> main() File "/home/tomp/linuxcnc-barwidgets/bin/pyvcp", line 83, in main pyvcp0 = Tk() File "/usr/lib/python3.7/tkinter/__init__.py", line 2023, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable test.hal:6: waitpid failed pyvcp pbar01 test.hal:6: pyvcp exited without becoming ready Note: Using POSIX realtime *** tests/pyvcp-bar: XFAIL: test run exited with 1 Runtest: 1 tests run, 0 successful, 1 failed + 0 expected, 0 skipped Failed: tests/pyvcp-bar Why "no display name and no $DISPLAY ?" Why an error if it ran halrun -f test.hal ? thanks tomp _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers