Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
newb help with rdesktop
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
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Jul 21, 2005 4:02 pm    Post subject: newb help with rdesktop Reply with quote

I can ssh from my local gentoo box at home to an XP machine at work through port 3389 using:
Code:
 ssh -L 3389:localhost:3389 myusername@remotehost

but rdesktop does not seem to connect:
Code:
rdesktop -u myusername  remotehost

doesn't get any reply, just sits there ...

Remote desktop does work over port 3389 from a windows client (home machine is dualboot gentoo/XP) to the same remotehost
TIA for any insight ...
Back to top
View user's profile Send private message
gentoo_dude
l33t
l33t


Joined: 08 May 2004
Posts: 645
Location: Washington, DC

PostPosted: Thu Jul 21, 2005 4:13 pm    Post subject: Reply with quote

You need to enable the service in widows XP.

Right click on My Computer -> Properties -> Remote tab

Check the option Allow user to connect remotely.

Then try rdesktop <IP_of_the_computer>
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Jul 21, 2005 4:45 pm    Post subject: Reply with quote

Thanks for the quick reply. I do have the service enabled on the remote XP host, and can start a remote desktop session through an ssh tunnel from the XP side of my local machine (using bitvise's tunnelier client), so I think everything is set up okay with the remote host. The problem is on the gentoo side of my (dualboot) local machine: I don't know how to set up a tunneled ssh connection to the remote host, and then use this tunnel to establish an rdesktop session. Does this make sense?
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu Jul 21, 2005 7:44 pm    Post subject: Reply with quote

Have you tried ssh -X to allow X to traverse the tunnel?
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Jul 21, 2005 9:50 pm    Post subject: Reply with quote

Quote:
Have you tried ssh -X to allow X to traverse the tunnel?

No, but I have no X-server on the remote XP side -- is this required for rdesktop to function? Not sure I understand ...

Let me backup and explain:
I want to connect to a remote XP host from a local linux box using rdesktop and a secure ssh connection .

The remote XP host has Remote Desktop enabled and is running an SSHD server (WinSSHD), and the firewall has the necessary exceptions. I can connect to this remote XP host from a local XP machine using XP's standard Remote Desktop Client and software that creates an ssh tunnel (Bitvise Tunnelier).

So now I want to connect to this remote machine from my local one in exactly the same way as I've done previously using XP, except I want to do this from the gentoo side of this local machine (it's dual boot XP and gentoo 2.6.11). So I guess I need to know (1) how to establish the required ssh connection, and then (2) how to use this tunnel to establish a remote desktop session using rdesktop. Is this possible? Sorry if this is confusing, and thanks again in advance--
Back to top
View user's profile Send private message
tutaepaki
Apprentice
Apprentice


Joined: 11 Nov 2003
Posts: 279
Location: New Zealand

PostPosted: Fri Jul 22, 2005 12:52 am    Post subject: Reply with quote

Shouldn't you be connecting to the localhost with rdesktop to get your tunnel. ie
Code:
 rdesktop -u myusername localhost
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Fri Jul 22, 2005 1:50 am    Post subject: newb help with rdesktop [SOLVED] Reply with quote

Quote:
Shouldn't you be connecting to the localhost with rdesktop to get your tunnel. ie
Code:
rdesktop -u myusername localhost


Yes!!! Wow, that was simple: tutaepaki, I am in your debt ... it works great now. Thanks, all.
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