title: tkinter through VNC without physical display
body: <p>My setup is:</p>
  
  <ul>
  <li>a Raspberry Pi, running the latest Raspbian (fully updated), a self-compiled Python 3.3.3</li>
  <li>a Mac running Mavericks (10.9)</li>
  </ul>
  
  <p>I'm AFP-ed, SSH-ed and VNC-ed to my RPi, and I can run all the command-line scripts I wrote, and also I can open any installed GUI applications, however, when I want to run a tkinter-based GUI app, to control some hardwares connected to the GPIO, I'm having this error message:</p>
  
  <p><img src="https://i.stack.imgur.com/oNPZk.png" alt="enter image description here"></p>
  
  <pre><code>Client is not authorized to connect to ServerTraceback (most recent call last):
      ...
  _tkinter.TclError: couldn't connect to display ":1"
  </code></pre>
  
  <p>My guess is, that this is related to the fact, that there is no physical display attached to the RPi, although I don't know how to solve this situation.</p>
  
  <p>Thanks in advance!</p>