0

I followed these instructions for 22.04, but after completing them, Remote Desktop is not working for 22.10. From the Windows built-in Remote Desktop client, it shows a "connecting" progress bar for about 10 seconds then displays this errorAn error

The Ubuntu system is on the network and responds to Ping from the Windows system.

If I try tcpdump -i any port 3389 on the Ubuntu machine I can see packets when I attempt to connect.

I looked at dmesg and saw message about [UFW BLOCK]. I ran `sudo ufw allow 3389'. tcpdump now shows packets arriving and leaving back to the Windows machine that is requesting the connection.

Now the error is "An internal error has occurred" or enter image description here

Here's the tcpdump output for the failed connection:

pri@PRITEST16:~$ sudo tcpdump -i any port 3389 -v
tcpdump: data link type LINUX_SLL2
tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
17:00:45.603784 wlp2s0 In  IP (tos 0x0, ttl 128, id 37039, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.2.106.47357 > PRITEST16.ms-wbt-server: Flags [S], cksum 0xbcc1 (correct), seq 3276305730, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
17:00:45.603866 wlp2s0 Out IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 52)
    PRITEST16.ms-wbt-server > 192.168.2.106.47357: Flags [S.], cksum 0xb8be (incorrect -> 0x201c), seq 2732587445, ack 3276305731, win 64240, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
17:00:45.606705 wlp2s0 In  IP (tos 0x0, ttl 128, id 37040, offset 0, flags [DF], proto TCP (6), length 40)
    192.168.2.106.47357 > PRITEST16.ms-wbt-server: Flags [.], cksum 0x57dd (correct), ack 1, win 1026, length 0
17:00:45.606772 wlp2s0 In  IP (tos 0x0, ttl 128, id 37041, offset 0, flags [DF], proto TCP (6), length 59)
    192.168.2.106.47357 > PRITEST16.ms-wbt-server: Flags [P.], cksum 0x45bb (correct), seq 1:20, ack 1, win 1026, length 19
17:00:45.606799 wlp2s0 Out IP (tos 0x0, ttl 64, id 17583, offset 0, flags [DF], proto TCP (6), length 40)
    PRITEST16.ms-wbt-server > 192.168.2.106.47357: Flags [.], cksum 0xb8b2 (incorrect -> 0x59d6), ack 20, win 502, length 0
17:00:45.609266 wlp2s0 Out IP (tos 0x0, ttl 64, id 17584, offset 0, flags [DF], proto TCP (6), length 40)
    PRITEST16.ms-wbt-server > 192.168.2.106.47357: Flags [R.], cksum 0xb8b2 (incorrect -> 0x59d2), seq 1, ack 20, win 502, length 0

I believe the incorrect checksums on the packets are due to offloading - networking works for other protocols.

I saw UFW BLOCK messages in dmesg that packets during the RDP session initialization on a variety of ports. I tried opening more ports, but new ports were then reported as blocked. I finally did sudo ufw disable temporarily as a test, but Remote Desktop still won't connect.

I'm trying to connect from two different Windows machines to reduce the chance of any unique issues with a particular client. There is no difference.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy