Linux rdesktop ERROR recv Connection reset by peer

Solution 1:

SOLUTION

From time to time I forget this setting. The vast majority of it means "Turn off Remote Desktop with NLA".

Set on target "Microsoft Windows (WIN)"

  1. run SystemPropertiesRemote.exe
  2. deselect "Allow connections only from computers running Remote Desktop with NLA"
  3. try to connect from linux client

REF

Thanks to Maccu Falchi

http://marcofalchi.blogspot.sk/2013/03/linux-rdesktop-windows-8-linux-error.html

Solution 2:

If you don't have control over the server you are trying to connect to (or having a bit of chicken/egg situation), then use FreeRDP which supports NLA.

On Debian run

sudo apt-get install xfreerdp-x11

On Ubuntu run

sudo apt-get install freerdp-x11

On Fedora 22 run

sudo dnf install -y freerdp

Check here for more details

Solution 3:

I've been dealing with the same issue. The cursor is there - you just can't see it.

So, instead of grabbing some cursors from Windows and hacking your way around this - just use the "-C" flag to use your current custom color map.

e.g. rdesktop -C -u -d xx.xx.xx.xx

This fixed it just fine for me, and needed no other workarounds.