BSD DevCenter

oreilly.comSafari Books Online.Conferences.

We've expanded our LAMP news coverage and improved our search! Search for all things LAMP across O'Reilly!

Search
Search Tips

advertisement

Listen Print Subscribe to BSD Subscribe to Newsletters

Building an X Server and a Window Manager
Pages: 1, 2, 3

If you've already installed FreeBSD, root can access the graphical X Server configuration utility by either of these methods:



/stand/sysinstall

and from there choose Configure, then XFree86, and then XF86Setup

or:

cd /usr/X11R6/bin/XF86Setup

Most video cards support the graphical setup utility, which presents you with a point and click interface. Also, if you highlight a card in the Cards screen, you can use the Read README file button to view the readme document for that chipset.

Some cards don't support the graphical utility; again, this is not a good sign of an easy X Server build. If you have one of these cards, you'll have to use the xf86config utility instead, which is also found in /usr/X11R6/bin and /stand/sysinstall. This utility will ask you questions that require a type-in response. To find the readme for your chipset, open up another virtual terminal and look in

/usr/X11R6/lib/X11/doc

Let's assume you've started the graphical configuration utility with a working mouse, clicked on the Card button, and highlighted the card that SuperProbe told you you have. Later on, you can be a power user and fine-tune all of the settings in the Detailed Setup button, using the information supplied in the readme document for your video card. For now, we'll keep the default probes until we're sure we can successfully build the X Server.

Now comes the part that requires a bit of luck if you've never built this type of video card before: the monitor and modeselection screens. Most newer video cards will run on a combination of Extended Super VGA at 800 x 600 and 16 bpp, so I always try this combination first. If it works, I build a Windows Manager, see if it looks satisfactory, and possibly tweak my settings from there. If it doesn't work, I take a closer look at the video card's readme file for hints, and start recording which combinations I've tried til I hit one that works.

If you still have problems building X Server or want hints in tweaking your X Server, the FAQs at xfree86 are well worth reading.

Pages: 1, 2, 3

Next Pagearrow




Sponsored Resources

  • Inside Lightroom
Advertisement

Sponsored by:

O'Reilly Media

©2009, O'Reilly Media, Inc.
(707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
About O'Reilly
Academic Solutions
Authors
Contacts
Customer Service
Jobs
Newsletters
O'Reilly Labs
Press Room
Privacy Policy
RSS Feeds
Terms of Service
User Groups
Writing for O'Reilly
Content Archive
Business Technology
Computer Technology
Google
Microsoft
Mobile
Network
Operating System
Digital Photography
Programming
Software
Web
Web Design
More O'Reilly Sites
O'Reilly Radar
Ignite
Tools of Change for Publishing
Digital Media
Inside iPhone
O'Reilly FYI
makezine.com
craftzine.com
hackszine.com
perl.com
xml.com

Partner Sites
InsideRIA
java.net
O'Reilly Insights on Forbes.com