![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jul 2005
Beans: 70
|
Set Resolution - No mointor, VNC only
This computer is only used remotely. There is no physical monitor hooked up to it. I VNC from my windows laptop that shares its internet connection to the Ubuntu machine. I have a GeForce2 MX 100 DDR/200 DDR.
If I boot the computer with my monitor attached to it, it operates at 1280x1024 just fine. However, if I just have it boot with no monitor, it defaults to 640x480. Once I'm connected, the only option I have in System | Preferences | Screen Resolution is 640.480. I would like it to use 1280x1024 when I VNC to it. I searched around a bit and saw this thread: http://www.linuxquestions.org/questi...hreadid=337691 I didn't want to touch any of the files before I had someone else's opinion on it. Here is my xorg.conf if it will help: Code:
# /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 commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
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" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "F90JS"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR]"
Monitor "F90JS"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
(I hope I have the correct forum, sorry if it is not.) |
|
|
|
|
#2 |
|
Quad Shot of Ubuntu
![]() Join Date: Jul 2005
Beans: 401
|
Re: Set Resolution - No mointor, VNC only
The section you are going to be concerned with is the "Screen" section.
Mine looks like this, as I only run 1280x1024 @ 100Hz. You have multiple modes available, perhaps you should just select one resolution? Code:
Section "Screen"
Identifier "Default Screen"
Device "NV6600GT"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Code:
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR]"
Monitor "F90JS"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2005
Beans: 5
|
I have the same problem; but editing xorg.conf has no effect.
Unfortunately, 640x480 isn't enough for many of the standard Ubuntu/Gnome control panels. It is a Pentium III with a Matrox Graphics MGA 200 AGP and the monitor is either a Dell E771p or an Iiyama VisionMaster Pro400. Both work fine when connectd, but unplugging the monitor means that (a) my VNC client immediately reverts to a 640x480 display window, i.e. the top left corner of the 1024x768 screen, and (b) on the next reboot the Ubuntu machine fully reverts to 640x480. Using the screen resoltions widget has no effect as only the 640x480 option is availablke after the reboot. I have used both VNC and tinyVNC clients with the same effect - this is something happening onthe Ubuntu machine. |
|
|
|
|
#4 |
|
Quad Shot of Ubuntu
![]() Join Date: Jul 2005
Beans: 401
|
Re: Set Resolution - No mointor, VNC only
Try:
Code:
Option "NoDCC" |
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2005
Beans: 5
|
Nope, that doesn't work.
Well, unplugging the monitor keeps it at 1024x768, but a reboot reverts to 640x480 with no optin to change it int he Screen Resoltion widget. Any more ideas? |
|
|
|
|
#6 |
|
Quad Shot of Ubuntu
![]() Join Date: Jul 2005
Beans: 401
|
Re: Set Resolution - No mointor, VNC only
Post your xorg.conf
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2005
Beans: 5
|
Re: Set Resolution - No mointor, VNC only
OK, here it is, thanks for taking the trouble to look at it.
|
|
|
|
|
#8 |
|
Quad Shot of Ubuntu
![]() Join Date: Jul 2005
Beans: 401
|
Re: Set Resolution - No mointor, VNC only
Looks like your modeline isn't being applied and you've got an 800x600 depth that's not being used. Try this:
Code:
Section "Device" Identifier "Matrox Graphics, Inc. MGA G200 AGP" Driver "mga" BusID "PCI:1:0:0" Option "IgnoreEDID" "true" Option "NoDCC" "true" EndSection Code:
Section "Screen" Identifier "Default Screen" Device "Matrox Graphics, Inc. MGA G200 AGP" Monitor "DELL E771p" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768@75" EndSubSection EndSection |
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2005
Beans: 5
|
Still reboots into 640x480.
Where does the Gnome "Screen resolution Preferenes" get its data from anyway? It still only has options 640x480 and 60Hz. I tried just restarting Gnome after editing /etc/X11/xorg.conf using the instructions here: http://ubuntuguide.org/ but it seemed to hang the machine and I couldn't even connect with PuTty. ( The only other peculiarity in the system is that nmbd stops running after a while: its log says that it "Got SIGTERM: going down..." which is kind of worrying as the whole point is that this machine is to be a Samba fileserver. Possibly I am only noticing this after the NETBIOS stuff times out and that in fact it never restarts properly on a reboot. I'll check it out. ) xorg.conf Code:
# /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/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "GLcore"
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" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Matrox Graphics, Inc. MGA G200 AGP"
Driver "mga"
BusID "PCI:1:0:0"
Option "IgnoreEDID" "true"
Option "NoDCC" "true"
EndSection
Section "Monitor"
Identifier "DELL E771p"
Option "DPMS"
Modeline "1024x768@75" 85.52 1024 1056 1376 1048 768 782 792 807
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Matrox Graphics, Inc. MGA G200 AGP"
Monitor "DELL E771p"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768@75"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
|
|
|
|
|
#10 |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2005
Location: Germany
Beans: 83
Ubuntu 8.04 Hardy Heron
|
Re: Set Resolution - No mointor, VNC only
Hi,
First: Sorry for the crosspost, but resolving this was just too frustrating for me and I want people to find this in all the other unresolved "help VNC resolution" threads, too. I didn't want to go for the modelines as described in http://www.ubuntuforums.org/showthread.php?p=690202 and all the other "edit the xorg.conf" threads didn't work for me - but I found a solution that works for me: In the device section of the xorg.conf I changed the driver to Code:
Driver "vesa" And we don't need a fancy 3D driver on a machine accessed via VNC - do we? It worked on two machines (running climateprediction.net with BOINC) with different graphics adapters. I hope it might work for others, too... Franko30 |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|