In meiner Vagrant-Datei habe ich Folgendes hinzugefügt:
Code: Select all
config.ssh.forward_agent = 'true' config.ssh.forward_x11 = 'true'Ich habe sogar vcXsrv installiert und ausgeführt und versucht, die VM zu starten, während es läuft. Hat nicht funktioniert.
Ich bekomme immer noch:
Code: Select all
. . .
File "/usr/lib/python3.8/turtle.py", line 3679, in __init__
_Screen._root = self._root = _Root()
File "/usr/lib/python3.8/turtle.py", line 435, in __init__
TK.Tk.__init__(self)
File "/usr/lib/python3.8/tkinter/__init__.py", line 2270, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY [url=viewtopic.php?t=25360]environment[/url] variable
Code: Select all
. . .
File "/usr/lib/python3.8/turtle.py", line 435, in __init__
TK.Tk.__init__(self)
File "/usr/lib/python3.8/tkinter/__init__.py", line 2270, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "localhost:0.0"
Mobile version