#40 wayland: wl_display_connect failed - Cannot get this to run! 1 year, 7 months ago

Comment by ~stuartdd on ~eliasnaur/gio

Further to my earlier reply. This is from the Mint user groups:

Well, from a Mint point of view we’ve no plan to use it just yet. Xorg is a much better solution still in the scope of our distribution. Wayland is promising because it will solve some important issues we’re having with Xorg but it’s far from ready in terms of what it supports and what supports it.

From a development point of view nobody’s really asking for it, Arch, Fedora are happy to use MATE and Cinnamon as they are.. and nobody’s really working on it whether it’s in MATE or Cinnamon.

We’re not opposed to seeing it happen, it’s just something that “might” work “one day” and it’s not a priority. It’s also something that requires a significant amount of work so it doesn’t make sense to look into it much at the moment. Things might change in the future, but this is the current situation.

So I cannot really enable it on Mint and Mint have no plan to use it.

So I will need to wait for Mint or Gio on X11.



On 04/10/2019 19:01, ~eliasnaur wrote:

Are you running Wayland? If not, this is a duplicate of #8, missing X11 support.

#40 wayland: wl_display_connect failed - Cannot get this to run! 1 year, 7 months ago

Ticket created by ~stuartdd on ~eliasnaur/gio

Just starting to look at this. Have tried downloading the hello.go file, builds ok. But running with same issue:

wayland: wl_display_connect failed

From the linux install page I have done the following:

sudo apt install libwayland-dev libxkbcommon-dev libgles2-mesa-dev libegl1-mesa-dev
I have rebooted but it did not help!

go version:

go version go1.12.5 linux/amd64

OS is :

Linux Mint 19.2 Cinnamon 4.2.4



So I did the following in a clean directory!

user:~/git/tmp$ export GO111MODULE=on user:~/git/tmp$ go run gioui.org/apps/hello

go: finding gioui.org/apps/hello latest go: finding gioui.org/apps latest go: downloading gioui.org/apps v0.0.0-20191004171805-f230036cad23 go: extracting gioui.org/apps v0.0.0-20191004171805-f230036cad23 go: finding github.com/google/go-github/v24 v24.0.1 go: finding gioui.org v0.0.0-20191003113538-6dad034b2280 go: finding golang.org/x/exp v0.0.0-20190627132806-fd42eb6b336f go: finding golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 go: finding golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e go: finding google.golang.org/appengine v1.4.0 go: finding cloud.google.com/go v0.34.0 go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d go: finding google.golang.org/appengine v1.1.0 go: finding github.com/google/go-github v17.0.0+incompatible go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/google/go-querystring v1.0.0 go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be go: finding golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac go: finding golang.org/x/sys v0.0.0-20180824143301-4910a1d54f87 go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: finding github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 go: finding golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6 go: finding golang.org/x/image v0.0.0-20190227222117-0694c2d4d067 go: finding golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846 go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225 go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a go: downloading gioui.org v0.0.0-20191003113538-6dad034b2280 go: extracting gioui.org v0.0.0-20191003113538-6dad034b2280 go: downloading golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9 go: extracting golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9 2019/10/04 18:28:21 wayland: wl_display_connect failed exit status 1