rjkroege / edwood

Go version of Plan9 Acme Editor
Other
385 stars 34 forks source link

fails to start: `no matching Visualid` #320

Open chyvonomys opened 3 years ago

chyvonomys commented 3 years ago

I'm using Win10 with Xming and it fails to start from WSL (Ubuntu 20.04).

andriy@cobalt:~$ go get -u -tags 'duitdraw mux9p' github.com/rjkroege/edwood
andriy@cobalt:~$ go/bin/edwood
XGB: conn.go:47: Could not get authority info: open /home/andriy/.Xauthority: no such file or directory
XGB: conn.go:48: Trying connection without authority info...
shiny: NewWindow error: x11driver: no matching Visualid
duitdraw: x11driver: no matching Visualid

Other X11 programs (e.g. xclock) do work however.

rjkroege commented 3 years ago

I don't run the duitdraw backend myself. But: I thought duitdraw had a native Windows backend. Did you try that?

rjkroege commented 3 years ago

@fhs Have you run with duitdraw on windows? Do you have any helpful comments?

fhs commented 3 years ago

I've tested Edwood on Windows natively, not using WSL.

Maybe the Xauthority file needs to be set up.