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
I upgraded my Fedora 42 installation with dnf upgrade (all packages with
a newer version available), and after that I can't start seamonkey or brave-browser.
Before those updates, both worked fine.
If I try starting seamonkey from Konsole window, it says
Error: no DISPLAY environment variable specified
brave-browser responds with [52291:52291:0801/012124.252370:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:249] Missing X server or $DISPLAY
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
The last makes me think there may be a permission problem somewhere, but
I can't guess where it is and what I should do to fix it (except waiting
for the next upgrade packages..)
I run my system on runlevel 3, logging in to a tty console and starting
kde with the command startplasma-wayland
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 01:01:57 |
| Calls: | 1,102 |
| Calls today: | 2 |
| Files: | 1,339 |
| Messages: | 276,780 |