-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad Display Name #26
Comments
Based on this message it looks like the error is coming from your XLib module and not pyxhook? |
I'm with the same problem... |
What version of xlib are you folks using and on what platform? |
python3-xlib 0.20-3 |
How should this problem be solved? |
I am currently experiencing the same problem myself. On (manjaro) linux my program runs fine but if its on windows this error is thrown |
I can't get this running. ive used pip to install the pyxhook module and tried using both python 2.7 and 3.6.5.
Traceback (most recent call last):
File "keylog.py", line 25, in
hookman = pyxhook.HookManager()
File "/usr/local/lib/python3.6/site-packages/pyxhook/pyxhook.py", line 67, in init
self.local_dpy = display.Display()
File "/usr/local/lib/python3.6/site-packages/Xlib/display.py", line 89, in init
self.display = _BaseDisplay(display)
File "/usr/local/lib/python3.6/site-packages/Xlib/display.py", line 71, in init
protocol_display.Display.init(self, *args, **keys)
File "/usr/local/lib/python3.6/site-packages/Xlib/protocol/display.py", line 85, in init
name, protocol, host, displayno, screenno = connect.get_display(display)
File "/usr/local/lib/python3.6/site-packages/Xlib/support/connect.py", line 73, in get_display
return mod.get_display(display)
File "/usr/local/lib/python3.6/site-packages/Xlib/support/unix_connect.py", line 61, in get_display
raise error.DisplayNameError(display)
Xlib.error.DisplayNameError: Bad display name ""
Can someone help me with this please
The text was updated successfully, but these errors were encountered: