Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-09-2005, 05:31 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 25

Rep: Reputation: 15
GUI through serial connection?

I am working on a solution for remote administration of an very secure and isolated network. I had built a stripped down linux box that is remotely accessible through some very stringent access controls and then attached a serial cable from that box to a box on the secured network. With this solution I am able to connect to the external box and then connect to the box on the secured network via minicom and have basic command line access to the box on that network.

Right now I'm trying to kick it up a notch and find a solution so that I may access GUI tools on the box located on the secured network via the serial connection. I did a little digging but didn't come up with any luck.. I was thinking along the lines of finding a way to ssh through the serial connection and then tunnel X through the ssh connection. Is that possible? Any recommendations?

Old 09-09-2005, 05:42 PM   #2
LQ Newbie
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
i think i just thought of a solution... dont know why this didnt hit me before. Perhaps just load an extra NIC in each of the PCs... connect them via ethernet and hardcode the NICs to be on the same private network. Wahlah.. ssh in business. Any thoughts?
Old 09-09-2005, 05:57 PM   #3
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Ethernet is probably the way to go but you could run ppp or slip over the serial link and achieve the same result restricted to RS232 speeds.

If the box on the secured network runs Linux too:

If the box on the secured network runs Windows

Last edited by Snowbat; 09-09-2005 at 06:12 PM.
Old 09-15-2005, 12:25 PM   #4
LQ Newbie
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for the links.. ima start digging through them in a sec. I realized a problem with the ethernet solution. If I am secure shelling to the external box from some remote site.. and then securing shelling from there to the internal box, I cant forward X over the ssh hop, or at least any way that I know of right off hand.
Old 09-15-2005, 12:41 PM   #5
LQ Newbie
Registered: Jul 2004
Posts: 25

Original Poster
Rep: Reputation: 15
caught myself in a lie.. should be checkin more before typing

using the SSH -X tag for secure shell works just fine so long as you use that argument on both hops.

Remote Pc ----(ssh -X)----> External PC ------(ssh -X)----> internal PC

Remote Pc -----(ssh)------> External PC -------(ssh -X)------> internal PC
No good!

So long as you carry the -X argument through all your hops it looks like there is no problems forwarding GUI. I'm sure I could have read that somewhere but nothing beats an actually test.

Looks like I got this in the bag. Thanks!


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
serial connection from Windows kpachopoulos General 1 03-21-2005 05:21 PM
Serial connection with windows xp exvor Linux - Software 1 11-20-2004 02:05 PM
Serial connection ejbest Linux - Newbie 1 08-15-2004 11:52 AM
Serial Connection? Mack_T Linux - Networking 2 09-26-2003 09:31 AM
Simple Serial Connection Bloughry Linux - General 0 09-20-2001 07:17 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:37 PM.

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