Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Remote session XDCMP

2010-06-04
2013-05-28
  • diego.raschi
    diego.raschi
    2010-06-04

    When i launch the script on remote session xdcmp I get this error.

    root@srv:~/Scrivania/pykeylogger-1.0.5# python keylogger.pyw
    Traceback (most recent call last):
      File "keylogger.pyw", line 400, in <module>
        kl = KeyLogger()
      File "keylogger.pyw", line 74, in __init__
        self.q_imagewriter)
      File "/root/Scrivania/pykeylogger-1.0.5/imagecapture.py", line 65, in __init__
        self.local_dpy = display.Display()
      File "/usr/lib/pymodules/python2.6/Xlib/display.py", line 83, in __init__
        self.display = _BaseDisplay(display)
      File "/usr/lib/pymodules/python2.6/Xlib/display.py", line 65, in __init__
        apply(protocol.display.Display.__init__, (self, ) + args, keys)
      File "/usr/lib/pymodules/python2.6/Xlib/protocol/display.py", line 44, in __init__
        name, host, displayno, screenno = connect.get_display(display)
      File "/usr/lib/pymodules/python2.6/Xlib/support/connect.py", line 65, in get_display
        return mod.get_display(display)
      File "/usr/lib/pymodules/python2.6/Xlib/support/unix_connect.py", line 59, in get_display
        raise error.DisplayNameError(display)
    Xlib.error.DisplayNameError: Bad display name "::ffff:192.168.2.27:0.0"

     
  • diego.raschi
    diego.raschi
    2010-06-04

    I close thi thread and I opened on help..