I recently have switched from dropbear to openssh server to test if i could get 2FA to work on ssh, because dropbear doesn’t support 2FA i needed to switch.
It worked but, before i tested 2FA, i tested to get the Xserver to work with gui programs like it worked on Dropbear, but that failed, so what could be the problem that the Xserver config fails on Openssh server and functions normal on dropbear.
For the people interested in 2FA on ssh here is a link:
https://www.comparitech.com/blog/information-security/linux-2fa-ssh-login/