Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-01-2007, 02:34 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2007
Posts: 2
Rep:
|
One CPU, 4 Display. How to set it up using slackware?
Hello, guys, my school system use one CPU and 4 display to serve our students (there are ten CPU). unfortunately it is using windows and betwin for splitting to four display, enabling 4 user concurently. the question is i want to use linux and want to be able to set it up using slackware.
the general specs are :
the CPU use 1 motherboard using one Intel CPU P4 3.06 GHz, One giga RAM, one VGA in VGA slot, and three VGA in PCI slot. The hard disk capacity is PATA 30 GB.
i know it could be done, but don't know how to start. please somebody help me.
thanks.
|
|
|
|
03-01-2007, 03:33 PM
|
#2
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,630
|
Last edited by H_TeXMeX_H; 03-01-2007 at 03:48 PM.
|
|
|
|
03-01-2007, 07:34 PM
|
#3
|
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
It won't be as hard as it sounds.
What you'll end up doing (instead of Xinerama, cloned, etc) is running an independent X session on each video card / monitor.
This is the method in the wiki above:
2. 'Normal' MultiHead -- Every monitor has a different seperate X screen and session
|
|
|
|
03-02-2007, 07:15 PM
|
#4
|
|
LQ Newbie
Registered: Mar 2007
Posts: 2
Original Poster
Rep:
|
Thanks.
Thanks guys. i'll try it.
|
|
|
|
03-02-2007, 09:17 PM
|
#5
|
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
Not entirely sure either of the above solutions is what the OP asked for.
There is 1 PC, and using BeTwin (thin client-ish software), that PC gets used by 4 people independantly - each has their own mouse, keyboard, and monitor.
http://www.thinsoftinc.com/product_p...ng_betwin.aspx
I have *no* idea how you'd do this under linux. Using separate PCs you could use remote-X, but there would still exist a local PC, clearly not a drop-in replacement. I shall ponder some more while I wait for some thin-client-esque gurus!
- Piete.
|
|
|
|
03-02-2007, 09:24 PM
|
#6
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,630
|
Oh, so it's 4 users all on 1 computer with 4 keyboard and 4 mice and 4 displays ?
Hmmm ... that may be more difficult.
|
|
|
|
03-03-2007, 10:27 AM
|
#7
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,593
|
netboot or pxe boot might be the thing you need.
|
|
|
|
03-05-2007, 09:20 AM
|
#8
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Interesting.. Original poster could specify if each student gets a mouse and keyboard, that would help. I suppose that would be most practical as well.
However, if the situation involves ONE mouse and ONE keyboard per FOUR displays, here's some info which may help you. I am posting my xorg.conf file, which is the configuration file for the X-server.
Now, my system is using ONE graphics card and TWO displays, each display being its own X-screen, and Xinerama DOES have to be enabled for this setup. I use this setup so my DVDROM can be used to play DVDs on the television with Xine Player, while I use the computer. It allows me to move the mouse from screen to screen, and allows applications to be opened and maximized on each screen independently of each other.
You will notice that I have TWO Device sections (each referring to the same video card), TWO Monitor sections, and TWO Screen sections. For your setup, if this is what you want, you would change the file so that there is a Device section for EACH video card, a Monitor section for EACH monitor, and a Screen section for EACH screen.
I hope this helps you, or someone else  and if you need further advice, just post again, and check out the links above that other users have posted.
Also, there is probably a way to add mouses and keyboards to some degree, but I don't know either way. Also, as I am using an nVidia card, your meta-modes areas will be different or maybe even not needed. There are some very good tutorials out there.
Code:
Section "ServerLayout"
Identifier "2Disps-2Xscrs-Xiner"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 1600 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
Load "fbdevhw"
Load "record"
EndSection
Section "ServerFlags"
Option "Xinerama" "1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
# KDS Monitor:
Section "Monitor"
Identifier "Monitor0"
VendorName "KDS Corp"
ModelName "Proview"
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
# Television:
Section "Monitor"
Identifier "Monitor1"
VendorName "General Electric"
ModelName "TV"
HorizSync 30 - 50
VertRefresh 60
EndSection
Section "Device"
Identifier "i810"
Driver "i810"
VendorName "Intel"
BoardName "i854G/PE"
BusID "PCI:00:10:0"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NV18 GeForce4 MX 440 with AGP8X"
BusID "PCI:01:00:0"
Screen 0
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NV18 GeForce4 MX 440 with AGP8X"
BusID "PCI:01:00:0"
Screen 1
EndSection
# KDS Monitor:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "XVideo" "On"
Option "RenderAccel" "On"
Option "HWcursor" "On"
Option "AllowGLXWithComposite" "True"
Option "DamageEvents" "True"
Option "metamodes" "CRT: 1600x1200 +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
# Television:
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "XVideo" "On"
Option "RenderAccel" "On"
Option "HWcursor" "On"
Option "AllowGLXWithComposite" "True"
Option "DamageEvents" "True"
Option "TVStandard" "NTSC-M"
Option "TVOutFormat" "COMPOSITE"
Option "metamodes" "TV: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "Render" "Enable"
EndSection
|
|
|
|
03-05-2007, 09:47 AM
|
#9
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
Another idea - at the last LWE UK, I saw a single PC running 6 clients with their own moue and keyboard and monitor and with little or no degradation in speed or performance.
http://www.linuxworldexpo.co.uk/page...PressID=11/t=m explains how it was used at LWE
http://www.blueloop.net/ is the site for the company.
|
|
|
|
03-05-2007, 04:00 PM
|
#10
|
|
Member
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 384
Rep:
|
Maybe it wouldn't even be so difficult... For some time now KDE offers a feature to start more sessions than the one on tty7 which are on tty8 and up then. Even though for a real multiuser setup it might be advisable not to use KDE (4 times!) but a lighter GUI, this might be a nice starting point as well.
But what I would like to know now is how one can connect 4 keyboards and 4 mice to one box and concurrently use them 
|
|
|
|
05-15-2007, 03:38 AM
|
#11
|
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,179
Rep:
|
Just buy an USB hub and connect 4 keyboards and 4 mice. The next step will be make each work separately.
Maybe someone can tell us how.
|
|
|
|
05-15-2007, 03:51 AM
|
#12
|
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
USB in xorg always was trouble.
Shade's method should work with monitors. Maybe you could do this to make mouse and keyborad work.
Write a script which during boot starts x on monitor 1 (vga card 1), replaces xorg.conf with another one, starts x on 2 monitor (vga card 2), replaces xorg.conf, starts x on 3 monitor, ...
|
|
|
|
05-15-2007, 07:05 AM
|
#13
|
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,179
Rep:
|
Maybe this old thread can be useful :
http://www.linuxquestions.org/questi...ight=X+display
Parameters will need to be changed as the screens are multiple.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:28 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|