XFree86 3.3.6


XFree86 3.3.6について

  • XFree86 3.3.6は、FreeBSD 4.2Rに標準でセットになっているX Window Systemです。


XFree86 3.3.6のインストール

  • FreeBSD 4.2Rのインストール時の配布ファイルの選択で「X Window System」を含んだセットを選択すると自動的にインストールされます。

XFree86 3.3.6の設定(/etc/XF86Config)

  • rootになり、XF86Setupコマンドを起動します。セットアップ画面が表示されるので、上部にあるメニューボタンをクリックしてそれぞれの設定ダイアログ画面を表示して設定を行います。以下の設定で、記述してある以外はデフォルト設定とします。
    • Mouse −>「PS/2」、「Emulate 3 Buttons」
    • Keyboad −>Model「Japanese106-key」、Layout(Language)「Japanese」
    • Card −>「RIVA TNT2」
    • Monitor −>「Non-Interlaced SVGA, 1024X768@60Hz, 800X600@72Hz」
    • Mode selection −>「1024X768」、「16bpp」
    • Other −>デフォルトのまま
    • 最後に「Done」すると、設定は終了します。
  • xvdituneが起動されるので、画面の表示に従って、設定します。
    • ソニーの15インチ液晶「SDM-M51」では、画面が少し右にずれて表示されてしまいます。そこで、「Left」設定で「Hsyncstart −>1064」を設定しました。
    • 最後に、「save the configuration and exit」で設定を終了します。
  • 以上の設定で作成された「/etc/XF86Config」は、以下の様になりました。
    # XF86Config auto-generated by XF86Setup
    #
    # Copyright (c) 1996 by The XFree86 Project, Inc.
    
    #
    # Permission is hereby granted, free of charge, to any person obtaining a
    # copy of this software and associated documentation files (the "Software"),
    # to deal in the Software without restriction, including without limitation
    # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    # and/or sell copies of the Software, and to permit persons to whom the
    # Software is furnished to do so, subject to the following conditions:
    #
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
    # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    #
    # Except as contained in this notice, the name of the XFree86 Project shall
    # not be used in advertising or otherwise to promote the sale, use or other
    # dealings in this Software without prior written authorization from the
    # XFree86 Project.
    #
    
    # See 'man XF86Config' for info on the format of this file
    
    Section "Files"
       RgbPath    "/usr/X11R6/lib/X11/rgb"
       FontPath   "/usr/X11R6/lib/X11/fonts/local"
       FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled"
       FontPath   "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
       FontPath   "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
       FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
       FontPath   "/usr/X11R6/lib/X11/fonts/Speedo"
       FontPath   "/usr/X11R6/lib/X11/fonts/misc"
       FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
       FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
    EndSection
    
    Section "ServerFlags"
    EndSection
    
    Section "Keyboard"
       Protocol        "Standard"
       XkbRules        "xfree86"
       XkbModel        "jp106"
       XkbLayout       "jp"
    EndSection
    
    Section "Pointer"
       Protocol        "Microsoft"
       Device          "/dev/mouse"
    EndSection
    
    Section "Monitor"
       Identifier      "Primary Monitor"
       VendorName      "Unknown"
       ModelName       "Unknown"
       HorizSync       31.5-48.5
       VertRefresh     55-90
       Modeline  "1024x768"   65.00 1024 1064 1208 1344 768 771 777 806 -hsync -vsync
    EndSection
    
    Section "Device"
       Identifier      "Primary Card"
       VendorName      "Unknown"
       BoardName       "RIVA TNT2"
    
    
    EndSection
    
    Section "Screen"
       Driver          "Accel"
       Device          "Primary Card"
       Monitor         "Primary Monitor"
       DefaultColorDepth 16
       SubSection "Display"
          Depth        8
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        15
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        16
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        24
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        32
          Modes        "1024x768"
       EndSubSection
    EndSection
    
    Section "Screen"
       Driver          "SVGA"
       Device          "Primary Card"
       Monitor         "Primary Monitor"
       DefaultColorDepth 16
       SubSection "Display"
          Depth        8
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        15
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        16
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        24
          Modes        "1024x768"
       EndSubSection
       SubSection "Display"
          Depth        32
          Modes        "1024x768"
       EndSubSection
    EndSection
    
    Section "Screen"
       Driver          "VGA16"
       Device          "Primary Card"
       Monitor         "Primary Monitor"
       SubSection "Display"
          Depth        4
          Modes        "1024x768"
       EndSubSection
    EndSection
    
    Section "Screen"
       Driver          "VGA2"
       Device          "Primary Card"
       Monitor         "Primary Monitor"
       SubSection "Display"
          Depth        1
          Modes        "1024x768"
       EndSubSection
    EndSection
    
    Section "Screen"
       Driver          "Mono"
       Device          "Primary Card"
       Monitor         "Primary Monitor"
       SubSection "Display"
          Depth        1
          Modes        "1024x768"
       EndSubSection
    EndSection
    

Xサーバへのリンク設定(/usr/X11R6/bin/X)

  • 実際に使用するXサーバを「/usr/X11R6/bin/X」にシンボリクリンクを張ります。
     # ln -s /usr/X11R6/bin/XF86_SVGA /usr/X11R6/bin/X
    
  • 以上の設定が完了すれば、「startx」で、Xが起動されます。


トップへもどる


Copyright (c) 2000 Hiroshi Nakamura. All rights reserved.