Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Head and Two GDM Sessions?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Root Moose
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2004
Posts: 112

PostPosted: Mon Sep 22, 2008 3:44 pm    Post subject: Dual Head and Two GDM Sessions? Reply with quote

I have a host setup as a dual head machine using one display card (NVIDIA GeForce 8400 GS).

GDM starts on one display and the other is blank.

After logging in both displays are one large desktop (as expected).

I would like to have a GDM session on each display, and logging into each GDM leading to a unique session. The same keaybaord and mouse must be shared between both sessions (just to be clear - not a full multi seat setup).

How do you configure this?

TIA
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Sat Oct 04, 2008 1:30 pm    Post subject: Reply with quote

sounds like u have clone setup if u have one large display rather than 2 seperate ones, try altering this config to your needs.

Code:
Section "ServerLayout"
    Identifier     "MythTvLayout"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0"      "CorePointer"
    InputDevice    "ati remote"   "CorePointer"
EndSection

#Section "Files"
#    RgbPath         "/usr/lib/X11/rgb"
#EndSection

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

Section "ServerFlags"
    Option  "SuspendTime"               "0"
    Option  "StandbyTime"               "0"
    Option  "BlankTime"                 "0"
    Option  "OffTime"                   "20"
    Option  "AllowMouseOpenFail"        "1"
    Option  "AllowNonLocalXvidtune"     "1"
    Option  "AllowNonLocalModInDev"     "1"
    Option  "Xinerama"                  "0"
    Option  "Dont Zoom"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbRules"      "xorg"
    Option      "XkbLayout"     "uk"
    Option      "XkbModel"      "pc105"
    Option      "AutoRepeat"    "500 30"
EndSection

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

Section "InputDevice"
    Identifier  "ati remote"
    Driver      "mouse"
    Option      "Protocol"      "PS/2"
    Option      "Device"        "/dev/input/mice"
    Option      "SendCoreEvents"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    VendorName  "ASUS"
    ModelName   "ASUS VW193S"
    HorizSync   30.0 - 83.0
    VertRefresh 55.0 - 75.0
    Option      "DPMS"   "0"
EndSection

Section "Monitor"
    Identifier  "Monitor1"
    VendorName  "JVC TV"
    ModelName   "TV-0"
    HorizSync   30 - 50
    VertRefresh 60.0
    Option     "DPMS"   "0"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BoardName   "GeForce FX 5700LE"
    BusID       "PCI:1:0:0"
    Screen      0
    Option      "NoLogo"                        "True"
    Option      "HWcursor"                      "True"
    Option      "NvAGP"                         "1"
    Option      "MultisampleCompatibility"      "True"
    Option      "RenderAccel"                   "True"
    Option      "backingstore"                  "True"
    Option      "RandRRotation"                 "True"
    Option      "TripleBuffer"                  "True"
    Option      "AddARGBGLXVisuals"             "True"
    Option      "AllowGLXWithComposite"         "True"
    Option      "DamageEvents"                  "True"
    Option      "DisableGLXRootClipping"        "True"
    Option      "UseEvents"                     "True"
    Option      "Coolbits"                      "1"
EndSection

Section "Device"
    Identifier  "Videocard1"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BoardName   "GeForce FX 5700LE"
    BusID       "PCI:1:0:0"
    Screen      1
    Option      "NoLogo"                        "True"
    Option      "HWcursor"                      "True"
    Option      "NvAGP"                         "1"
    Option      "MultisampleCompatibility"      "True"
    Option      "RenderAccel"                   "True"
    Option      "backingstore"                  "True"
    Option      "RandRRotation"                 "True"
    Option      "TripleBuffer"                  "True"
    Option      "AddARGBGLXVisuals"             "True"
    Option      "AllowGLXWithComposite"         "True"
    Option      "DamageEvents"                  "True"
    Option      "DisableGLXRootClipping"        "True"
    Option      "UseEvents"                     "True"
    Option      "Coolbits"                      "1"
    Option      "TVOverScan"                    "0.7"
    Option      "TVStandard"                    "PAL-I"
    Option      "TVOutFormat"                   "SVIDEO"
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "Videocard0"
    Monitor     "Monitor0"
    DefaultDepth        24
    Option      "TwinView" "0"
    Option      "metamodes"     "CRT: 1280x1024 +0+0; CRT: 1024x768 +0+0"
    SubSection  "Display"
        Depth   24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Videocard1"
    Monitor    "Monitor1"
    DefaultDepth       24
    Option     "TwinView"      "0"
    Option     "metamodes"     "TV: 720x576 +0+0"
    SubSection "Display"
        Depth  24
    EndSubSection
EndSection

Section "Extensions"
    Option      "DAMAGE" "Enable"
    Option      "Composite" "Enable"
    Option      "RENDER" "Enable"
EndSection



as for starting 2 gdm sessions not really sure exactly, suppose it would depend on how u start x, something like

DISPLAY=:0.1 (command to start gdm here)
DISPLAY=:0.0 (command to start gdm here) in ~/.xinitrc or something should do the trick if u type startx, or alter the default one that runs when startx is called from the rc system, sorry its not a complete answer but maybe it'll give u some ideas, good luck :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum