Skip to content
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

Problem with KlipperScreen #24

Open
zdzihu opened this issue Aug 4, 2024 · 0 comments
Open

Problem with KlipperScreen #24

zdzihu opened this issue Aug 4, 2024 · 0 comments

Comments

@zdzihu
Copy link

zdzihu commented Aug 4, 2024

Hi, I followed the tutorial and installed everything without any errors. However after final phone restart the KlipperScreen isn't working. XSDL starts and shows error: "Error: X server failed to initialize. Try to use different display.".

I have tested this with 1 smartphone Android 6.0.1 and Tablet Android 7.1.1, with both Debian "Oldstable" and Ubuntu Focal - same problem. Thank you in advance for help.

KlipperScreen.log:

2024-08-04 09:00:00,839 [functions.py:log_start()] - --------------------KlipperScreen Log Start--------------------
2024-08-04 09:00:00,840 [functions.py:log_start()] - KlipperScreen Version: v0.4.3-47-gc1035fed
2024-08-04 09:00:00,840 [functions.py:log_start()] - Python version: 3.8
2024-08-04 09:00:00,869 [screen.py:__init__()] - Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.

Traceback (most recent call last):
  File "/home/print3D/KlipperScreen/screen.py", line 81, in __init__
    super().__init__(title="KlipperScreen")
  File "/home/print3D/.KlipperScreen-env/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 508, in __init__
    raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
Traceback (most recent call last):
  File "/home/print3D/KlipperScreen/screen.py", line 81, in __init__
    super().__init__(title="KlipperScreen")
  File "/home/print3D/.KlipperScreen-env/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 508, in __init__
    raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant