Tkinter problem: TclError> couldn't connect to display ":0

Steven D'Aprano steve at pearwood.info
Sun Dec 29 22:29:28 EST 2013


On Mon, 30 Dec 2013 10:30:11 +1100, Chris Angelico wrote:

> On Mon, Dec 30, 2013 at 10:22 AM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>> So you need to X-forward from the remote machine to the machine you are
>> physically on, or perhaps it's the other way (X is really weird). I
>> have no idea how to do that, but would love to know.
> 
> With SSH, that's usually just "ssh -X target", and it'll mostly work.

Holy cow, it works! Sloooooooowly, but works.


steve at runes:~$ ssh -X ando.pearwood.info
steve at ando.pearwood.info's password: 
Last login: Mon Dec 30 10:10:13 2013 from orac
[steve at ando ~]$ python2.7 test.py 
[steve at ando ~]$ 


-- 
Steven



More information about the Python-list mailing list