I've installed opnssh as per the arch wiki and all is well except for one thing, if I try and open apps as root or with sudo I get the above error.
Opening it as a normal user works fine. Using Manjaro/Arch
Code:
[xxxx@asterix ~]$ sudo leafpad
[sudo] password for xxxx:
X11 connection rejected because of wrong authentication.
leafpad: Cannot open display:
Opening it as a normal user works fine. Using Manjaro/Arch