Graphics display using remote interpreter

Answered

I've seen where X-11 forwarding is a desired feature but not added yet. However is it even possible to have a graphics application (Tkinter/ QT) run by the remote interpreter and display on the remote machine (to be viewed through VNC)? When run natively on the remote they work fine but when run with the remote interpreter I get:

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

Pycharm is on windows 10 and remote is Raspberry pi running raspberrian linux.

1
2 comments

Please try to set $DISPLAY environment variable in your run configuration and also check https://youtrack.jetbrains.com/issue/PY-27511.

0
Avatar
Permanently deleted user

I added a environment variable "DISPLAY=localhost:10.0" in settings>console>Python Console and received the same error.

0

Please sign in to leave a comment.