Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 05-07-10, 02:12 PM   #1
Registered User
Join Date: Apr 2010
Posts: 4
Question Ubuntu login wrongly appears on 2nd monitor of dual monitor system

Here is my basic info:
Intel Motherboard DP55WG, CPU i7 860, 8 gb ram
XFXForce nvidia 9400GT PCI-e Part No PV-T94G-ZAH2
Ubuntu 64-bit 9.10 linux, kernel 2.6.31-20-generic
nvidia driver 195.36.15 from the PPA installed by synaptic

From /proc nvidia interface:
Model: GeForce 9400 GT
IRQ: 16
Video BIOS:
Card Type: PCI-E
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 01.00.0

My desired configuration is to be able to boot my system 90% of the time without the second monitor of a dual monitor configuration. I desire to keep this second monitor connected but powered off. I expect to use nvidia TwinView to allow me to use the second monitor when needed.

Using nvidia-settings I created a base xorg.conf which almost attains the desired configuration. The file is shown below. The only thing I added or edited by hand was these 3 lines:
Option "ConnectedMonitor" "CRT-1, CRT-0"
Option "TwinViewOrientation" "CRT-1 LeftOf CRT-0"
Option "TwinViewXineramaInfoOrder" "CRT-1, CRT-0"

The problem is that the Ubuntu X login appears on the second monitor.

Here is the boot sequence when both monitors are powered:
  1. boot- Primary monitor displays the BIOS boot messages
  2. Primary displays for a few seconds the Ubuntu wheel
  3. Primary displays for a second the word Ubuntu
  4. Primary switches to the X background
  5. Secondary displays the Ubuntu X windows login- Perform login
  6. Secondary switches to the X background
  7. Primary displays the Ubuntu desktop with menu bar and desktop icons
  8. Secondary displays the desktop background
  9. New windows display on the Primary and can be dragged to the Secondary

The previous sequence will also happen even when the Secondary is OFF at the boot time and powered up at the point of expecting to see the login screen.

How do I get the X login screen to always come up on the Primary?

Here is the current xorg.conf:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@platinum)  Fri Apr  9 17:47:53 UTC 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"

Section "Files"

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

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

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ViewSonic"
    HorizSync       31.5 - 87.5
    VertRefresh     60.0 - 75.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9400 GT"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "ConnectedMonitor" "CRT-1, CRT-0"
    Option         "TwinViewOrientation" "CRT-1 LeftOf CRT-0"
    Option         "TwinViewXineramaInfoOrder" "CRT-1, CRT-0"
    Option         "metamodes" "CRT-0: 1280x1024_75, CRT-1: 1280x1024_75"
    SubSection     "Display"
        Depth       24
oldunixguy is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 11:41 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.