When I try to execute edit I get this error message: locale not supported by Xlib, locale set to C Error: Shell widget nedit has zero width and/or height
I suggest you report the problem to Motif and use the workaround documented in the release notes. See https://www.xquartz.org/releases/XQuartz-2.7.10.html
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.