Re: Howto start X in a default resolution?
On Wed, 2005-09-28 at 15:50 +0200, Pep Serrano wrote:
> Hi lists. I am trying to setup an X server with KDM on a laptop which has
> wide screen format (1280x768) and normal screen (1280x1024) when connected
> to an external monitor.
> But I don't get to configure the wide screen format as the default one.
> Actually it is running inside a vmware, but don't get distracted by
> that...
>
> I want to start X on the wide resolution but I can't. The DOC says the
> first resolution found in your config is taken by default.
> My X server always starts in 1280x1024 and I can later switch to 1280x768.
> But I want it the other way around.
> If I remove all references to 1280x1024 in the config, then my X starts in
> 1280x768 but I can't switch to 1280x1024 anymore.
> Why doesn't X get the first resolution found in the config? How can I
> force it to start in a particular resolution?
>
> Here are the relevant lines of my XF86config:
>
> Section "Monitor"
> Identifier "vmware"
> VendorName "VMware, Inc"
> HorizSync 1-10000
> VertRefresh 1-10000
> Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
> ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
> EndSection
> Section "Screen"
> Identifier "Screen 1"
> Device "VMware SVGA"
> Monitor "vmware"
> Subsection "Display"
> # VGA mode: better left untouched
> Depth 4
> Modes "1280x768" "1280x1024"
> ViewPort 0 0
> EndSubsection
> Subsection "Display"
> Depth 8
> Modes "1280x768" "1280x1024"
> ViewPort 0 0
> EndSubsection
> Subsection "Display"
> Depth 15
> Modes "1280x768" "1280x1024"
> ViewPort 0 0
> EndSubsection
> Subsection "Display"
> Depth 16
> Modes "1280x768" "1280x1024"
> ViewPort 0 0
> EndSubsection
> Subsection "Display"
> Depth 24
> Modes "1280x768" "1280x1024"
> ViewPort 0 0
> EndSubsection
> EndSection
>
Can't answer your question directly, but does
the /var/log/XFree86.0.log (or whichever is relevant to your display)
hold any clues?
--
Michael Bane
Atmospheric Physics Group
University of Manchester
Reply to: