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

Crash on startup saying "Unsupported extension used" #399

Open
tpwrules opened this issue May 24, 2024 · 0 comments
Open

Crash on startup saying "Unsupported extension used" #399

tpwrules opened this issue May 24, 2024 · 0 comments

Comments

@tpwrules
Copy link

Ran into this error upgrading my system to lxqt-powermanagement 1.4.0.

$ lxqt-powermanagement
BatteryChanged discharging: false chargeLevel: 100 actionTime: QTime(Invalid)
Inhibit got: 34
Starting idlenesswatcher
The X11 connection broke: Unsupported extension used (code 2)
XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
      after 311 requests (311 known processed) with 0 events remaining. 

This ended up being due to the following text in my X11 config file:

    Section "Extensions"
      Option      "DPMS" "Disable"
    EndSection
    Section "ServerFlags"
      Option "BlankTime" "0"
    EndSection

This was originally added to address the issue now solved by #374 . However, this method of disabling DPMS causes the invocation to attempt to set its timeout to crash.

This issue has two purposes:

  1. In case anybody has this same problem, they can find the fix.
  2. To ask if there's a way to check for the extension before attempting to set the timeout to avoid a crash. Not sure if there are circumstances where DPMS can be disabled without the user doing it deliberately.
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