Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 18:46:17 -0500 (EST)
From:      doug <doug@fledge.watson.org>
To:        Siraj Shaikh <siraj.shaikh@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Starting X - was Re: Vista / FreeBSD dual boot
Message-ID:  <20080129183439.X92107@fledge.watson.org>
In-Reply-To: <3b2ddd940801291354q2926d2b0q753f5f449d3b92eb@mail.gmail.com>
References:  <3b2ddd940801281410o77b87c2ajbfbee2f5f276b934@mail.gmail.com> <6e9d2bb40801281539l2e983011pff27c17073e6a8e5@mail.gmail.com> <479F1BBB.2020008@student.utwente.nl> <479F1C56.8010401@gmail.com> <479F34F8.2070501@student.utwente.nl> <20080129152311.T2946@wojtek.tensor.gdynia.pl> <479F3A8E.9000901@student.utwente.nl> <3b2ddd940801290856r5be3825bq36132618ceb82921@mail.gmail.com> <20080129150419.I92107@fledge.watson.org> <3b2ddd940801291217j668bccfbsde8c3259c79cd06b@mail.gmail.com> <3b2ddd940801291354q2926d2b0q753f5f449d3b92eb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jan 2008, Siraj Shaikh wrote:

> On 29/01/2008, Siraj Shaikh <siraj.shaikh@gmail.com> wrote:
>> On 29/01/2008, doug <doug@fledge.watson.org> wrote:
>>> On Tue, 29 Jan 2008, Siraj Shaikh wrote:
>>>
>>>> One question: I have just installed FreeBSD 6.3, and tried "startx"
>>>> but it isnt coming up, giving some sort of error. Am I missing
>>>> something here? I did choose for "Windows X" during the FreeBSD setup
>>>> - shall I do a port upgrade?
>>>>
>>>> Thanks
>>>
>>> This is really a new thread. The handbook Chapter 5, The X Window System has the
>>> steps to follow. If your video card is support, it will just work.
>>>
>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html
>>>
>>>
>>
>> I installed FreeBSD 6.3 and asked for X during the step. The link only
>> shows me how to add the X package. Shall I add the package right on
>> top now, or shall I remove X first, and then install the port/package
>> after that?
>>
>> Thanks
>>
> I have just reinstalled Xorg (using the xorg port) and tried startx
> again but it doesnt work. The error message is something like
>
> (EE) Failed to load module "fbdev" (module does not exist, 0)
> (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
> (II) Module "ddc" already built-in
> (EE) VESA(0): No matching modes
> (EE) Screen(s) found, but none have a usable configuration
>
> Fatal server error:
> no screens found
> X connection to :0.0 broken (explicit kill or server shutdown)
>
> Please help!!!

This looks like you did not configure X. As the handbook 5.4.2 says if startx 
does not work you need to run: Xorg -configure and then test that with

    Xorg -config xorg.conf.new

If your Xorg is < 7.3 you have to do this. Depending on the defaults selected 
and your video card, you may need to edit your screen section. Xorg 7 did not 
work for me. In Xorg 6 all setup is manual and required. My screen section:

Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
#       DefaultDepth 16
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
                 Modes     "1280x1024"
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
                 Modes     "1280x1024"
         EndSubSection
EndSection





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080129183439.X92107>