sudo problem

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


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:

The wrapper I am using is here:

Thanks for looking.


More information about the Snapcraft mailing list