Getting a "window" into your linux box

Getting a "window" into your linux box

Post by George Bel » Sun, 25 Nov 2001 09:16:08



The other day I was thinking how one might go about combining a Linux box
with another running Windows with a single monitor in the most convenient
way.  I know there are a lot of emulators, network methods, etc.  but I was
thinking of something a little simpler, where one would not have to deal
with an extra layer of software, or slow network connections.  The best
idea I could come up with, although it might be a little expensive, is to
equip the linux box with a graphics card with a "TV IN" like as found on
some ATI cards.  Then arrange for the windows video out to be routed
somehow to the ATI card like it was from a TV, only it's from a computer.  
If this could be done, then you could display the output from the windows
box concurrently in a separate window on your desktop that you could
resize, minimize, etc.  Very convenient, and nothing to slow things down.  
I wonder if anyone's tried this?
--
_________________________________________________________________________
George Bell/   |   "Doug, you're suffering from a schizoid embolism."
Arlington/ VA  |   <Coffee && Doughnuts
 
 
 

Getting a "window" into your linux box

Post by jvbra » Mon, 26 Nov 2001 00:54:52



Quote:> The other day I was thinking how one might go about combining a Linux box
> with another running Windows with a single monitor in the most convenient
> way.  I know there are a lot of emulators, network methods, etc.  but I
was
> thinking of something a little simpler, where one would not have to deal
> with an extra layer of software, or slow network connections.  The best
> idea I could come up with, although it might be a little expensive, is to
> equip the linux box with a graphics card with a "TV IN" like as found on
> some ATI cards.  Then arrange for the windows video out to be routed
> somehow to the ATI card like it was from a TV, only it's from a computer.
> If this could be done, then you could display the output from the windows
> box concurrently in a separate window on your desktop that you could
> resize, minimize, etc.  Very convenient, and nothing to slow things down.
> I wonder if anyone's tried this?
> --
> _________________________________________________________________________
> George Bell/   |   "Doug, you're suffering from a schizoid embolism."
> Arlington/ VA  |   <Coffee && Doughnuts

I'm not sure the resolution would be too good - TV resolution is much lower
than the standard 1024x768 you get with computers. Depending on your
location, PAL gives you 625 lines (ie vertical resolution) and NTSC 525
lines.

One thing you could do would be to run a VNC server on the Windows boc, VNC
client on the Linux box. Clearly you're concerned about slowing the network
down so why not install an extra NIC in each machine, connect with a
crossover cable, and have a dedicated bandwidth just for the VNC data
transfer? Probably cheaper than buying a TV card and coax cable, and
certainly better resolution.

james.

 
 
 

Getting a "window" into your linux box

Post by George Bel » Mon, 26 Nov 2001 07:08:11


Quote:> I'm not sure the resolution would be too good - TV resolution is much
> lower than the standard 1024x768 you get with computers. Depending on your
> location, PAL gives you 625 lines (ie vertical resolution) and NTSC 525
> lines.

> One thing you could do would be to run a VNC server on the Windows boc,
> VNC client on the Linux box. Clearly you're concerned about slowing the
> network down so why not install an extra NIC in each machine, connect with
> a crossover cable, and have a dedicated bandwidth just for the VNC data
> transfer? Probably cheaper than buying a TV card and coax cable, and
> certainly better resolution.

> james.

Yes, I see your point.  Why have two video cards for one monitor?  And I've
also left out the communication with the keyboard and mouse.

Although, since distance is not an issue here, perhaps an even simpler
solution is possible.  If the computers are close together, then why not
connect them with an ECP Parallel Ports instead?  This would also eliminate
the overhead and delays involved with packageing data for sending and
recieving over NICS, and parallel ports are already standard come with most
computers anyway. Wouldn't the parallel port give as much or more bandwidth
in this situation? (If not, I guess one could also try to equip both
computers with SCSI ports - which may be expensive, I don't know.)  Then a
daemon in the windows box could (theoretically) route/buffer the video data
out the pp and recieve mouse clicks/keyboard commands through the pp.  On
the linux side there's more flexibility.  I imagine you could hack the
kernal so that input from a given parallel port could always be written to
say, /dev/tty3, and all mouse clicks and keyboard punches would be written
to the pp from tty3.  Otherwise, I suppose a daemon could be written to do
the same job. Maybe the VNC or other existing software could be used or
modified.  
--
_________________________________________________________________________
George Bell/   |   "Doug, you're suffering from a schizoid embolism."
Arlington/ VA  |   <Coffee && Doughnuts

 
 
 

Getting a "window" into your linux box

Post by John-Paul Stewar » Tue, 27 Nov 2001 01:50:16



> > I'm not sure the resolution would be too good - TV resolution is much
> > lower than the standard 1024x768 you get with computers. Depending on your
> > location, PAL gives you 625 lines (ie vertical resolution) and NTSC 525
> > lines.

> > One thing you could do would be to run a VNC server on the Windows boc,
> > VNC client on the Linux box. Clearly you're concerned about slowing the
> > network down so why not install an extra NIC in each machine, connect with
> > a crossover cable, and have a dedicated bandwidth just for the VNC data
> > transfer? Probably cheaper than buying a TV card and coax cable, and
> > certainly better resolution.

> > james.

> Yes, I see your point.  Why have two video cards for one monitor?  And I've
> also left out the communication with the keyboard and mouse.

> Although, since distance is not an issue here, perhaps an even simpler
> solution is possible.  If the computers are close together, then why not
> connect them with an ECP Parallel Ports instead?  

That sounds a lot like PLIP.  (Essentially TCP/IP over the
parallel port.)

Quote:> This would also eliminate
> the overhead and delays involved with packageing data for sending and
> recieving over NICS, and parallel ports are already standard come with most
> computers anyway.

You'd then have the overhead of packaging it for the
parallel port instead.

Quote:> Wouldn't the parallel port give as much or more bandwidth
> in this situation?

I don't think so.  An ECP parallel port might come close to
10Mbit ethernet.  (I'm not sure of ECP's bandwidth.)  But it
certainly won't come close to 100Mbit ethernet.

Quote:> (If not, I guess one could also try to equip both
> computers with SCSI ports - which may be expensive, I don't know.)  

Much, much more expensive.  10/100 ethernet cards are under
$30 Canadian (under $20 U.S.).  SCSI provides a lot more
bandwidth, but at a much higher cost.  And connecting two
computers via SCSI is unusual (although possible, I
believe).

Quote:> Then a
> daemon in the windows box could (theoretically) route/buffer the video data
> out the pp and recieve mouse clicks/keyboard commands through the pp.  On
> the linux side there's more flexibility.  I imagine you could hack the
> kernal so that input from a given parallel port could always be written to
> say, /dev/tty3, and all mouse clicks and keyboard punches would be written
> to the pp from tty3.  Otherwise, I suppose a daemon could be written to do
> the same job. Maybe the VNC or other existing software could be used or
> modified.

VNC should run unmodified on PLIP, SLIP (serial), or any
other TCP/IP network.
 
 
 

Getting a "window" into your linux box

Post by George Bel » Tue, 27 Nov 2001 10:27:59


Quote:

> VNC should run unmodified on PLIP, SLIP (serial), or any
> other TCP/IP network.

OK! So I guess it's already been done!  All I have to do then is get this
VNC, and maybe some NICS.
--
_________________________________________________________________________
George Bell/   |   "Doug, you're suffering from a schizoid embolism."
Arlington/ VA  |   <Coffee && Doughnuts
 
 
 

Getting a "window" into your linux box

Post by George Bel » Tue, 27 Nov 2001 06:16:34


Quote:

> VNC should run unmodified on PLIP, SLIP (serial), or any
> other TCP/IP network.

OK! So I guess it's already been done!  All I have to do then is get this
VNC, and maybe some NICS.
--
_________________________________________________________________________
George Bell/   |   "Doug, you're suffering from a schizoid embolism."
Arlington/ VA  |   <Coffee && Doughnuts
 
 
 

Getting a "window" into your linux box

Post by Patrick I Taylo » Sun, 09 Dec 2001 02:28:14



> Although, since distance is not an issue here, perhaps an even simpler
> solution is possible.  If the computers are close together, then why not
> connect them with an ECP Parallel Ports instead?  This would also eliminate
> the overhead and delays involved with packageing data for sending and
> recieving over NICS, and parallel ports are already standard come with most
> computers anyway. Wouldn't the parallel port give as much or more bandwidth
> in this situation?

I think dedicated 100 BT cards would be faster than ECP.

Pt

 
 
 

Getting a "window" into your linux box

Post by moonie ; » Sun, 09 Dec 2001 08:14:35




> > Although, since distance is not an issue here, perhaps an even simpler
> > solution is possible.  If the computers are close together, then why not
> > connect them with an ECP Parallel Ports instead?  This would also eliminate
> > the overhead and delays involved with packageing data for sending and
> > recieving over NICS, and parallel ports are already standard come with most
> > computers anyway. Wouldn't the parallel port give as much or more bandwidth
> > in this situation?

> I think dedicated 100 BT cards would be faster than ECP.

> Pt

In the extreme, Parallel ports weren't designed for this kind of data
transfer, they will work, but extremely slow compared with even 10BaseT
cards.

moonie ;)