shiny icon indicating copy to clipboard operation
shiny copied to clipboard

No extension named MIT-SHM could be found on on the server

Open ivanmir opened this issue 6 years ago • 2 comments

Hi all,

I've tried to run the basic example from the following command:

cd $GOPATH/src/golang.org/x/exp/shiny/example/basic go build main.go ./main

This throws the following error;

x11driver: shm.Init failed: No extension named MIT-SHM could be found on on the server.

Why is this happening while xgb works. Could this be avoided in order to run shiny successfully?

I'm trying to run https://github.com/aarzilli/gdlv, but it is throwing the same errors.

Best regards, Ivan

ivanmir avatar Feb 25 '19 16:02 ivanmir

Hey, I'll look into this.

200sc avatar Feb 26 '19 01:02 200sc

So aarzilli has already described the cause of this issue fairly well, I think: https://github.com/golang/go/issues/15100#issuecomment-212925771

I don't know how reasonable it would be to try to solve this while still using shiny, I suppose a whole new driver could be added that might avoid X11's issues, but this sounds like something that is unavoidable when working with X11.

200sc avatar Mar 04 '19 12:03 200sc