openssh

tkinter.TclError: no display name and no $DISPLAY environment variable python

tkinter.TclError: no display name and no $DISPLAY environment variable python Question: I want to execute my python file in a remote system using ssh. I exported the file to the remote system. Here’s the sample file: import os import time import pymsgbox pymsgbox.alert(‘Hi Afreeth ‘, ‘Welcome’) if ‘DISPLAY’ not in os.environ: pass I want to …

Total answers: 2