LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Alt + Ctrl + F# X screens blank (https://www.linuxquestions.org/questions/ubuntu-63/alt-ctrl-f-x-screens-blank-778237/)

Legolas327 12-26-2009 04:50 PM

Alt + Ctrl + F# X screens blank
 
I am carrying this thread over from another once I narrowed my troubles down to the xorg.conf file. If I use a simple non-duel monitor xorg.conf file then all is well. With a duel monitor xorg.cong file my duel screens work just fine, I just cant see my alt+ctrl+F# sessions.

When using duel monitors my Alt+Ctrl+F# screens are blank. No cursor, nothing! I have been operating in duel screen mode for years but for some reason have this problem in Ubuntu 9.10. I am using the nvidia-settings built xorg.conf file and tried all sort of suggestions from others postings to no avail. If I default back to a single monitor then my Alt +Ctrl+F# X sessions work fine..

Linux Serenity 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux

I am posting my xorg.conf file hoping someone can see what my problem is.

Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@crested)  Sun Feb  1 20:25:37 UTC 2009

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

Section "Files"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
#    Load          "type1"
#    Load          "freetype"
    Load          "glx"
EndSection

Section "ServerFlags"
    Option        "Xinerama" "0"
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 "InputDevice"
    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "WDE LCM-22w2"
    HorizSync      30.0 - 82.0
    VertRefresh    56.0 - 67.0
    Option        "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "SHARP HDMI"
    HorizSync      15.0 - 75.0
    VertRefresh    55.0 - 76.0
    Option        "DPMS"
EndSection

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

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

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Virtual 3000 2000
    Option        "TwinView" "0"
    Option        "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      1
    Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection    "Display"
        Depth      4
    Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection    "Display"
        Depth      8
    Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection    "Display"
        Depth      16
    Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection 
    SubSection    "Display"
        Depth      24
    Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

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


aus9 12-26-2009 05:37 PM

hi

1) assuming you have xorg 1.6 or higher....you should not have any mention of mouse or kb in your xorg.

these are now handled by fdi files and hal....so after backing up...edit and remove all mentions of input devices and then reboot to see if that fixes it


If fail then

mv /etc/X11/xorg.conf-old /etc/X11/xorg.conf
su xxxx
(where xxxx is your local username)
startx

then go to (2)


2) I do not have such hw...single for me....but
http://manual.sidux.com/en/hw-dev-mon-en.htm#xrandr

suggests you look at
http://www.sorgonet.com/linux/nv-online/

and create a script to run to fix your xorg.conf.....after backing up of course

Legolas327 12-27-2009 12:55 AM

Taking advice I removed any reference to keyboard or mouse. It didn't change anything.
Then using xrandr and cvt I determined what each screen would prefer for resolutions and generated a new xorg.conf file:

Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@crested)  Sun Feb  1 20:25:37 UTC 2009

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "glx"
EndSection

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

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "WDE LCM-22w2"
        Modeline "1680x1050_51.00"  122.75  1680 1776 1952 2224  1050 1053 1059 1084 -hsync +vsync
    Option        "PreferredMode" "1680x1050_51.0"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "SHARP HDMI"
        Modeline "1680x1050_55.00"  132.75  1680 1776 1952 2224  1050 1053 1059 1086 -hsync +vsync
    Option        "PreferredMode" "1680x1050_55.0"       
EndSection

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

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

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "0" 
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "TwinView" "0"
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

No change in blank screens when Alt+Ctrl+F#. Keep in mind that the duel monitors work just fine, but changing to an Alt+Ctrl+F# give blank screens?

When using the sudo xinit -- :2 command I get a terminal but get these errors which I don't have a clue about or even know if they are relevant to my issue:

Code:

(==) Log file: "/var/log/Xorg.2.log", Time: Sun Dec 27 01:51:56 2009
(==) Using config file: "/etc/X11/xorg.conf"
[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.63" is not allowed to own the service "org.x.config.display2" due to security policies in the configuration file)
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
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
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
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
^C
waiting for X server to shut down xterm:  fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":2.0"
 ddxSigGiveUp: Closing log

Sigh... very frustrating...


All times are GMT -5. The time now is 09:30 PM.