Applications close after ~ 1-2 hours in Hyprland

After about 1-2 hours of running Hyprland, all open X- Wayland applications suddenly just close.
A reboot fixes this, but it is not a permanent solution.
I used JaKooLit’s install script (https://github.com/JaKooLit/Arch-Hyprland).

I also tried hyprctl reload, but that didn’t help.

For example, when I try to start Chromium, I get this error:

[186875:186875:0318/202225.133327:ERROR:ozone_platform_x11.cc(234)] Missing X server or $DISPLAY
[186875:186875:0318/202225.133388:ERROR:env.cc(226)] The platform failed to initialize. Exiting.

(This error isn’t the exact one, but close enough)

Other applications don’t output anything.

Thanks for your help :smile:

Maybe the apps are just telling you that you need to take a break? :sweat_smile:

Not a fix, but what happens if you log out and log in instead of rebooting?

Also, it would be a good idea to open a terminal and get some logs when this happens.
https://discovery.endeavouros.com/forum-log-tool-options/how-to-include-systemlogs-in-your-post/2021/03/

1 Like

OK, so I didn’t get the error again after switching to Firefox for some reason.
I noticed that chrome was taking 1.8GB for just one youtube tab so I switched. Thanks for the help though :slight_smile:

1 Like