Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 23 |
Nodes: | 6 (0 / 6) |
Uptime: | 46:40:35 |
Calls: | 583 |
Files: | 1,138 |
Messages: | 111,067 |
Using a search engine, I found a hint suggesting to set the DISPLAY
variable with
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print
$2; exit;}'):0.0
and another one suggesting
export DISPLAY=unix:0.0
Neither of those helped.
With the latter setting, brave-browser gives the same error message as before, seamonkey says
Error: cannot open display: unix:0.0
On 2025-07-31, Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> wrote:
Using a search engine, I found a hint suggesting to set the DISPLAY
variable with
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print
$2; exit;}'):0.0
and another one suggesting
export DISPLAY=unix:0.0
Neither of those helped.
With the latter setting, brave-browser gives the same error message as
before, seamonkey says
Error: cannot open display: unix:0.0
I use GNOME, not KDE, and have not had such a problem.
But when I oipen a terminal window to display the DISPLAY environment variable, the value is just ":0"
So try " export DISPLAY=:0 "
What goes before the colon is a host name. Normally, that would be "localhost" (127.0.0.1), but I believe that is the default if none is
given. But that should have been set when wayland started and inherited
by everything in the process tree below.
Of course, the terminal window from which you started KDE and wayland in
the first place is not running under the GUI, so if you try to start a
GUI application from there, it will not work, and you might get exactly
what you describe.
Lars Poulsen <lars@cleo.beagle-ears.com> writes:
On 2025-07-31, Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> wrote:
Using a search engine, I found a hint suggesting to set the DISPLAY
variable with
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print
$2; exit;}'):0.0
and another one suggesting
export DISPLAY=unix:0.0
Neither of those helped.
I use GNOME, not KDE, and have not had such a problem.
But when I oipen a terminal window to display the DISPLAY environment
variable, the value is just ":0"
So try " export DISPLAY=:0 "
That didn't help either. Error message from seamonkey was
Error: cannot open display: :0