Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rdesktop ERROR: connect: Connection timed out
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Tue May 21, 2013 9:45 pm    Post subject: rdesktop ERROR: connect: Connection timed out Reply with quote

yes, networking works on both machines.
vnc servers work for connecting in both directions. wanted to try rdesktop

host/server is windows7

client is gentoo

don't even know where to begin debugging this.
windows firewall silently blocking it? rdp is turned on in windows
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9049

PostPosted: Wed May 22, 2013 1:43 am    Post subject: Reply with quote

Does the Windows machine receive the SYN? Does it generate a SYN|ACK? Does Linux receive the SYN|ACK?
Back to top
View user's profile Send private message
imaginasys
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2009
Posts: 83
Location: Québec

PostPosted: Wed May 22, 2013 3:29 am    Post subject: Reply with quote

Can you "telnet yourserver 3389" to check if it connect on the rdp port ?

Regards,
BT :mrgreen:
Back to top
View user's profile Send private message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Wed May 22, 2013 4:47 am    Post subject: Reply with quote

Hu wrote:
Does the Windows machine receive the SYN? Does it generate a SYN|ACK? Does Linux receive the SYN|ACK?


how do i know?
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 617
Location: DC Burbs

PostPosted: Wed May 22, 2013 5:20 am    Post subject: vnc versus rdp Reply with quote

After enabling remote desktop on the windows target, you may also need to authorize non-admin types. By default, only local admin folk are able to remote in to a windows desktop. I typically create a group in active directory for this sort of stuff so only relatively privileged/intelligent folk are able to do rdp.

What hu is suggesting you do is to emerge a packet sniffer like wireshark so you can see the traffic going back and forth between the linux box and the windows box.

Also you are right in thinking that windows firewall will block things like this if it is still enabled.
Back to top
View user's profile Send private message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Wed May 22, 2013 4:36 pm    Post subject: Reply with quote

thanks @vaxbrat. the user i'm trying to connect with is admin and is automatically enabled in RDP.

windows firewall is turned off. symantic endpoint protection maybe? but usually it pops up a dialog to ask me (but maybe not for incoming connections?)

in event viewer in windows under:
"Applications and Services Logs -> Windows -> TerminalServices-LocalSessionManager -> Operational"
i see nothing at all related to external connections
same in TerminalServices-RemoteConnectionManager

surely there is something else i can check before digging into wire sniffing?

machines are on same subnet. but are not virtual machines.

Code:
rdesktop -g 1440x900 -P -z -x l -r sound:off -u myadminuser 192.168.1.165:3389
ERROR: connect: Connection timed out


rdesktop version 1.7.1.
Back to top
View user's profile Send private message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Wed May 22, 2013 4:43 pm    Post subject: Reply with quote

interesting. so i turned off symantec endpoint protection "Network threat protection"
and now i get:
ERROR: connect: Connection refused

but i still see nothing interesting in windows event viewer.

unfortunately my "administrator" won't let me alter my network threat protection rules. no idea why vnc works.

but why is my connection being refused when symantec firewall is turned off?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum