Thanks everybody. I'd like to report success in configuring dual
monitors/dual cards within an LTSP environment. I would like to point
out my error in my previous lts.conf where instead of XF86CONFIG_FILE
, I placed XF86_CONFIG. My final xorg.conf (for the sole client that
my LTSP serves) was derived using the following steps:

1. Boot the client into shell only.
2. On the command line, /usr/X11R6/bin/X -configure
3. The dual headed display should come up and will write to a new xorg.conf
3. Take note of where the file (xorg.conf) will be saved, in my case
it went to /root/xorg.conf
4. scp the xorg.conf to your LTSP server (most probably you would
wanna put it in /opt/ltsp/i386/etc)
5. Modify lts.conf and point it to your new xorg.conf
6. Reboot client

Here's my working lts.conf:

[Default]
        SERVER             = 192.168.10.1
        XSERVER            = auto
        XF86CONFIG_FILE    = xorg.conf
        X_MOUSE_PROTOCOL   = "PS/2"
        X_MOUSE_DEVICE     = "/dev/psaux"
        X_MOUSE_RESOLUTION = 400
        X_MOUSE_BUTTONS    = 3
        USE_XFS            = N
        SCREEN_01          = startx
        SCREEN_02          = shell
        X_MODE_0           = 800x600

And here's the xorg.conf generated from the shell on the LTSP client:

Section "ServerLayout"
        Identifier     "X.org 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     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dri"
        Load  "dbe"
        Load  "glx"
        Load  "xtrap"
        Load  "record"
        Load  "extmod"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        #DisplaySize      280   210     # mm
        Identifier   "Monitor0"
        VendorName   "GSM"
        ModelName    "505G"
 ### Uncomment if you don't want to default to DDC:
#       HorizSync    30.0 - 54.0
#       VertRefresh  50.0 - 120.0
        Option      "DPMS"
EndSection

Section "Monitor"
        #DisplaySize      330   250     # mm
        Identifier   "Monitor1"
        VendorName   "GSM"
        ModelName    ""
 ### Uncomment if you don't want to default to DDC:
#       HorizSync    30.0 - 71.0
#       VertRefresh  50.0 - 160.0
        Option      "DPMS"
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     "NoAccel"                   # [<bool>]
        #Option     "HWCursor"                  # [<bool>]
        #Option     "SWCursor"                  # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "UseBIOS"                   # [<bool>]
        #Option     "LCDClock"                  # <freq>
        #Option     "ShadowStatus"              # [<bool>]
        #Option     "CrtOnly"                   # [<bool>]
        #Option     "TvOn"                      # [<bool>]
        #Option     "PAL"                       # [<bool>]
        #Option     "ForceInit"                 # [<bool>]
        #Option     "Overlay"                   # [<str>]
        #Option     "TransparencyKey"           # [<str>]
        Identifier  "Card0"
        Driver      "savage"
        VendorName  "S3 Inc."
        BoardName   "Savage 4"
        BusID       "PCI:0:10: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     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        Identifier  "Card1"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

I have one more concern though. How do I make the LTSP client have a
"Spanning Desktop" (where the user can drag the window from one
monitor to the other and vice versa) instead of "Individual Desktop"
settings? Thanks for any pointers.

On 3/22/06, Gudmund Areskoug <[EMAIL PROTECTED]> wrote:
> Hi Andy,
>
> Andy Rabagliati wrote:
> > On Wed, 22 Mar 2006, Martin Woolley wrote:
> >
> >> A bit off topic but here is how to setup a six-headed, six-user Linux 
> >> system
> >> http://linuxgazette.net/124/smith.html which could be an alternative to 
> >> LTSP
> >> for a very small installation.
> >
> > See also :-
> >
> >       http://www.linux.com/howtos/Framebuffer-HOWTO-14.shtml
> >
> >       
> > http://www.hp.com/hpinfo/newsroom/press_kits/2004/einclusion/ds_441_desktops.pdf
> >
> > What /I/ think would be interesting would be a howto on a Thin clients
> > with two /separate/ heads - in other words two screens, keyboards, mice.
> >
> > You would probably need two Xservers, but only about 128Meg RAM, booting
> > like a regular Thin Client.
>
> I believe it's already been discussed a bit, check the archives (autumn
> 2005?)
>
> BR,
> Gudmund
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to