Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

hyprland doesn't clean up its Wayland sockets after exit

Open appsforartists opened this issue 1 year ago • 11 comments

Hyprland Version

0.32.3

Bug or Regression?

Bug

Description

Hyprland sets WAYLAND_DISPLAY when it starts up, but doesn't release it when quit. This prevents other sessions (like gamescope) from starting correctly.

On my system, exiting Hyprland leaves me in a loop of this printing to the console:

DEBUG Using pkexec loader
DEBUG Found wayland session

until I hold the power button down long enough for the firmware to kill the OS.

How to reproduce

  1. systemctl --user show-environment before starting Hyprland. Observe that WAYLAND_DISPLAY is unset.
  2. Start a Hyprland session.
  3. hyprctl dispatch exit
  4. systemctl --user show-environment Observe that WAYLAND_DISPLAY is still set to wayland-1.
  5. Observe that /run/user/1000/wayland-1 still exists (when it should have been cleaned up during exit).

Crash reports, logs, images, videos

No response

appsforartists avatar Dec 23 '23 00:12 appsforartists

I encountered the same issue in Windows 11. This is my first time downloading Bruno so I can't speak to other versions having the same issue.

sk3674 avatar Feb 28 '24 20:02 sk3674

Same issue here, and I can't edit Windows exceptions on my company PC

juliendiberardino avatar Feb 29 '24 10:02 juliendiberardino

@sk3674 @juliendiberardino could you try to build from source and see if the issue gone?

tuyen-at-work avatar Feb 29 '24 10:02 tuyen-at-work

This'll be due to the expired code signing cert, I opened #1696 earlier today as I didn't see this one. It looks like it only affected the 1.10.0 build, previous releases are ok.

SotoDucani avatar Mar 01 '24 05:03 SotoDucani

Closing this as the issue causing the Windows warning popup has been resolved. Please use the latest version of the app v1.20.2.

sanjai0py avatar Jul 08 '24 11:07 sanjai0py