LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-01-2007, 02:34 AM   #1
slackers-bengkulu
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
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.
 
Old 03-01-2007, 03:33 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Try this:

http://wiki.linuxquestions.org/wiki/...s_with_XFree86

Last edited by H_TeXMeX_H; 03-01-2007 at 03:48 PM.
 
Old 03-01-2007, 07:34 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
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
 
Old 03-02-2007, 07:15 PM   #4
slackers-bengkulu
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks.

Thanks guys. i'll try it.
 
Old 03-02-2007, 09:17 PM   #5
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
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.
 
Old 03-02-2007, 09:24 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
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.
 
Old 03-03-2007, 10:27 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,727

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
netboot or pxe boot might be the thing you need.
 
Old 03-05-2007, 09:20 AM   #8
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
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
 
Old 03-05-2007, 09:47 AM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,166
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
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.
 
Old 03-05-2007, 04:00 PM   #10
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 384

Rep: Reputation: 34
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
 
Old 05-15-2007, 03:38 AM   #11
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,223

Rep: Reputation: 86
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.
 
Old 05-15-2007, 03:51 AM   #12
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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, ...
 
Old 05-15-2007, 07:05 AM   #13
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,223

Rep: Reputation: 86
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.
 
  


Reply

Tags
dual monitor, nvidia, xinerama


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No CPU temperature display from sensors Dadoo Linux - General 1 11-03-2006 03:43 PM
App to display CPU, disk temperatures? Randux Slackware 8 02-22-2006 03:17 PM
CPU usage display? phsythax Linux - Software 6 11-03-2005 07:15 AM
Superkaramba display cpu temp? bruno buys Linux - Software 1 09-17-2004 10:23 AM
Command to display CPU satimis Linux - Newbie 4 09-13-2004 11:34 AM


All times are GMT -5. The time now is 03:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration