Hi

I have a program written in Java that I am trying to package as a snap.

It all works fine until I try to run it with "sudo" packaged in dangerous mode. Then it crashes

with this exception:

No protocol specified
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server

My yaml is here:

http://pastebin.com/ccmV0d13

The wrapper I am using is here:

http://pastebin.com/ZGS1wsdg

Thanks for looking.

Gerry


--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to