*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have many Linux distributions on my system, a Dell Dimension 4100 desktop computer, and every one of them works fine.
Recently I installed OpenBSD 3.4 on the same system, and the base installation worked fine, too. The XFree86 configuration scripts require more manual configuration than most of the recent Linux systems, and I haven't had as much free time as in the past to tweak with the configuration and learn the differences in naming conventions, font paths, and other issues. I haven't had much success getting a good X configuration working with OpenBSD.
At one point, I thought I'd steal a working Linux Xfree86 configuration and port it to OpenBSD. Unfortunately, doing so necessitates modfiying devices because the names of things are definitely different.
I'm hoping that if I post a working Linux X configuration file, someone can help me translate it into something that would work on the same system with OpenBSD 3.4.
Here's my current file from my Debian Linux system:
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
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/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
run XFree86 -Configure as root and follow the instructions.
You might want to tweak a little bit the XF86Config after moving it to /etc/X11 directory to add the mouse wheel(ZAxisMapping,...)
That's all you need to configure XFree86 in OpenBSD 3.4. What I admire about OpenBSD (at least in the last 2 versions) is it automatically and correctly configures (using XFree86 -Configure) usb mouse and scrolling, unlike FreeBSD.
Originally posted by Tuvok I concur with mrcheeks' command; XFree86 -Configure. Once done, just add (using an editor) the DefaultDepth and Modes in the XF86Config file, i.e;
That's all you need to configure XFree86 in OpenBSD 3.4. What I admire about OpenBSD (at least in the last 2 versions) is it automatically and correctly configures (using XFree86 -Configure) usb mouse and scrolling, unlike FreeBSD.
Thanks for the suggestions thus far. I thought I had checked the Email notification when I posed the original request; hadn't had much time to check back - apparently I didn't check the box the first time or I overlooked the responses.
I'll try the configure flag and see if it helps me out. Perhaps when I use the configure flag, it'll get everything I need without a lot of manual hacking required. Also the pointers about using Auto instead of explicitly specifying IMPS/2 are worth looking into. I was kind of hoping someone else was familiar with both Linux and OpenBSD implementations of XFree86, because I have a perfectly good working config file on several Linux distros that already are installed and working on the same hardware. Oh well, I'll try it this way instead. Meanwhile, in the event that someone comes along that knows the default font paths on OpenBSD 3.4 and the correct name of the mouse device for a Microsoft Wheel Mouse (IMPS/2) as implemented on OpenBSD (or it's "auto" alternative), that'd be very helpful!
Thanks for the suggestions that have already been offerred!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.