sudo problem

Gerry oldgeek at thesenilegeek.com
Mon Nov 28 14:33:45 UTC 2016


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





More information about the Snapcraft mailing list