From owner-freebsd-questions@FreeBSD.ORG Thu Jun 30 15:22:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C0E51065679 for ; Thu, 30 Jun 2011 15:22:50 +0000 (UTC) (envelope-from sizemj@lavabit.com) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 111808FC24 for ; Thu, 30 Jun 2011 15:22:49 +0000 (UTC) Received: from a.earth.lavabit.com (a.earth.lavabit.com [192.168.111.10]) by karen.lavabit.com (Postfix) with ESMTP id C0E3F11BBEE for ; Thu, 30 Jun 2011 09:53:47 -0500 (CDT) Received: from lavabit.com (205.152.158.201) by lavabit.com with ESMTP id RJKKMNU9QUGB for ; Thu, 30 Jun 2011 09:53:47 -0500 Received: from 205.152.158.201 (SquirrelMail authenticated user sizemj) by lavabit.com with HTTP; Thu, 30 Jun 2011 10:53:47 -0400 (EDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=oCy56spmXe25oMA1FMOBB98OFKUMx7GGFqsnsKvK/+w9WvmOnv1vhFrkj/BvhI6HQE4xTuxAV+vkE5/+o83We86NObkQ9OnY9CQqA7Xr+4VHIoxblFN/caj2OpO3bx7y3zs2jzyM7tPgtOSet0YpjRSdo7hCYN9YUF1t+fHb1ys=; h=Message-ID:In-Reply-To:References:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding; Message-ID: <36900.205.152.158.201.1309445627.squirrel@lavabit.com> In-Reply-To: References: <20110630001249.219420@gmx.com> Date: Thu, 30 Jun 2011 10:53:47 -0400 (EDT) From: sizemj@lavabit.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Attempting to get an X11 server running X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2011 15:22:50 -0000 This is what I use in my xorg.conf see below Notice the mode line for resolution, and HorizSync 30-107 VertRefresh 48-120 Also in my /etc/rc.conf I put these lines hald_enable="YES" dbus_enable="YES" This sets up X for me every time and works great. Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/local" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/CID" FontPath "/usr/share/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/75dpi" FontPath "/usr/share/fonts/100dpi" FontPath "/usr/share/fonts/cyrillic" EndSection Section "Module" Load "extmod" Load "dri2" Load "glx" Load "dbe" Load "dri" 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 "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30-107 VertRefresh 48-120 EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "ShadowFB" # [] #Option "DefaultRefresh" # [] #Option "ModeSetClearScreen" # [] Identifier "Card0" Driver "vesa" VendorName "Unknown Vendor" BoardName "Unknown Board" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 1 Modes "1280x1024" "1152x864" "1024x768" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1152x864" "1024x768" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1152x864" "1024x768" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1152x864" "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1152x864" "1024x768" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" "1152x864" "1024x768" EndSubSection EndSection > On Thu, 30 Jun 2011, Dieter BSD wrote: > >> google found >> http://www.daemonforums.org/showthread.php?p=27601 >> which suggests using moused instead of hald.  moused runs, >> but I think I have to get Xorg to use a config file to set >>  Option "AllowEmptyInput" "off" >>  Option "AutoAddDevices"  "off" >> so that it will work without hald. > > That is incorrect. Don't set AllowEmptyInput, just turn off > AutoAddDevices. > http://www.wonkity.com/~wblock/docs/html/aei.html > >> Question 1: why does "Xorg -configure" create a config file >> that doesn't work the same way as just running "Xorg" ? > > The defaults assumed when run are different from those in the generated > config file. I don't know why. > >> Question 2: how do I get a usable config file? > > Look for examples on the net. Realize that most of xorg.conf is > optional now, and you can leave out sections where the defaults are > correct. > >> Question 3: how do I get complete modeline info for what >> it is currently running? > > Please don't mess with modelines, it should not be needed any more. > Just set the resolutions desired in the Screen/Display section. If > modelines are really required, get them out of /var/log/Xorg.0.log. But > they almost certainly are not. > >> Question 5: how do I get hald to work? > > It's not used if you turn off AutoAddDevices or build the xorg-server > port with the HAL option disabled. > > ____________________________________________________________________________________ > Learn more about Free hosting web here! > http://click.lavabit.com/bb55ie6fuepogc991stquo4wimf15odaskf4w43gft7r9en3g5rb/ > ____________________________________________________________________________________ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >