0
1
I have an odd problem on my notebook (HP Pavilion dv7). My Internet connection seems OK for the most part. But lately I've been having trouble with Remote Desktop connections. While I can connect to remote computers, the connection is very flaky, and usually drops after a few seconds. Sometimes it'll successfully reconnect automatically, and sometimes not. But even after successful reconnection, it'll just drop again after a few seconds.
This appears to be independent of which RDP host I'm connecting to, and which network I'm connected to locally, whether wireless or wired.
Other remote control apps like TeamViewer and Ammyy seem to work fine.
Any ideas?
2Try a continuous ping to like ping 8.8.8.8 -t and see how many packets are dropped or time outs you get. – Dave – 2012-12-18T12:22:14.620
1@Shaul @DaveRook also adding some load to continuous ping might be a good idea.
ping -l 1000 8.8.8.8 -t
Also open wireshark, filter RDP protocol and check if you receive some RST or FIN packets – mnmnc – 2012-12-18T12:24:24.280@DaveRook - just started a ping as described to the remote host, during that time I set up a RDP connection, which dropped after about 5 sec. All this time, not one ping packet lost. – Shaul Behr – 2012-12-18T12:28:17.040
@mnmnc - ping - see comment above – Shaul Behr – 2012-12-18T12:29:04.853
@Shaul Start Wireshark and monitor the packets that travel to you. I'm pretty sure you will see RST or FIN. Also check this article for possible configuration changes in regards to connection timeout and keep-alive: http://technet.microsoft.com/en-us/library/cc754272.aspx
– mnmnc – 2012-12-18T12:34:04.947@mnmnc - this is pretty weird. I downloaded and ran wireshark, and now suddenly the RDP connections are stable! Is that not just extremely strange? – Shaul Behr – 2012-12-18T13:22:59.400
@Shaul Yeap. a bit strange. do you got any malware protection? av? try scanning your pc with different av software.. – mnmnc – 2012-12-18T13:33:02.327
@mnmnc - Just ran a full ESET scan. 0 threats found... – Shaul Behr – 2012-12-19T08:13:31.873
1@Shaul Check the MTU on your network card and MTU on switch router - maybe there is a difference and some packets are dropped. Try adjusting the quality of RDP connection in the settings. Check if only RDP is affected - possibly watching Youtube videos have the same problem with crashing video buffer? – mnmnc – 2012-12-19T08:21:26.113
@mnmnc - oho, that's interesting now that you mention about YouTube. I have noticed that sometimes YouTube streaming acts a little weird - like resetting the video back to the beginning, or not loading in the first place. Pardon my ignorance, but what's the connection between YouTube and RDP? What is MTU, and how do I make the adjustments you mentioned? – Shaul Behr – 2012-12-19T08:30:54.877
MTU is maximum transmission unit - it is how much data your network cad think it can place inside the network packet/datagram. If your network card has a setting to put 1500 KBytes in the packet and your router accept only 1492 you will sometimes see packets dropped by router because it will not accept packets when you send the biggest possible for you. Check it here: http://superuser.com/questions/37686/how-to-tell-what-mtu-is-being-used-in-windows-xp How to check it on your router you must check with its manual - depends on the router.
– mnmnc – 2012-12-19T09:12:44.467either way .. if it is not only RDP that is failing you have more things to check - like loose cable, worn-out plug, interference. Check if the same happens when you are connected wirelessly and with wire - if so - the problem is with your network card or router. If no then the problem will be with cabling or device driver on your PC. – mnmnc – 2012-12-19T09:15:09.630