LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-29-2006, 04:29 AM   #1
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Rep: Reputation: 0
rdesktop stopped working - ERROR: connect: Connection refused


Hi,
I have rdesktop v5 installed on my Fedora Core 4 box and I've used it to connect to 2 different Windows XP Professional machines (one at home and one at work). I've used rdesktop to successfully connect to these 2 machines in the past.

I'm not sure whether an automatic windows update occurred on my home machine, or whether it crashed while I was away, but I found that my home machine had restarted.... so annoying !

Anyways, from that point onwards, I cannot seem to connect to my Windows XP Professional box at home. I getthe following error:
ERROR: connect: Connection refused

I verified that the checkbox for "Allow this computer to be controlled remotely." is checked, and that the terminal server is up and running. I also checked that my Windows firewall has "Remote Desktop" in the allowed list of applications and even turned off my windows firewall.... but I still cannot connect to that machine using rdesktop.

I made sure that my rdesktop is working fine by connecting to my Windows box at work. It works like a charm.

Any reason you think I am now having trouble connecting to my home computer ? Any help, ideas, etc would be greatly appreciated.
Thanks.
 
Old 09-29-2006, 11:44 AM   #2
BogusTrumper
Member
 
Registered: May 2006
Posts: 77

Rep: Reputation: 15
Have you made sure that your home computer's IP address didn't changed during the restart? You can go to http://www.whatismyipaddress.com/ if you're behind a router.
 
Old 09-29-2006, 12:36 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
I am assuming you are connecting with a vpn to your router. 1st can you ping your workstation. Also have you changed anything like say you password on the workstation.
 
Old 09-30-2006, 04:15 AM   #4
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BogusTrumper
Have you made sure that your home computer's IP address didn't changed during the restart? You can go to http://www.whatismyipaddress.com/ if you're behind a router.
Thanks for your suggestion. Yes I made sure that my IP address hasn't changed. I even brought my laptop home (running Fedora Core 4), connected wirelessly to the home network and tried to "rdesktop" to my home WinXP Prof workstation... with no such luck. This used to work just a few days back and so I'm very puzzled. I'm wondering if it has something to do with a Windows Update or something, because ever since it rebooted, I cannot connect with rdesktop... any other ideas ?
 
Old 09-30-2006, 04:18 AM   #5
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jstephens84
I am assuming you are connecting with a vpn to your router. 1st can you ping your workstation. Also have you changed anything like say you password on the workstation.
Thanks for your suggestion. Yes I am connecting with a VPN to my router. I made sure that I am able to ping my home workstation. I also didn't change my workstation password... it's still the same. I even brought my laptop home (running Fedora Core 4), connected wirelessly to the home network and tried to "rdesktop" to my home WinXP Prof workstation... with no such luck. This used to work just a few days back and so I'm very puzzled. I'm wondering if it has something to do with a Windows Update or something, because ever since it rebooted, I cannot connect with rdesktop... any other ideas ?
 
Old 09-30-2006, 08:08 AM   #6
donraja
LQ Newbie
 
Registered: May 2006
Posts: 17

Original Poster
Rep: Reputation: 0
I figured out what my problem was. Your hunch was right... my IP address had changed, however my /etc/hosts file had the IP address of the target host hard-coded.... not good!

I apologize for not doing a more thorough check of my IP address before responding to your posting. I thank you both for your helpful suggestions. Your help was appreciated.
 
Old 02-26-2008, 08:39 PM   #7
sheppard
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
hello... I have the same problem.

I am new to linux and having the "connection refused error", but I do not how to correct it. Where should I correct my ip address, if that is the case...?
 
  


Reply


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
DNS problem rndc: connect failed connection refused error suchi Linux - Networking 14 05-27-2007 12:51 PM
rdesktop connection refused SlipAway172 Linux - Software 1 12-15-2004 05:03 PM
ftp: connect: Connection refused dn7 Linux - Software 1 09-01-2004 06:51 PM
ftp: connect : connection refused udayan Linux - Networking 4 05-14-2003 12:55 AM
ftp: connect: Connection refused shusseina Linux - Networking 3 05-05-2003 07:18 AM


All times are GMT -5. The time now is 07:45 AM.

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