SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-01-10 21:43:40

Captain Cock
New Member
Registered: 2010-01-10
Posts: 4

Dual monitors - second display not being recognized by Openbox.

I'm trying to set up dual monitors.  I got xorg.conf configured, so X11 recognizes the monitor just fine (that X cursor is there and I can move it around, but nothing else happens.), but openbox isn't running on that monitor.  How would I get openbox running on both monitors and not just my primary one?

Some relevant specifications, if they matter:
Graphics card - Nvidia 8400 GS
Primary monitor - CRT from a scrap pile, branded as "CTX," recognized by nvidia settings as "Chuntex."  Resolution is 1600x1200
Secondary monitor - Flat panel from a closet, Viewsonic Q9-2.  Branded as Optiquest Q9.  Resolution is 1280x1024

And my xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Sun Feb  1 20:21:04 UTC 2009

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Chuntex"
    HorizSync       30.0 - 95.0
    VertRefresh     50.0 - 160.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "ViewSonic Q9-2 Series"
    HorizSync       30.0 - 80.0
    VertRefresh     55.0 - 75.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

If there is anything else I need to post let me know.  I'd like to get this working as soon as possible.

Offline

Be excellent to each other!

#2 2010-01-10 22:46:37

Captain Cock
New Member
Registered: 2010-01-10
Posts: 4

Re: Dual monitors - second display not being recognized by Openbox.

Any help?

Offline

#3 2010-01-10 23:34:44

Matt-SD
#! Member
From: Australia
Registered: 2009-12-27
Posts: 61
Website

Re: Dual monitors - second display not being recognized by Openbox.

Try running this:

xrandr --output VGA --mode 1600x1200 --output VGA2 --mode 1280x1024 --right-of VGA

Explanation:
VGA = primary monitor **change VGA if not connected by VGA (blue upside-down triangle with the pointy-bit cut off)
VGA2 = secondary monitor **change VGA also, if not connected by VGA (like DVI, USB, etc.)


**That assumes you're trying to get an extended desktop.


http://mattsd.com/

This is my rifle, this is my gun.
This is for rifles, this is for guns.

Offline

#4 2010-01-10 23:49:20

Captain Cock
New Member
Registered: 2010-01-10
Posts: 4

Re: Dual monitors - second display not being recognized by Openbox.

Nothing happened.

Offline

#5 2010-01-11 00:24:02

Captain Cock
New Member
Registered: 2010-01-10
Posts: 4

Re: Dual monitors - second display not being recognized by Openbox.

Problem solved.  I had the secondary monitor set as a separate X display, found that I needed to use Nvidia TwinView

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo