Zwei unabhängige Desktops, Dualview

Dieses Thema im Forum "Linux & BSD" wurde erstellt von -idur-, 21. Mai 2009 .

Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. 21. Mai 2009
    Moin,

    ich hab mein LCD-Fernseher an mein Rehcner angeschlossen und möchte jetzt sozusagen ne neue X-Session starten. Auf tty7 soll weiterhin mein "normaler Desktop" sein und wenn ich auf tty8 umschalte, will ich aufm Fernseher landen und da Filme usw. abspielen können. Ich hoffe, das war verständlich^^
    Xinerama oder Twinview oder so brauch ich nicht. Einfach zwei unabhängige Desktop, wo ich hin und her switchen kann.

    Hab mal meine xorg.conf editiert und folgendes kam dabei raus:
    Code:
    Section "ServerLayout"
     Identifier "X.org Configured"
     Screen 0 "Screen0" 0 0
     InputDevice "Mouse0" "CorePointer"
     InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
     ModulePath "/usr/lib/xorg/modules"
     FontPath "/usr/share/fonts/misc"
     FontPath "/usr/share/fonts/100dpi:unscaled"
     FontPath "/usr/share/fonts/75dpi:unscaled"
     FontPath "/usr/share/fonts/TTF"
     FontPath "/usr/share/fonts/Type1"
    EndSection
    
    Section "Module"
     Load "glx"
     Load "extmod"
     Load "dbe"
     Load "xtrap"
     Load "freetype"
    EndSection
    
    Section "InputDevice"
     Identifier "Keyboard0"
     Driver "kbd"
    EndSection
    
    Section "InputDevice"
     Identifier "Mouse0"
     Driver "mouse"
     Option "Protocol" "auto"
     Option "Device" "/dev/input/mice"
     Option "ZAxisMapping" "4 5 6 7"
    EndSection
    
    ########### TFT ###########
    Section "Monitor"
     Identifier "Eizo"
     HorizSync 30.0 - 130.0
     VertRefresh 50.0 - 100.0
     Option "DPMS"
    EndSection
    
    Section "Device"
     Identifier "Card0"
     Driver "nvidia"
     BusID "PCI:1:0:0"
     Screen 0
    EndSection
    
    Section "Screen"
     Identifier "Screen0"
     Device "Card0"
     Monitor "Eizo"
     DefaultDepth 24
     SubSection "Display"
     Depth 24
     Modes "1280x1024"
     EndSubSection
     Option "RenderAccel" "True"
     Option "AllowGLXWithComposite" "True"
     Option "AddARGBGLXVisuals" "True"
    EndSection
    
    ########### Fernseher ###########
    Section "Monitor"
     Identifier "Sony"
     HorizSync 30.0 - 130.0
     VertRefresh 50.0 - 100.0
     Option "DPMS"
    EndSection
    
    Section "Device"
     Identifier "Card0"
     Driver "nvidia"
     BusID "PCI:1:0:0"
     Screen 1
    EndSection
    
    Section "Screen"
     Identifier "Screen1"
     Device "Card0"
     Monitor "Sony"
     DefaultDepth 24
     SubSection "Display"
     Depth 24
     Modes "1366x768"
     EndSubSection
     Option "RenderAccel" "True"
     Option "AllowGLXWithComposite" "True"
     Option "AddARGBGLXVisuals" "True"
    EndSection
    
    Section "Extensions"
     Option "Composite" "Enable"
    EndSection
    
    Das funktioniert allerdings nicht, denn wenn ich X neustarte bleibt mein Fernseher einfach schwarz.
    Kann es sein, dass ich die zweite Session noch irgendwie manuell starten muss?

    Greetz

    PS: achja, ich verwende ArchLinux mit gnome...


    EDIT:
    habs jetzt nach ner anleitung gemacht: nVidia/TV-OUT - Wikibooks, open books for an open world

    mein xorg.conf ist jetzt so:
    Code:
    Section "Files"
     ModulePath "/usr/lib/xorg/modules"
     FontPath "/usr/share/fonts/misc"
     FontPath "/usr/share/fonts/100dpi:unscaled"
     FontPath "/usr/share/fonts/75dpi:unscaled"
     FontPath "/usr/share/fonts/TTF"
     FontPath "/usr/share/fonts/Type1"
    EndSection
    
    Section "Module"
     Load "glx"
     Load "extmod"
     Load "dbe"
    # Load "xtrap" hab ich auskommentiert, weil er die zwei irgendwie nich laden konnte
    # Load "freetype"
    EndSection
    
    Section "Extensions"
     Option "Composite" "Enable"
    EndSection
    
    Section "InputDevice"
     Identifier "Keyboard0"
     Driver "kbd"
    EndSection
    
    Section "InputDevice"
     Identifier "Mouse0"
     Driver "mouse"
     Option "Protocol" "auto"
     Option "Device" "/dev/input/mice"
     Option "ZAxisMapping" "4 5 6 7"
    EndSection
    
    ########### TFT ############
    Section "ServerLayout"
     Identifier "TFT"
     Screen 0 "Screen_TFT" 0 0
     InputDevice "Mouse0" "CorePointer"
     InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Monitor"
     Identifier "TFT"
     HorizSync 30.0 - 130.0
     VertRefresh 50.0 - 100.0
     Option "DPMS"
    EndSection
    
    Section "Device"
     Identifier "Card_TFT"
     Driver "nvidia"
     BusID "PCI:1:0:0"
    EndSection
    
    Section "Screen"
     Identifier "Screen_TFT"
     Device "Card_TFT"
     Monitor "TFT"
     DefaultDepth 24
     SubSection "Display"
     Depth 24
     Modes "1280x1024"
     EndSubSection
    EndSection
    
    ########### Fernseher ###########
    Section "ServerLayout"
     Identifier "TV"
     Screen 0 "Screen_TV" 0 0
     InputDevice "Mouse0" "CorePointer"
     InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Monitor"
     Identifier "TV"
     HorizSync 30.0 - 130.0
     VertRefresh 50.0 - 100.0
     Option "DPMS"
    EndSection
    
    Section "Device"
     Identifier "Card_TV"
     Driver "nvidia"
     BusID "PCI:1:0:0"
     Option "TVOutFormat" "COMPOSITE" # Or "SVIDEO"
     Option "TVStandard" "PAL-B"
     Option "ConnectedMonitor" "TV"
    EndSection
    
    Section "Screen"
     Identifier "Screen_TV"
     Device "Card_TV"
     Monitor "TV"
     DefaultDepth 24
     SubSection "Display"
     Depth 24
     Modes "1366x768"
     EndSubSection
    EndSection
    
    Wenn ich jetzt allerdings das zweite Layout starten will, bringt er folgenden Fehler:
    Code:
    [ich@arch ~]$ X :1 -layout TV
    
    X.Org X Server 1.6.1
    Release Date: 2009-4-14
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.29-ARCH x86_64 
    Current Operating System: Linux arch 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 29 15:36:46 CEST 2009 x86_64
    Build Date: 15 April 2009 11:01:49AM
     
     Before reporting problems, check http://wiki.x.org
     to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
     (++) from command line, (!!) notice, (II) informational,
     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Thu May 21 15:27:02 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    > Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    
    EDIT 2: läuft jetzt irgendwie doch... aber immer noch nich so, wie ichs gern hätte... hmpf

    EDIT 3: is das ein mist -.- ich versuchs dann dcoh mal mit twinview... vllt klappt das ja besser
    => closed
     
  2. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.