You are not logged in.
Pages: 1
I had this error earlier today. I couldn't find any solutions that worked however I found the source of the problem and a fix.
My particular problem was because I am using a wayland environement (sway) and trying to run electron applications under xwayland which resulted in the error.
To fix this I changed set `DISPLAY=":1"` and removed `GDK_BACKEND="wayland"` which I had exported in my `.bash_profile`.
Offline
This is mentioned in the WIKI and quoted below, you shouldn't have to manually set the display like you did TMK though.
Cannot open display: :0 with Electron-based applications
Make sure you haven't set GDK_BACKEND=wayland. Setting it globally will break Electron apps.
"the wind-blown way, wanna win? don't play"
Offline
Pages: 1