(Msg. 1) Posted: Tue Jun 17, 2008 11:34 pm
Post subject: Remote Desktop from Linux console Archived from groups: microsoft>public>windows>vista>networking_sharing (more info?)
I have a Vista host (V) running on a computer inside a firewalled
network. I am outside the firewall and so cannot access the computer
directly. However, I have access to a Linux host (L) which can access
'V'. Now I have an RDP server running on 'V' which accepts any RDP
connection without a prompt. But an X server is not running on 'L' so
that I cannot open an 'rdesktop' window. Is there a way to access 'V'
from 'L' purely through the command line using the RDP server running
on 'V'?
P.S.: Sorry for the abbreviations. But it got a bit confusing without
them due all the 'host's.
(Msg. 2) Posted: Wed Jun 18, 2008 5:11 am
Post subject: Re: Remote Desktop from Linux console [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Do you have a VPN or SSH server running on anything, ie on L for example,
inside the firewall that you can connect to from the public internet? If so
you could run the normal Remote Desktop [RDC] client software on a Windows
client or rdesktop on a LINUX client and connect to V after establishing the
VPN or SSH tunnel. No matter how you want to connect to V from the outside
you need a hole in your firewall that you can get through.
Al Jarvi (MS-MVP Windows - Desktop User Experience)
Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
How to ask a question
http://support.microsoft.com/KB/555375
"Uncle Sam" <sameervijaykar.DeleteThis@gmail.com> wrote in message
news:d3f66de7-1cd9-466d-b2ee-c9dac882f51f@p25g2000hsf.googlegroups.com...
>I have a Vista host (V) running on a computer inside a firewalled
> network. I am outside the firewall and so cannot access the computer
> directly. However, I have access to a Linux host (L) which can access
> 'V'. Now I have an RDP server running on 'V' which accepts any RDP
> connection without a prompt. But an X server is not running on 'L' so
> that I cannot open an 'rdesktop' window. Is there a way to access 'V'
> from 'L' purely through the command line using the RDP server running
> on 'V'?
>
> P.S.: Sorry for the abbreviations. But it got a bit confusing without
> them due all the 'host's.
(Msg. 3) Posted: Wed Jun 18, 2008 6:08 am
Post subject: Re: Remote Desktop from Linux console [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Perhaps this diagram will make my situation more clear:
http://sameervijaykar.googlepages.com/firewall.jpg
All the hosts inside the firewall can be accessed only through the
host L. Now since L is not running an X server, I cannot start an RDP
session to V from L. I created an ssh connection from L to L2 which
does run an X server but even there I could not start an RDP session,
probably because L is not tunneling the X11 connection. So is there a
way I can start a console RDP connection (either from L or L2) to V?
A different but related question is as follows: I have shared some
folders from V. I tried to access these shares from L using
'smbclient' but I got the following error: "session setup failed:
SUCCESS - 0". Any clues? Perhaps I should post this as a separate
query.
(Msg. 4) Posted: Wed Jun 18, 2008 8:25 am
Post subject: Re: Remote Desktop from Linux console [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Well, if your running a SSH server on L you can connect to V using RDC
through the SSH tunnel. I do, or did, that all the time when I ran a SSH
server on either a PC inside my router or on the router itself, ie. DD-WRT
running on the router. Do you have a SSH server running on L? There are
loads of examples of port forwarding RDC through a SSH tunnel. Here are two
I have used with either the Tunnelier or PuTTY SSH clients, both Windows
programs. In my case I used the regular Windows RDC client to connect
through the tunnel to multiple PCs.
I haven't used a LINUX box since I retired almost six years ago so I can't
answer your samba question. You might start a new thread about that or
hopefully someone else can chime in to help...
--
Al Jarvi (MS-MVP Windows - Desktop User Experience)
Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
How to ask a question
http://support.microsoft.com/KB/555375
"Uncle Sam" <sameervijaykar.TakeThisOut@gmail.com> wrote in message
news:732b77b8-4fdf-4f01-9637-1918dacd1cc9@b1g2000hsg.googlegroups.com...
> Perhaps this diagram will make my situation more clear:
> http://sameervijaykar.googlepages.com/firewall.jpg > All the hosts inside the firewall can be accessed only through the
> host L. Now since L is not running an X server, I cannot start an RDP
> session to V from L. I created an ssh connection from L to L2 which
> does run an X server but even there I could not start an RDP session,
> probably because L is not tunneling the X11 connection. So is there a
> way I can start a console RDP connection (either from L or L2) to V?
>
> A different but related question is as follows: I have shared some
> folders from V. I tried to access these shares from L using
> 'smbclient' but I got the following error: "session setup failed:
> SUCCESS - 0". Any clues? Perhaps I should post this as a separate
> query.
(Msg. 5) Posted: Wed Jun 18, 2008 8:29 am
Post subject: Re: Remote Desktop from Linux console [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Here is an example of forwarding an X session through a SSH tunnel.
Again dependent on being able to connect to a SSH server on your network
from the outside world.
--
Al Jarvi (MS-MVP Windows - Desktop User Experience)
Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
How to ask a question
http://support.microsoft.com/KB/555375
"Sooner Al [MVP]" <SoonerAl.TakeThisOut@somewhere.net.invalid> wrote in message
news:61BFBB0C-B156-447C-AAF1-70B15987BAF1@microsoft.com...
> Well, if your running a SSH server on L you can connect to V using RDC
> through the SSH tunnel. I do, or did, that all the time when I ran a SSH
> server on either a PC inside my router or on the router itself, ie. DD-WRT
> running on the router. Do you have a SSH server running on L? There are
> loads of examples of port forwarding RDC through a SSH tunnel. Here are
> two I have used with either the Tunnelier or PuTTY SSH clients, both
> Windows programs. In my case I used the regular Windows RDC client to
> connect through the tunnel to multiple PCs.
>
> http://theillustratednetwork.mvps.org/Ssh/Configure-Tunnelier.html >
> http://theillustratednetwork.mvps.org/Ssh/RemoteDesktopSSH.html >
> Is your remote client a LINUX box?
>
> http://search.live.com/results.aspx?q=linux+ssh+port+forward&src=IE-SearchBox >
> I haven't used a LINUX box since I retired almost six years ago so I can't
> answer your samba question. You might start a new thread about that or
> hopefully someone else can chime in to help...
>
> --
>
> Al Jarvi (MS-MVP Windows - Desktop User Experience)
>
> Please post *ALL* questions and replies to the news group for the
> mutual benefit of all of us...
> The MS-MVP Program - http://mvp.support.microsoft.com > This posting is provided "AS IS" with no warranties, and confers no
> rights...
> How to ask a question
> http://support.microsoft.com/KB/555375 >
> "Uncle Sam" <sameervijaykar.TakeThisOut@gmail.com> wrote in message
> news:732b77b8-4fdf-4f01-9637-1918dacd1cc9@b1g2000hsg.googlegroups.com...
>> Perhaps this diagram will make my situation more clear:
>> http://sameervijaykar.googlepages.com/firewall.jpg >> All the hosts inside the firewall can be accessed only through the
>> host L. Now since L is not running an X server, I cannot start an RDP
>> session to V from L. I created an ssh connection from L to L2 which
>> does run an X server but even there I could not start an RDP session,
>> probably because L is not tunneling the X11 connection. So is there a
>> way I can start a console RDP connection (either from L or L2) to V?
>>
>> A different but related question is as follows: I have shared some
>> folders from V. I tried to access these shares from L using
>> 'smbclient' but I got the following error: "session setup failed:
>> SUCCESS - 0". Any clues? Perhaps I should post this as a separate
>> query.
>
(Msg. 6) Posted: Wed Jun 18, 2008 10:43 am
Post subject: Re: Remote Desktop from Linux console [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Lastly I forgot to point you to the ssh man page, which I am sure you know
about, if your running LINUX on the remote machine. Check the "X11
FORWARDING" section a little over halfway through the document...
Al Jarvi (MS-MVP Windows - Desktop User Experience)
Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
How to ask a question
http://support.microsoft.com/KB/555375
"Sooner Al [MVP]" <SoonerAl.TakeThisOut@somewhere.net.invalid> wrote in message
news:eOgcOdU0IHA.3504@TK2MSFTNGP06.phx.gbl...
> Here is an example of forwarding an X session through a SSH tunnel.
>
> http://www.linux.org/docs/ldp/howto/XDMCP-HOWTO/ssh.html >
> Again dependent on being able to connect to a SSH server on your network
> from the outside world.
>
> --
>
> Al Jarvi (MS-MVP Windows - Desktop User Experience)
>
> Please post *ALL* questions and replies to the news group for the
> mutual benefit of all of us...
> The MS-MVP Program - http://mvp.support.microsoft.com > This posting is provided "AS IS" with no warranties, and confers no
> rights...
> How to ask a question
> http://support.microsoft.com/KB/555375 >
> "Sooner Al [MVP]" <SoonerAl.TakeThisOut@somewhere.net.invalid> wrote in message
> news:61BFBB0C-B156-447C-AAF1-70B15987BAF1@microsoft.com...
>> Well, if your running a SSH server on L you can connect to V using RDC
>> through the SSH tunnel. I do, or did, that all the time when I ran a SSH
>> server on either a PC inside my router or on the router itself, ie.
>> DD-WRT running on the router. Do you have a SSH server running on L?
>> There are loads of examples of port forwarding RDC through a SSH tunnel.
>> Here are two I have used with either the Tunnelier or PuTTY SSH clients,
>> both Windows programs. In my case I used the regular Windows RDC client
>> to connect through the tunnel to multiple PCs.
>>
>> http://theillustratednetwork.mvps.org/Ssh/Configure-Tunnelier.html >>
>> http://theillustratednetwork.mvps.org/Ssh/RemoteDesktopSSH.html >>
>> Is your remote client a LINUX box?
>>
>> http://search.live.com/results.aspx?q=linux+ssh+port+forward&src=IE-SearchBox >>
>> I haven't used a LINUX box since I retired almost six years ago so I
>> can't answer your samba question. You might start a new thread about that
>> or hopefully someone else can chime in to help...
>>
>> --
>>
>> Al Jarvi (MS-MVP Windows - Desktop User Experience)
>>
>> Please post *ALL* questions and replies to the news group for the
>> mutual benefit of all of us...
>> The MS-MVP Program - http://mvp.support.microsoft.com >> This posting is provided "AS IS" with no warranties, and confers no
>> rights...
>> How to ask a question
>> http://support.microsoft.com/KB/555375 >>
>> "Uncle Sam" <sameervijaykar.TakeThisOut@gmail.com> wrote in message
>> news:732b77b8-4fdf-4f01-9637-1918dacd1cc9@b1g2000hsg.googlegroups.com...
>>> Perhaps this diagram will make my situation more clear:
>>> http://sameervijaykar.googlepages.com/firewall.jpg >>> All the hosts inside the firewall can be accessed only through the
>>> host L. Now since L is not running an X server, I cannot start an RDP
>>> session to V from L. I created an ssh connection from L to L2 which
>>> does run an X server but even there I could not start an RDP session,
>>> probably because L is not tunneling the X11 connection. So is there a
>>> way I can start a console RDP connection (either from L or L2) to V?
>>>
>>> A different but related question is as follows: I have shared some
>>> folders from V. I tried to access these shares from L using
>>> 'smbclient' but I got the following error: "session setup failed:
>>> SUCCESS - 0". Any clues? Perhaps I should post this as a separate
>>> query.
>>
>
(Msg. 7) Posted: Fri Jun 20, 2008 6:05 am
Post subject: Re: Remote Desktop from Linux console [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Thank you very much Mr. Jarvi. The method suggested at the following
link works wonders.
(Msg. 8) Posted: Fri Jun 20, 2008 9:59 am
Post subject: Re: Remote Desktop from Linux console [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Excellent...
Thanks for the feedback...
--
Al Jarvi (MS-MVP Windows - Desktop User Experience)
Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
How to ask a question
http://support.microsoft.com/KB/555375
"Uncle Sam" <sameervijaykar.RemoveThis@gmail.com> wrote in message
news:417764ee-9563-422d-a902-710fdc4972c2@m3g2000hsc.googlegroups.com...
> Thank you very much Mr. Jarvi. The method suggested at the following
> link works wonders.
>
>> http://theillustratednetwork.mvps.org/Ssh/RemoteDesktopSSH.html >
> I can remote desktop to the host V quite effectively.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can 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