I try to connect from Windows to my Ubuntu Linux machine running sway window manager. After successful authentication only a white screen is shown, and after some time there is an Ooops! with the message: The connection with the server was lost. Error is 108: Connection reset by peer.
In /usr/NX/var/log/nxserver.log this two things appear:
Authorization required, but no authorization protocol specified 33864 41314 2024-12-06 08:56:07 628.907
HostWmRunningHelper: WARNING! Failed to open display ':0'.
I am using NoMachine version 8.14.2-1 on my Linux machine. If I am using gnome instead of sway, everything works fine.