X Window Systemを使用するために、まずはX Serverの設定をしてやらねばなりません。普通は、XF86Setupというコマンドでグラフィカルなセットアップツールが立ち上がるのですが、このLet's note CF-B5ERでは使えませんでした(画面に何も映ってくれません)。
そこで、コンソール版のxf86configコマンドでとりあえず設定して、細かい部分を後でXF86Setupで設定することにします。まず、rootになってxf86configを立ち上げます。
# xf86config
はじめに、マウスの種類を聞かれます。CF-B5ER内蔵のトラックボールは内部的には単なるPS/2なマウスに見えてますので、4のPS/2 Mouseを選びます。すると、3ボタンエミュレートを行うかと聞かれます。
If your mouse has only two buttons, it is recommended that you enable Emulate3Buttons. Please answer the following question with either 'y' or 'n'. Do you want to enable Emulate3Buttons?
X環境では、選択しているテキストを真ん中ボタン(エミュレートするとボタン同時押し)で簡単にペーストでき、大変便利です。なのでこれは当然yと答えます。
次にマウスのデバイスファイルを聞かれますが、デフォルトのままで構いませんのでEnterを押してください。
Now give the full device name that the mouse is connected to, for example /dev/tty00. Just pressing enter will use the default, /dev/mouse. Mouse device:
次に、XKEYBOARDを使うかと聞かれますが、そのままEnterで構いません。
Beginning with XFree86 3.1.2D, you can use the new X11R6.1 XKEYBOARD extension to manage the keyboard layout. If you answer 'n' to the following quistion, the server will use the old method, and you have to adjust your keyboard layout with xmodmap. Please anser the following question with either 'y' or 'n'. Do you want to use XKB?
細かい設定(CTRLとCAPSを入れ替えるなど)は後でXF86Setupで出来ますから、とりあえずここはすっ飛ばします。
次にモニタの周波数レンジの設定になります。これは大事ですので、間違えないようにして下さい。
You must indicate the horizontal sync range of your monitor. You can either select one of the predefined ranges below that correspond to industry- standard monitor types, or give a specific range. It is VERY IMPORTANT that you do not specify a monitor type with a horizontal sync range that is beyond the capabilities of your monitor. If in doubt, choose a conservative setting.
You must indicate the vertical sync range of your monitor. You can either select one of the predefined ranges below that correspond to industry- standard monitor types, or give a specific range. For interlaced modes, the number that counts is the high one(e.g. 87Hz rather than 43 Hz).
ここでは、
6 31.5 - 48.5; Non-Interlaces SVGA, 1024x768 @ 60Hz, 800x600 @ 72Hz
2 50-90
の順に選んで下さい。
続いて設定の名前を決めるよう言われますが、めんどいので全部Enterで結構です。
You must now enter a few identification/description strings, namely an identifier, a vendor name, and a model name. Just pressing enter will fill in default names.
続いて、ビデオボードの設定です。
Now we must configure video card specific settings. At this point you can choose to make a selection out of a database of video card definitions. Because there can be variation in Ramdacs and clock generators even between cards of the same model, it is not sensible to blindly copy the settings (e.g. a Device section). For this reason, after you make a selection, you will still be asked about the components of the card, with the settings from the chosen database entry presented as a strong hint. The database entries include information about the chipset, what server to run, the Ramdac and ClockChip, and comments that will be included in the Device section. However, a lot of definitions only hint about what server to run (based on the chipset the card uses) and are untested. If you can't find your card in the database, there's nothing to worry about. You should only choose a database entry that is exactly the same model as your card; choosing one that looks similar is just a bad idea (e.g. a GemStone Snail 64 may be as different from a GemStone Snail 64+ in terms of hardware as can be). Do you want to look at the card datebase?
yと答えて、ビデオカードを探します。このLet's note CF-B5ERには、ATI Rage Mobility PCIが使われています。一覧の中にATIのカードはたくさんありますが、その中の
88 ATI Rage Mobility ATI-Mach64
を選びます。
次に画面解像度を選びます。
Now you must determine which server to run. Refer to the manpages and other documentation. The following servers are available (they may not all be installed on your system): 1 The XF86_Mono server. This a monochrome server that should work on any VGA-compatible card, in 640x480 (more on some SVGA chipsets). 2 The XF86_VGA16 server. This is a 16-color VGA server that should work on any VGA-compatible card. 3 The XF86_SVGA server. This is a 256 color SVGA server that supports a number of SVGA chipsets. On some chipsets it is accelerated or supports higher color depths. 4 The accelerated servers. These include XF86_S3, XF86_Mach32, XF86_Mach8, XF86_8514, XF86_P9000, XF86_AGX, XF86_W32, XF86_Mach64, XF86_I128 and XF86_S3V. These four server types correspond to the four different "Screen" sections in XF86Config (vga2, vga16, svga, accel).
とりあえず、3のThe XF86_SVGA serverを選んでおき、XF86Setupが正常に立ち上がるようにしてからそちらで設定することにします。
次に、今の設定にシンボリックリンクを張るかと聞かれます。
The server to run is selected by changing the symbolic link 'X'. For example, 'rm /usr/X11R6/bin/X; ln -s /usr/X11R6/bin/XF86_SVGA /usr/X11R6/bin/X' selects the SVGA server. Please answer the following question with either 'y' or 'n'. Do you want me to set the symbolic link?
ここでリンクを張っておくと今の設定をデフォルトで呼び出せますから、yと答えます。
次に、ビデオメモリの搭載量を聞かれます。Windowsからdxdiag.exeなどを使うと分かりますが、8MBです。
How much video memory do you have on your video card: 1 256K 2 512K 3 1024K 4 2048K 5 4096K 6 Other Enter your choice:
6のOtherを選び、"8192K"と入力します。
今の設定名を入れるよう言われますが、デフォルトで構わないのでEnterを押します。
You must now enter a few identification/description strings, namely an identifier, a vendor name, and a model name. Just pressing enter will fill in default names (possibly from a card definition). (enter)(3回)
次にクロックチップ設定を聞かれます。
A Clockchip line in the Device section forces the detection of a programmable clock device. With a clockchip enabled, any required clock can be programmed without requiring probing of clocks or a Clocks line. Most cards don't have a programmable clock chip. Choose from the following list:
設定する必要は無いので、そのままEnterを押してください。
今の状態でクロック設定を自動で検出しますかと聞かれます。
For most modern configurations, a Clocks line is neither required or desirable. However for some older hardware it can be useful since it prevents the slow and nasty sounding clock probing at server start-up. Probed clocks are displayed at server startup, along with other server and hardware configuration info. You can save this information in a file by running 'X -probeonly 2>output_file'. Be warned that clock probing is inherently imprecise; some clocks may be slightly too high (varies per run). At this point I can run X -probeonly, and try to extract the clock information from the output. It is recommended that you do this yourself and if a set of clocks is shown then you add a clocks line (note that the list of clocks may be split over multiple Clocks lines) to your Device section afterwards. Be aware that a clocks line is not appropriate for most modern hardware that has programmable clocks. You must be root to be able to run X -probeonly now. The card definitions says to NOT probe clocks. Do you want me torun 'X -probeonly' now?
今はこれも必要ないので、nを選びます。
次に、使用色数と使用解像度を聞かれます。
For each depth, a list of modes (resolutions) is defined. The default resolution that the server will start-up with will be the first listed mode that can be supported by the monitor and card. Currently it is set to: "640x480" "800x600" "1024x768" "1280x1024" for 8bpp "640x480" "800x600" "1024x768" "1280x1024" for 16bpp "640x480" "800x600" "1024x768" "1280x1024" for 24bpp "640x480" "800x600" "1024x768" for 32bpp Note that 16, 24 and 32bpp are only supported on a few configurations. Modes that cannot be supported due to monitor or clock constraints will be automatically skipped by the server. 1 Change the modes for 8pp (256 colors) 2 Change the modes for 16bpp (32K/64K colors) 3 Change the modes for 24bpp (24-bit color, packed pixel) 4 Change the modes for 32bpp (24-bit color) 5 The modes are OK, continue. Enter your choice:
Select modes from the following list:
とりあえずXF86Setupが立ち上がれば良いので、色数は1の256色、解像度は4の1024x768にしておきます。
次に、仮想デスクトップを使うかと聞かれます。X上では、デスクトップを仮想的にいくつも作り、それらをウィンドウ切り替えで利用することができます。
You can have a virtual screen (desktop), which is screen area that is larger than the physical screen and which is panned by moving the mouse to the edge of the screen. If you don't want virtual desktop at a certain resolution, you cannot have modes listed that are larger. Each color depth can have a differently-sized virtual screen Please answer the following question with either 'y' or 'n'. Do you want a virtual screen that is larger than the physical screen?
私はどうもこの仮想デスクトップが使いこなせないので、nにしておきます。
もう一度確認のモード設定の画面が出ますので、5のThe modes are OK, continue.を選び、変更をライトして良いかと聞かれるのでyで答えます。
これで、xf86configでの設定はおしまいです。
これで、XF86Setupが立ち上がるようになります。起動すると、今ある設定をデフォルトにして立ち上げるかと聞かれます。
# XF86Setup Woulo you like to use the existing XF86Config file for defaults?
当然、[OK]を押してください。
大体の設定は先程やっていますから、細かい部分だけ設定します。
これらの設定をしたら下の[Done]のボタンを押すと、この設定でXが起動されますので、[Save the configration and exit]を選び、設定をセーブします。応答が無いときは、[CTRL][Alt][Backspace]の同時押しでXを強制終了できます。
これで、いつでも(一般ユーザでも)Xを立ち上げることができます。
$ startx
と打ってみて下さい。