Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

Advanced users • Re: How to fix "xhost: unable to open display ":0" "

$
0
0
Doe's anyone have an idea about this problem and can tell me what to do to fix it.

Not without more information from you:
  • Pi model
  • OS and named release of that OS
  • Whether you're booting to command line or desktop
  • Which desktop back end you're running: X11 with lxde, wayland with wayfire, wayland with labwc, something else?*
  • The entirety of your script (there's no xhost command in what you posted but you posted an xhost error). You don't appear to be indicating which DISPLAY to connect to either.
  • How you're running it (no, "as a service" is not enough). Provide details.

*: if you don't know download and run https://github.com/thagrol/Guides/blob/main/gui-id.sh

Statistics: Posted by thagrol — Mon Feb 24, 2025 12:55 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles