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

Chris Angelico rosuav at gmail.com
Sun Dec 29 18:30:11 EST 2013


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.
But there are potential issues with .Xauthority, which is why the sudo
example fails.

ChrisA



More information about the Python-list mailing list