Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62872

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.036
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'mostly': 0.14; 'fails.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ssh,': 0.16; 'subject:Tkinter': 0.16; 'sudo': 0.16; 'wrote:': 0.18; 'machine': 0.22; 'example': 0.22; 'cc:addr:python.org': 0.22; 'subject:problem': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'on,': 0.29; 'am,': 0.29; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; 'work.': 0.31; 'usually': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'know.': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'remote': 0.38; 'that,': 0.38; 'how': 0.40; 'love': 0.65; '30,': 0.65; 'subject:couldn': 0.84; 'to:none': 0.92; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=KqiEWmTtdIxuktc6VqJ2YrIwxkOy6E8ORadgfrLFA2o=; b=gz0CvOujQsdCP32yJpiqxkxDNbDzUg25ov+YVn8TGeV+D1LEY+xUFD5ZpdUpK6gTQt PAN5IrVRuJnldJl8pujCU8+Jkdq8yQxv/hgARUOvVc13wcDItCqbS4cG898SaZUfT+Ks w5py9RCRcD+jr80OSi7MsWtdFkSaYXbrRxnAsMHSai4pyKMXeRQ5LMjFU88sPKenNG2+ TGhHT+JuF13rj0iG3K7BeFPRCtgro56CnDOFSimgLvEiCM4xmlv4WLVANo360uYkne16 zCiEUUlZl5yQMj3gn86aFlBI6xVD8KeLwwwiEK866i3CsBLzUb958j/dgZC4it1RG6oj TyDQ==
MIME-Version 1.0
X-Received by 10.68.196.193 with SMTP id io1mr65415938pbc.46.1388359811821; Sun, 29 Dec 2013 15:30:11 -0800 (PST)
In-Reply-To <52c0aed1$0$29981$c3e8da3$5496439d@news.astraweb.com>
References <b6e02836-6f08-4e9f-bd55-201c22ff42b3@googlegroups.com> <52c0aed1$0$29981$c3e8da3$5496439d@news.astraweb.com>
Date Mon, 30 Dec 2013 10:30:11 +1100
Subject Re: Tkinter problem: TclError> couldn't connect to display ":0
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4709.1388359820.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1388359820 news.xs4all.nl 2916 [2001:888:2000:d::a6]:55033
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62872

Show key headers only | View raw


On Mon, Dec 30, 2013 at 10:22 AM, Steven D'Aprano
<steve+comp.lang.python@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Tkinter problem: TclError> couldn't connect to display ":0 Michael Matveev <mischamv@googlemail.com> - 2013-12-29 12:20 -0800
  Re: Tkinter problem: TclError> couldn't connect to display ":0 Chris Angelico <rosuav@gmail.com> - 2013-12-30 08:40 +1100
  Re: Tkinter problem: TclError> couldn't connect to display ":0 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-30 10:22 +1100
    Re: Tkinter problem: TclError> couldn't connect to display ":0 Chris Angelico <rosuav@gmail.com> - 2013-12-30 10:30 +1100
      Re: Tkinter problem: TclError> couldn't connect to display ":0 Steven D'Aprano <steve@pearwood.info> - 2013-12-30 03:29 +0000
        Re: Tkinter problem: TclError> couldn't connect to display ":0 Chris Angelico <rosuav@gmail.com> - 2013-12-30 15:11 +1100
        Re: Tkinter problem: TclError> couldn't connect to display ":0 Jason Swails <jason.swails@gmail.com> - 2013-12-30 00:59 -0500

csiph-web