Bug 450544 - Firefox does not run on kwin master: Error: cannot open display: :0
Summary: Firefox does not run on kwin master: Error: cannot open display: :0
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: git master
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-18 23:03 UTC by Anil
Modified: 2022-02-19 14:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anil 2022-02-18 23:03:41 UTC
SUMMARY
When running the latest plasma desktop (using kdesrc-build), firefox does not launch. It gives the error Error: cannot open display: :0"

STEPS TO REPRODUCE
1. Follow the steps to install the latest kwin + plasma: https://community.kde.org/Get_Involved/development#Plasma
2. Log onto a new wayland session
3. Try to start firefox

OBSERVED RESULT
Error: Cannot open display: 0

strace snippet:
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/run/user/1000/:0"}, 20) = -1 ENOENT (No such file or directory)
close(4)                                = 0
write(2, "Error: cannot open display: :0\n", 31Error: cannot open display: :0
) = 31
gettid()                                = 121975



EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Anil 2022-02-18 23:08:43 UTC
No repro after reboot