X11

Discussion in 'UDOO NEO' started by Narzhan, Mar 22, 2016.

  1. Narzhan

    Narzhan New Member

    Joined:
    Dec 8, 2015
    Messages:
    9
    Likes Received:
    0
    Hi, I have a project which runs some drawing code at backend using an excellent python module graphics.py. However I ran into some troubles when I started to run it on Udoo when I was connected using ssh. I am using Putty to connect to Udoo. I googled a bit and I found out about X11 forwarding, which should fix the issue, but sadly it didn't. I got an error message (at the bottom of the post). I checked whether X11 is enabled in /etc/ssh/sshd_config and it indeed was. Has anyone tried X11 on Udoo and if so were you successfull?
    Error:
    X11 connection rejected because of wrong authentication.
    X11 connection rejected because of wrong authentication.
    Traceback (most recent call last):
    File "Prism.py", line 12, in <module>
    from graphics import *
    File "/home/udooer/graphics.py", line 176, in <module>
    _root = tk.Tk()
    File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1767, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
    _tkinter.TclError: couldn't connect to display "localhost:10.0"
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240

Share This Page