Dual Monitors Help

Asked by Nayef Copty

I've tried many tutorials on Dual Monitors.. I've only come up to having the Xorg having errors, and opening Shell, but when it opens Shell, I can see it in both monitors.. On shell, I restore Xorg in order to be able to login into Ubuntu normally.
If I send in a copy of my Xorg and hardware specs, can someone help me please?

Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
debianmigrant
Solved:
Last query:
Last reply:
Revision history for this message
debianmigrant (debianmigrant) said :
#1

Yes, please do

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#2

First Monitor: Samsung SyncMaster 940BW - 19"
Second Monitor: Samsung SyncMaster 793DF - 17"
Video Card: Nvidia GeForce FX 5500

Xorg.conf:

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# 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 "Files"
 FontPath "/usr/share/X11/fonts/misc"
 FontPath "/usr/share/X11/fonts/cyrillic"
 FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/Type1"
 FontPath "/usr/share/X11/fonts/100dpi"
 FontPath "/usr/share/X11/fonts/75dpi"
 # path to defoma fonts
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
 Load "bitmap"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "type1"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc104"
 Option "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ExplorerPS/2"
 Option "ZAxisMapping" "4 5"
 Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "stylus"
  Option "Device" "/dev/wacom" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "stylus"
  Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "eraser"
  Option "Device" "/dev/wacom" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "eraser"
  Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "cursor"
  Option "Device" "/dev/wacom" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "cursor"
  Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
 Identifier "NVIDIA Corporation NV34 [GeForce FX 5500]"
 Driver "nv"
 BusID "PCI:1:0:0"
EndSection

Section "Monitor"
 Identifier "SyncMaster1"
 Option "DPMS"
 HorizSync 30-81
 VertRefresh 56-75
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "NVIDIA Corporation NV34 [GeForce FX 5500]"
 Monitor "SyncMaster1"
 DefaultDepth 24
 SubSection "Display"
  Depth 1
  Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 4
  Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 8
  Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 15
  Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 16
  Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 24
  Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
 InputDevice "stylus" "SendCoreEvents"
 InputDevice "cursor" "SendCoreEvents"
 InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
 Mode 0666
EndSection

Revision history for this message
Massimo Forti (slackwarelife) said :
#3

If you use the ubuntu 7.04 you can install restric Nvidia module that it had a control pannel where you can enable the dual video.
If you want, you can install the nvidia driver directly from the nvidia installer
What do you prefer ???

Revision history for this message
debianmigrant (debianmigrant) said :
#4

In this section:

Section "Device"
 Identifier "NVIDIA Corporation NV34 [GeForce FX 5500]"
 Driver "nv"
 BusID "PCI:1:0:0"
EndSection

If the nvidia driver was enabled would say "nvidia" - Have you enabled this previously (from a tutorial or from control panel) without success?

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#5

Hello,

I am using Dapper.

Yes I installed nVidia previously..

Revision history for this message
Massimo Forti (slackwarelife) said :
#6

If you want to install correctly the nvidia driver you can do this:

1) downloads from this site the NVIDIA-Linux-x86-1.0-9755-pkg1.run file (this is for x86 cpu)

http://www.nvidia.com/object/linux_display_ia32_1.0-9755.html

2) open a shell and do:

$: sudo apt-get install build-essential
$: sudo apt-get install linux-headers-$(uname -r)
$: sudo apt-get install xserver-xorg-dev

$: sudo gedit /etc/default/linux-restricted-modules-common

add "nv" in the line DISABLED_MODULES=""
this block the nv module.

$: chmod +x /dir_where_you_have_save_the_file/NVIDIA-Linux-x86-1.0-9755-pkg1.run

do a backup of your xorg.conf

$: sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

edit the xorg.conf

$: sudo gedit /etc/X11/xorg.conf

change this:

The Section “Module” like this:
[...]
# Load "GLcore"
# Load "dri"
        Load "glx"
[...]

The Section “Device” like this:
[..]
Driver "nvidia"
Option "RenderAccel" "1"
Option "AllowGLXWithComposite" "1"
[...]

The Section”Extensions” like this:
Section "Extensions"
Option "Composite" "Enable"
EndSection

The Section "DRI" likee this
[..]
#Section "DRI"
# Mode 0666
#EndSection
[...]

Than

$: sudo /etc/init.d/gdm stop

this stop your desktop.
After do alt+f1.
Enetr your usrid and password, than do:

$: sudo sh /dir_where_you_have_save_the_file/NVIDIA-Linux-x86-1.0-9755-pkg1.run

You must answer the questions. After this do:

$: sudo shutdwon -r now

This restart your pc.

Thanks

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#7

Hello,

When I opened xorg.conf, I didn't see the following sections:
"Extensions" and "DRI"

Revision history for this message
Massimo Forti (slackwarelife) said :
#8

For sections "Extensions" you can add the lines I have posted before
If you don' have "DRI" well, we want disable it.

Thanks

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#9

:) Thanks a lot! I've been trying to get dual monitors working for months, it just worked :D

If I ugrade to Edgy an dthen to Feisty, will these settings stay the same or do I have to repeat it?

Revision history for this message
Best debianmigrant (debianmigrant) said :
#10

Save a copy of /etc/X11/xorg.conf somewhere just in case, but in theory it should keep the settings

Thanks

Revision history for this message
Nayef Copty (nayefpearl-deactivatedaccount) said :
#11

Thanks debianmigrant, that solved my question.

Revision history for this message
Uditha M de Soysa (madusanka-gmail) said :
#12

Hi,
I'm using Matrox G550 with dual head support, cn u help me to enable the dual monitor support