You are not logged in.

#1 2024-09-19 04:55:42

falzueta
Member
Registered: 2024-09-19
Posts: 4

Unable to open certain applications (Display :0)

Hi there, I updated some packages this afternoon and when I try to open some applications (like quartus and mysql-workbench) I get errors related to display :0, like on quartus:

 quartus: cannot connect to X server :0 

 
and on mysql-workbench:

 (mysql-workbench-bin:17296): Gtk-WARNING **: 01:50:27.620: cannot open display: :0 

When I try to run any xhost command I simply get

 xhost:  unable to open display ":0"`

even though the output of $DISPLAY is :0.

Any ideas of why this is happening, how to fix it and why it broke so suddenly? I`m running hyprland and already tried reinstalling it to no avail.
Thanks in advance.

Offline

#2 2024-09-19 06:19:27

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Unable to open certain applications (Display :0)

Does setting DISPLAY explicitly in hyprland.conf fix things?

Reference: https://wiki.hyprland.org/Configuring/E … variables/


Jin, Jîyan, Azadî

Offline

#3 2024-09-19 07:16:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,814

Re: Unable to open certain applications (Display :0)

I updated some packages this afternoon

What packages and how, did you conduct a partial update?
This sounds as if xwayland cannot be started.
=> Check your xorg log

Online

#4 2024-09-19 14:45:25

falzueta
Member
Registered: 2024-09-19
Posts: 4

Re: Unable to open certain applications (Display :0)

this is what I updated through yay:

 [2024-09-18T23:16:15-0300] [ALPM] upgraded adwaita-icon-theme-legacy (46.2-1 -> 46.2-3)
[2024-09-18T23:16:15-0300] [ALPM] upgraded json-c (0.17-2 -> 0.18-1)
[2024-09-18T23:16:15-0300] [ALPM] upgraded bind (9.20.1-1 -> 9.20.2-1)
[2024-09-18T23:16:15-0300] [ALPM] upgraded curl (8.10.0-1 -> 8.10.1-1)
[2024-09-18T23:16:15-0300] [ALPM] upgraded docker-compose (2.29.4-1 -> 2.29.5-1)
[2024-09-18T23:16:15-0300] [ALPM] upgraded libtiff (4.6.0-6 -> 4.7.0-1)
[2024-09-18T23:16:17-0300] [ALPM] upgraded firefox (130.0-1 -> 130.0.1-1)
[2024-09-18T23:16:17-0300] [ALPM] upgraded iproute2 (6.10.0-2 -> 6.11.0-1)
[2024-09-18T23:16:17-0300] [ALPM] upgraded lib32-curl (8.10.0-1 -> 8.10.1-1)
[2024-09-18T23:16:17-0300] [ALPM] upgraded lib32-libtiff (4.6.0-4 -> 4.7.0-1)
[2024-09-18T23:16:17-0300] [ALPM] upgraded libavif (1.1.1-1 -> 1.1.1-2)
[2024-09-18T23:16:17-0300] [ALPM] upgraded libcurl-gnutls (8.10.0-1 -> 8.10.1-1)
[2024-09-18T23:16:17-0300] [ALPM] upgraded libheif (1.18.2-1 -> 1.18.2-2)
[2024-09-18T23:16:17-0300] [ALPM] upgraded poppler (24.09.0-1 -> 24.09.0-2)
[2024-09-18T23:16:20-0300] [ALPM] upgraded libreoffice-fresh (24.8.1-1 -> 24.8.1-2)
[2024-09-18T23:16:20-0300] [ALPM] upgraded libsynctex (2024.2-2 -> 2024.2-3)
[2024-09-18T23:16:21-0300] [ALPM] upgraded mysql-workbench (8.0.38-5 -> 8.0.38-6)
[2024-09-18T23:16:21-0300] [ALPM] upgraded neovim (0.10.1-4 -> 0.10.1-5)
[2024-09-18T23:16:21-0300] [ALPM] upgraded nodejs (22.8.0-1 -> 22.9.0-1)
[2024-09-18T23:16:21-0300] [ALPM] upgraded poppler-qt6 (24.09.0-1 -> 24.09.0-2)
[2024-09-18T23:16:21-0300] [ALPM] upgraded python-jupyter-client (8.6.2-1 -> 8.6.3-1)
[2024-09-18T23:16:21-0300] [ALPM] upgraded python-trove-classifiers (2024.7.2-1 -> 2024.9.12-1)
[2024-09-18T23:16:21-0300] [ALPM] upgraded texlive-bin (2024.2-2 -> 2024.2-3)
[2024-09-18T23:16:21-0300] [ALPM] upgraded typescript (5.5.4-1 -> 5.6.2-1)
[2024-09-18T23:16:22-0300] [ALPM] upgraded wine (9.16-1 -> 9.17-1) 

And this is my xorg log https://pastebin.com/NEQxWzk2
Also setting the display on hyprland.conf changes nothing

Offline

#5 2024-09-19 15:07:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Unable to open certain applications (Display :0)

A log from 4 months ago isn't so useful.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2024-09-19 15:30:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,814

Re: Unable to open certain applications (Display :0)

https://wiki.archlinux.org/title/Xorg#General
The relevant log is likely in ~/.locale/share

Nothing in that list looks super-prone to break xwayland, though… hmm

Online

#7 2024-09-19 15:39:49

falzueta
Member
Registered: 2024-09-19
Posts: 4

Re: Unable to open certain applications (Display :0)

I`ve got no log related to xorg on .local/share, however after a few reboots and tries the one on /var/log updated to this https://pastebin.com/a6cdzBtY

Offline

#8 2024-09-19 15:55:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,814

Re: Unable to open certain applications (Display :0)

That's from an X11 server that ran for ~40s w/o any problems - possibly your DM?

https://github.com/hyprwm/Hyprland/issues/6949 is related to the attached outputs…
I suspect the last time this works was w/ hyprland 42 and it broke w/ the last aquamarine and hyprland updates?
https://gitlab.archlinux.org/archlinux/ … mmits/main

Online

#9 2024-09-19 17:47:58

falzueta
Member
Registered: 2024-09-19
Posts: 4

Re: Unable to open certain applications (Display :0)

I tried downgrading my entire system a month and still didn`t work, there is a workaround I found that if I start a xwayland window and then try to open the program they do open inside this window, although kinda poorly.

Offline

#10 2024-09-19 19:49:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,814

Re: Unable to open certain applications (Display :0)

Does it work w/ a fresh user?

Online

Board footer

Powered by FluxBB