Started crashing on startup after system update
See original GitHub issueDescribe the bug streamdeck-ui crashes on startup. I don’t think this is due to a change in streamdeck-ui itself, but possibly pynput, Gnome, or Wayland. But I figured I’d start here and work my way down the chain. It used to work, but stopped in the last few days.
I checked my pacman log, the only relevant python/gnome/wayland/streamdeck packages updated within the past few days were gnome-shell
(1:43.1-1 -> 1:43.1-2) and python-elgato-streamdeck
(0.9.1-1 to 0.9.3-1).
To Reproduce Steps to reproduce the behavior:
- Run
streamdeck
from terminal - Review console output
- See error
Expected behavior Application runs
Screenshots Error log:
$ streamdeck Mon 14 Nov 2022 11:12:24 AM CST
Traceback (most recent call last):
File "/usr/sbin/streamdeck", line 5, in <module>
from streamdeck_ui.gui import start
File "/usr/lib/python3.10/site-packages/streamdeck_ui/gui.py", line 11, in <module>
from pynput import keyboard
File "/usr/lib/python3.10/site-packages/pynput/__init__.py", line 40, in <module>
from . import keyboard
File "/usr/lib/python3.10/site-packages/pynput/keyboard/__init__.py", line 31, in <module>
backend = backend(__name__)
File "/usr/lib/python3.10/site-packages/pynput/_util/__init__.py", line 76, in backend
raise ImportError('this platform is not supported: {}'.format(
ImportError: this platform is not supported: ('failed to acquire X connection: Can\'t connect to display ":0": b\'Authorization required, but no authorization protocol specified\\n\'', DisplayConnectionError(':0', b'Authorization required, but no authorization protocol specified\n'))
Try one of the following resolutions:
* Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly
Operating system (please complete the following information)
- OS: Latest Arch Linux
- Desktop environment: Gnome 43.1 Wayland
- Python version: Python 3.10
Stream Deck Version
- Standard
Issue Analytics
- State:
- Created 10 months ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Solved: Windows 10 Crashes on Startup
Part 2. How to Fix Windows 10 Crashed on Startup? · Method 1. Cleaning Dust · Method 2. Stop Fast Startup · Method...
Read more >Windows 11 Crashing on Startup after Windows Update ...
The error is caused by lack of permissions. You can take ownership of the files and folders using this handy right click shortcut...
Read more >[FIXED] Windows 10 Crashing Issues | 2022 - Driver Easy
7 Fixes for Windows 10 Crashing Issues · Update available drivers · Turn off Link State Power Management · Scan and repair system...
Read more >Windows 11 Keeps Crashing: 11 Fixes - groovyPost
1. Basic Troubleshooting Fixes When Windows 11 Keeps Crashing · 2. Check for Updates · 3. Check System Memory (RAM) · 4. Update...
Read more >Why does My PC Keep Crashing? Here're 10 Fast Fixes!
Fix 1: Reboot Computer · Fix 2: Make Sure CPU Works Properly · Fix 3: Check the Hardware Connection · Fix 4: Boot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi there, circling back on this as we haven’t had any recognition from the dev staff yet for this xorg bug.
A workaround for those landing here from Google:
$ xhost +
$ streamdeck
This will allow the app to launch however I think this is somewhat of a workaround and not a proper fix. Any assistance from the dev team would be appreciated. Thanks!
Hi, I’m the package maintainer of streamdeck-ui on Arch and I can confirm that a 100% fresh build with Gnome 43 produces this bug. I’m happy to provide testing resources as well as providing any detailed troubleshooting that might be required.