LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A second screen (https://www.linuxquestions.org/questions/linux-newbie-8/a-second-screen-566881/)

shawniecas 07-05-2007 12:21 PM

A second screen
 
I have a 50 inch TV that I need to set up a clone view of with Linux. It works fine with Windows, but when I try it using Linux from the same machine, I get the view on the 50 inch, but not on the monitor itself. How do I get it on both?

lord-fu 07-05-2007 12:24 PM

Hi I have configured Twin View or Dual monitors on my machines before. I use Nvidia and the drivers were able to do this, I had to manually configure the sections within /etc/X11/xorg.conf.
What type of card are you using(are the drivers installed)? How did you configure it within windows? If you are using vga or vesa drivers I ma not sure if they have this capability themselves, I have never tried that route.

shawniecas 07-05-2007 12:33 PM

yeah, I have Nvidia. what exactly did you change in the xorg.conf file...im using red hat and i just went to the main menu --> System Settings --> Display and figured there was something in the Advanced configuration setting I could change, but i don't know...oh and it is a vesa driver

lord-fu 07-05-2007 08:25 PM

Hi I am not sure if it can be accomplished with the vesa driver or not. I would install the nvidia drivers. Here is my xorg.conf.

Code:

# Screen sections
# **********************************************************************
# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"
    Identifier    "AGPTwinView"
    Screen        "Screen AGP TwinView" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

#  ModulePath "/usr/X11R6/lib/modules"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/X11R6/lib/X11/fonts/local/"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/lib/X11/fonts/TTF"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
# This loads the GLX module
    Load          "dbe"        # Double buffer extension
    SubSection    "extmod"
        Option        "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection
    Load          "type1"
    Load          "freetype"
    #Load        "speedo"
    Load          "glx"
EndSection

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver        "kbd"
EndSection

Section "InputDevice"

#  Option "ChordMiddle"
    Identifier    "Mouse1"
    Driver        "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Buttons" "7"
# The mouse device.  The device is normally set to /dev/mouse,
    Option        "Device" "/dev/psaux"
#  Option "Device"      "/dev/ttyS0"
EndSection

Section "Monitor"
    Identifier    "My Monitor"
    HorizSync      31.5 - 72.0
    VertRefresh    75.0 - 120.0
    Option "dpms"
    #DisplaySize 337.5 270.0    #86x86 dpi
    DisplaySize  339.0 271.0  #100dpi
EndSection

Section "Device"
    Identifier    "NV AGP TwinView"
    Driver        "nvidia"
    VendorName    "nvidia"
EndSection

Section "Screen"
# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)
    Identifier    "Screen AGP TwinView"
    Device        "NV AGP TwinView"
    Monitor        "My Monitor"
    DefaultDepth    24
    Option        "TwinView"
    Option        "SecondMonitorHorizSync" "31-82"
    Option        "SecondMonitorVertRefresh" "75-120"
    Option        "TwinViewOrientation" "RightOf"
    Option        "MetaModes" "1280x1024,1024x768"
    #VideoRam    4096
    SubSection    "Display"
        Depth      24
        Modes      "1280x1024"
    EndSubSection
    SubSection    "Display"
        Depth      32
        Modes      "1280x1024"
    EndSubSection
EndSection

I don't use twin view any more and I remember I modified my config a while ago, but I am sure the important pieces are there.

Hope it helps some.


All times are GMT -5. The time now is 01:42 AM.