[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] multiheading ltsp thin client



here is a post from the ltsp mailing list on this subject where someone
answered me for others that are interested in this.
scott carle

Darrel Bond on the ltsp-discuss list offered this.


It's pretty easy if you generate a fresh XF86Config for each multihead 
display.
I put my special XConfig files in a directory under 
/opt/ltsp/i386/etc/XConfig/<terminal_name>
Substitute the terminal name for <terminal_name> eg ws001

Start the terminal in run level 3
At the prompt on the client
# cd /tmp
# HOME=/tmp
# export HOME

# /usr/X11R6/bin/XFree86 -configure

This is create a file called /tmp/XF86Config.new

You must copy this file into /opt/ltsp/i386/etc/XConfig/terminal_name by
whatever means you can. I have set up telnet access to the clients so 
that I can cut and paste it into an editor on the server.

Add the line
       XF86CONFIG_FILE = XFConfig/terminal_name

And it should work.
I always edit the file to fix some things like the Font Path and set the
actual resolution etc. The file will be specific to a particular monitor
set as well.

Example file:
Section "ServerLayout"
       Identifier     "XFree86 Configured"
       Screen      0  "Screen0" 0 0
       Screen      1  "Screen1" RightOf "Screen0"
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
       RgbPath      "/usr/X11R6/lib/X11/rgb"
       ModulePath   "/usr/X11R6/lib/modules"
       FontPath     "tcp/192.168.2.191:7100"
EndSection

Section "Module"
       Load  "dbe"
       Load  "dri"
       Load  "extmod"
       Load  "glx"
       Load  "pex5"
       Load  "record"
       Load  "xie"
EndSection

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "keyboard"
EndSection

Section "InputDevice"
       Identifier  "Mouse0"
       Driver      "mouse"
       Option      "Protocol" "PS/2"
       Option      "Device" "/dev/psaux"
EndSection

Section "Monitor"
       Identifier   "Monitor0"
       VendorName   "SNY"
       ModelName    "CPD-E220"
       #HorizSync    30.0 - 85.0
       #VertRefresh  48.0 - 120.0
       HorizSync    30.0 - 69.0
       VertRefresh  50.0 - 110.0
EndSection

Section "Monitor"
       Identifier   "Monitor1"
       VendorName   "GQP"
       ModelName    "2a"
       HorizSync    30.0 - 69.0
       VertRefresh  50.0 - 110.0
EndSection


Section "Device"
       ### Available Driver options are:-
       ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
       ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "SWcursor"                  # [<bool>]
       #Option     "HWcursor"                  # [<bool>]
       #Option     "PciRetry"                  # [<bool>]
       #Option     "SyncOnGreen"               # [<bool>]
       #Option     "NoAccel"                   # [<bool>]
       #Option     "ShowCache"                 # [<bool>]
       #Option     "Overlay"                   # [<str>]
       #Option     "MGASDRAM"                  # [<bool>]
       #Option     "ShadowFB"                  # [<bool>]
       #Option     "UseFBDev"                  # [<bool>]
       #Option     "ColorKey"                  # <i>
       #Option     "SetMclk"                   # <freq>
       #Option     "OverclockMem"              # [<bool>]
       #Option     "VideoKey"                  # <i>
       #Option     "Rotate"                    # [<str>]
       #Option     "TexturedVideo"             # [<bool>]
       #Option     "Crtc2Half"                 # [<bool>]
       #Option     "Crtc2Ram"                  # <i>
       #Option     "Int10"                     # [<bool>]
       #Option     "AGPMode"                   # <i>
       #Option     "DigitalScreen"             # [<bool>]
       #Option     "TV"                        # [<bool>]
       #Option     "TVStandard"                # [<str>]
       #Option     "CableType"                 # [<str>]
       #Option     "NoHal"                     # [<bool>]
       #Option     "SwappedHead"               # [<bool>]
       #Option     "DRI"                       # [<bool>]
       Identifier  "Card0"
       Driver      "mga"
       VendorName  "Matrox"
       BoardName   "MGA G400 AGP"
       BusID       "PCI:1:0:0"
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
       ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "SWcursor"                  # [<bool>]
       #Option     "HWcursor"                  # [<bool>]
       #Option     "NoAccel"                   # [<bool>]
       #Option     "ShowCache"                 # [<bool>]
       #Option     "ShadowFB"                  # [<bool>]
       #Option     "UseFBDev"                  # [<bool>]
       #Option     "Rotate"                    # [<str>]
       #Option     "VideoKey"                  # <i>
       #Option     "FlatPanel"                 # [<bool>]
       Identifier  "Card1"
       Driver      "nv"
       VendorName  "NVidia"
       BoardName   "Riva Ultra 64"
       BusID       "PCI:0:8:0"
EndSection

Section "Screen"
       Identifier "Screen0"
       Device     "Card0"
       Monitor    "Monitor0"
       DefaultDepth 8
       SubSection "Display"
               Depth     1
       EndSubSection
       SubSection "Display"
               Depth     4
       EndSubSection
       SubSection "Display"
               Depth     8
               Modes "1024x768"
       EndSubSection
       SubSection "Display"
               Depth     15
       EndSubSection
       SubSection "Display"
               Depth     16
       EndSubSection
       SubSection "Display"
               Depth     24
       EndSubSection
EndSection

Section "Screen"
       Identifier "Screen1"
       Device     "Card1"
       Monitor    "Monitor1"
       DefaultDepth 8
       SubSection "Display"
               Depth     1
       EndSubSection
       SubSection "Display"
               Depth     4
       EndSubSection
       SubSection "Display"
               Depth     8
               Modes "1024x768"
       EndSubSection
       SubSection "Display"
               Depth     15
       EndSubSection
       SubSection "Display"
               Depth     16
       EndSubSection
       SubSection "Display"
               Depth     24
       EndSubSection
EndSection











On Wed, 2003-07-09 at 06:32, Martin Stevens wrote:
> Never multiheaded a ltsp thin clients but I have on a workstation.
> 
> So i would probably assume the way you go about it would be......
> 
> check out dotfiles.com for X configs
> 
> Make sure you have the correct X server - you don't say what cards your
> using
> 
> Get the X config correct and make sure that this that the particular X
> config would be sent to the correct thin client. I'm sure you can specify an
> X config for a clients but at the moment I don't know how to do this so it
> will be left as an exercise for the reader :-)
> 
> I would probably start with a single head customised X config then add the
> second screen/card once i had confirmed that this is working.
> 
> 
> Martin Stevens
> Network Manager
> Chace Community School
> Website : http://www.chace.enfield.sch.uk e-mail :
> stevens chace enfield sch uk
> ----- Original Message ----- 
> From: "Scott Carle" <scarle lurhq com>
> To: <k12osn redhat com>
> Sent: Tuesday, July 08, 2003 4:54 PM
> Subject: [K12OSN] multiheading ltsp thin client
> 
> 
> > has anyone multiheaded a ltsp thin client or seen anyone else do it or
> > talk about it? We are looking at trying this and wanted to find out if
> > it is possible.
> >
> > -- 
> > Scott Carle
> > Lurhq Corp
> >
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN redhat com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-- 
Scott Carle
Intrusion Detection Analyst 
Lurhq Corp




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]