The tests I've run are interesting:
When logged in to my desktop running Ubuntu 22.04.1, Xorg
1:7.7+23ubuntu2 I see the issue for:
* nedit run locally
* nedit run on my laptop via ssh
* nedit run on my server via ssh
When logged in to my laptop running Ubuntu 14.04.2, Xorg
1:7.7+1ubuntu8.1 nedit runs fine for:
* nedit run locally
* nedit run on my server via ssh
* nedit run on my desktop via ssh
It seems to me that the issue may actually lie in nedit's interaction
with the running X server and not with a local library such as libXm.