LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-24-2010, 02:09 PM   #1
PeniWize
LQ Newbie
 
Registered: Jun 2010
Location: Bozeman, MT
Distribution: Ubuntu and Arch
Posts: 1

Rep: Reputation: 0
Xorg or Gnome not properly detecting displays at startup.


In Ubuntu 10.04, and an up to date Arch system, I’ve noticed that gnome and gdm seem to randomly detect either one or two monitors on my Dell E5500 laptop even though there is no VGA monitor connected to the VGA port (the laptop has a primary 1280x800 integrated display and a VGA port). When both monitors are detected, gdm places the login dialog box very far to the right so it is off screen. It usually appears when I press enter to select a user so I can see the box when I enter my password. Then after I log in, the gnome desktop panels show up on the primary (integrated) display, but often new windows will appear on the secondary display (unconnected VGA monitor) so I can’t see them. When I launch “Monitor Preferences” from “System | Preferences | Monitors” it correctly detects that there is no secondary (VGA) monitor attached and resets the desktop and repositions all windows on the primary display.

I’m not sure if this is a gnome or Xorg problem. Can anyone help me out with this?

Thanks!

Here is the output from lspci:

...
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
...

/var/log/Xorg.0.log reports:

[ 19.741] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
...
[ 20.740] (II) intel(0): [DRI2] DRI driver: i965
...
[ 20.808] (II) intel(0): [XvMC] xvmc_vld driver initialized.

This problem occurred with and without an xorg.conf file. Here is the xorg.conf file I'm using now. /etc/X11/Xorg.conf:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "SynapticsTouchpad" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection

Section "Module"
Load "glx"
Load "extmod"
Load "dri"
Load "dri2"
Load "record"
Load "dbe"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Identifier "SynapticsTouchpad"
Driver "synaptics"
Option "AlwaysCore" "true" # send events to CorePointer
Option "Protocol" "auto-dev"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSection
 
Old 07-16-2010, 12:37 PM   #2
scrooge_74
LQ Newbie
 
Registered: Feb 2006
Location: The third world
Distribution: Lenny
Posts: 10

Rep: Reputation: 0
No expert here, I guess you have to declare your other monitor or screen for it to work properly, I know gnome manages this a lot better than other desktops (I once saw a test using lxde and gnome) Gnome would pick up the right size much better than the other one
 
  


Reply

Tags
dual, gdm, gnome, monitor, xorg



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome wont startup properly dellthinker Linux - Desktop 1 09-30-2009 11:26 AM
Why can't I get x-config and xorg.conf to give me two displays? maestro52 Linux - Software 1 01-01-2009 04:36 AM
xorg screen res not being set properly with Xorg 6.9.0 sgnome Linux - Laptop and Netbook 2 06-12-2006 02:26 AM
Xorg, Two Displays, Metamodes? zgauthier Linux - Hardware 0 06-15-2005 07:41 PM
Redhat 9.0 not detecting AGP Geforce FX 5600 properly? I.M.H.D. Linux - Hardware 16 04-07-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration