Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-06-2008, 12:19 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Remote Desktop through NetBSD, losing connection frequently


I'm not a Unix/Linux pro, but I'll supply as much information as I can.

At home I have a NetBSD 2.0 box acting as my router/firewall/ftp, web & email server. It's worked so well for so long I've forgotten most of what I learned getting it going.

I now have a Win XP laptop with which I connect to my office through VPN. Once connected I use remote desktop to run apps on the office (Win) server.

Remote desktop never has a problem connecting, but I lose the connection about every two minutes. It reconnects after ten or twenty seconds, and I'm good for another two or three minutes. This problem only occurs when connecting from my home - when at client sites the connection is solid.

Can anyone suggest where/what to look for to track down the problem? I'll be happy to supply any log or setup info that would help.

Thank's in advance

Old 03-07-2008, 10:27 AM   #2
Registered: Mar 2004
Location: Antwerp, Belgium
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
Just some general suggestions; hope they can be of help.

The first thing I would look at is the VPN connection. Is it stable? If it has a log file you can check for errors there.
If the VPN seems to be fine you can try monitoring the network from your BSD box with
tcpdump |grep "XX.XX.XX.XX" > /home/myuser/mylogfile.log
where XX.XX.XX.XX is your office IP address. It will output a lot of info, so you may want to filter the output further, depending on the output you get.

One possible cause I can think of is that your vpn refreshes its connection every few minutes, and while doing so breaking your rdesktop connection.
Old 03-08-2008, 11:02 AM   #3
LQ Newbie
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thank's stzein.

I did the tcpdump and let it ride through a disconnect. I've got about a Mb of stuff to sift through now.

I'll likely be back with follow-up questions soon.

Thank's again.



desktop, networking, remote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop Connection hangs on 'Establishing connection...' madala Linux - Networking 1 06-27-2008 04:04 PM
Keep losing connection to remote machine through SSH/VNC cav Linux - Networking 3 04-23-2006 08:12 PM
Remote Desktop connection!!! rahulrawat Red Hat 2 12-31-2005 12:04 PM
remote desktop connection master SUSE / openSUSE 25 08-03-2005 04:23 PM
remote desktop connection micromysore Linux - Networking 2 11-27-2003 02:04 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration