LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-31-2005, 08:32 AM   #1
TheGiantPotato
Member
 
Registered: Dec 2003
Location: Kansai, Japan
Distribution: LFS, FedoraCore
Posts: 35

Rep: Reputation: 15
Two physical terminals on one box possible?


Not sure if this belongs in the networking forum or the hardware forum... but I'm not going to be the first one to multi-post so...

If a person has two complete systems, but one system has a proken processor, is it possible to connect the extra screen to an unused monitor port (i.e. the integrated on-board one), and a serial, USB or PS/2 keyboard (given that there are unused slots) and have two terminals fully supported? How is this done? Can X run on both, etc. if there is enough RAM to support that sort of function?

Thanks
 
Old 07-31-2005, 05:11 PM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
You can of course connect two monitors at the same time and run dual-head. I'm not sure why you would want to connect two keyboards and two mice though as you're only running one OS on the PC.
 
Old 08-01-2005, 05:06 AM   #3
TheGiantPotato
Member
 
Registered: Dec 2003
Location: Kansai, Japan
Distribution: LFS, FedoraCore
Posts: 35

Original Poster
Rep: Reputation: 15
I have found a little more information on dual-heading, as this turns out to be called. The main reason I want to give two users the ability to use the same computer at once (email, web, word processing, etc) is so I can task one computer out to be the web-interface computer, and repair the higher-performance one and make it the serious crunching machine. The vast majority of your processing cycles are wasted anyway, and there is no noticable loss in speed unless both users are actively starting apps at the same time, or running something highly compute-intensive, such as a game or performing a large compile.

Instead of shelling out a few hundred bucks to buy another computer or two, I can just hook spare peripherals to the same box and have them operate different virtual console sessions simultaneously.

As I mentioned, I ran across a little information on doing this earlier, but it is very difficult to find. As I learn more, I'll post it here, or probably just wind up writing a full-on tutorial on how to multi-head in this way and post it somewhere. For networking a single house, this makes a lot of sense anyway, and could be a practical solution for a lot of small offices as well.

As far as I can find, the 2.6 kernel already supports this (and in fact, Unix always did from the start -- it was the whole point of the Xterminal concept, actually -- but the actual input of multiple keyboards and mice being hooked up to the same physical box but dedicated to specific consoles always required a workaround until now). The most complicated part is setting up and initializing the second monitor, and initializing X to start a second, independent session in another console.

At the moment, nearly every Linux box has several virtual consoles available which roughly correspond to the function keys. X uses console 7 by default. If you are using X right now, press ALT+CTRL+F1 to switch to console 1 now to see what I'm talking about. To get back to X, ALT+CTRL+F7 will bring you back into your current X session. The trick is to intialize and setup another independent X server session to run alongside this one on console 6, for instance. Then segregate the input devices you want to use for that console. From what I've read, the most straight-forward configurations involve using a set of PS/2 devices and a set of USB devices, as it is very difficult to get which one is which mixed up.

Then you boot from the primary display and input devices, and then switch to another console in the secondary display and input devices and start the extra X server. If you had limitless graphics cards, RAM, and USB hubs and peripherals, you could effectively operate your home computer the way the old multi-terminal systems were operated, with a terminal in each room of your house all connected to one, single computer in place of buying a fully-functional new computer that will sit idle 99% of its processing time performing no work.

This does not seem unreasonable for common web, multi-media and information manipulation tasks (i.e. word processing, making presentations, listening to music, etc.). Of course, to play serious games, use a serious 3D CAD program, do almost anything useful with the GIMP, etc. this won't work out so hot.
 
  


Reply


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
Physical memsize reejadb04 Linux - Hardware 2 03-15-2005 09:36 AM
get Physical memory in C/C++ Dreampainter Programming 1 10-30-2004 08:54 PM
Terminals - spying on local terminals with ssh BeatRyder Linux - Software 5 10-21-2004 01:47 AM
How Much Physical Memory ? tied2 Linux - Newbie 3 06-17-2002 01:30 AM
physical name IcyHot Linux - General 12 11-01-2001 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:02 AM.

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