View previous topic :: View next topic |
Author |
Message |
rsa4046 l33t
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Thu Jul 21, 2005 4:02 pm Post subject: newb help with rdesktop |
|
|
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 |
|
|
gentoo_dude l33t
Joined: 08 May 2004 Posts: 645 Location: Washington, DC
|
Posted: Thu Jul 21, 2005 4:13 pm Post subject: |
|
|
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 |
|
|
rsa4046 l33t
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Thu Jul 21, 2005 4:45 pm Post subject: |
|
|
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 |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Thu Jul 21, 2005 7:44 pm Post subject: |
|
|
Have you tried ssh -X to allow X to traverse the tunnel? |
|
Back to top |
|
|
rsa4046 l33t
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Thu Jul 21, 2005 9:50 pm Post subject: |
|
|
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 |
|
|
tutaepaki Apprentice
Joined: 11 Nov 2003 Posts: 279 Location: New Zealand
|
Posted: Fri Jul 22, 2005 12:52 am Post subject: |
|
|
Shouldn't you be connecting to the localhost with rdesktop to get your tunnel. ie
Code: | rdesktop -u myusername localhost |
|
|
Back to top |
|
|
rsa4046 l33t
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Fri Jul 22, 2005 1:50 am Post subject: newb help with rdesktop [SOLVED] |
|
|
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 |
|
|
|