Powered by SmartDoc

8 X を立ち上げる

  1. パッケージサーバをNFSマウント
  2. pkg add xorg-*
    1. pkgの認証の設定
      # vi /etc/pkg/FreeBSD.conf
      signature_type: "none"
      # 
      
    2. pkg-*.txzをインストール
      # pkg add /var/ports/packages/All/pkg-1.10.3_1.txz
      
    3. Xorgのインストール
      # pkg add /var/ports/packages/All/xorg-7.7_3.txz
      
    4. drm-next-kmodのインストール
      # pkg add /var/ports/packages/All/drm-next-kmod-g20171006_1.txz
      # vi /etc/rc.conf
      kld_list="/boot/modules/i915kms.ko"
      # 
      
    5. リブート
    6. rm /etc/X11/xorg.confしてstartx
      • 見事にフルHDでXが立ち上がる!!!
        root@t:~ # xwininfo
        
        xwininfo: Please select the window about which you
                  would like information by clicking the
                  mouse in that window.
        
        xwininfo: Window id: 0xcd (the root window) (has no name)
        
          Absolute upper-left X:  0
          Absolute upper-left Y:  0
          Relative upper-left X:  0
          Relative upper-left Y:  0
          Width: 1920
          Height: 1080
          Depth: 24
          Visual: 0x21
          Visual Class: TrueColor
          Border width: 0
          Class: InputOutput
          Colormap: 0x20 (installed)
          Bit Gravity State: ForgetGravity
          Window Gravity State: NorthWestGravity
          Backing Store State: NotUseful
          Save Under State: no
          Map State: IsViewable
          Override Redirect State: no
          Corners:  +0+0  -0+0  -0-0  +0-0
          -geometry 1920x1080+0+0
        
        root@t:~ #