asticode / go-astilectron

Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)
MIT License
4.9k stars 344 forks source link

Tips of x11 Forwarding #387

Closed roociferSonOfTheMorning closed 1 year ago

roociferSonOfTheMorning commented 1 year ago

Hello,

I am looking for additional guidance to get x11 forwarding to work. I added --no-xshm to the ElectronSwitches but that didn't do it. (based on this issue https://github.com/electron/electron/issues/22775#issuecomment-616023334 )

The application launches to a blank window and there is nothing significant in the logs:

Sending to Astilectron: [{\"name\":\"window.cmd.web.contents.open.dev.tools\",\"targetID\":\"1\"}]
astikit: received signal [urgent I/O condition]
astikit: received signal [child exited]
output/linux-amd64/vendor/electron-linux-amd64/electron -1]' exited with code: %!v(MISSING)
App has crashed[]

xeyes works fine

Any advice would be awesome. Thank you!

asticode commented 1 year ago

Is that the only logs you're getting ? 🤔 There should be much more 🤔