X 設定
さて、XF86Configの設定です。それからxdmを起動するために、rc.localと.xsessionを設定します。まずは使用するデバイスを以下のようにXにシンボリックリンクします。
# ln -s XF98_NKVNEC X (/usr/X11R5/bin)
--- XF86Config(/usr/X11R6/lib/X11/) ----
Section "Monitor"
Identifier "Multi sync"
VendorName "FUJITSU"
ModelName "unkown"
Bandwidth 40
HorizSync 24-70
VertRefresh 50-100
Mode "640x400"
DotClock 28.322
HTimings 640 664 712 808
VTimings 400 400 402 417
EndMode
Mode "640x480"
DotClock 28.0
HTimings 640 690 752 800
VTimings 480 496 544 560
EndMode
Mode "800x600"
DotClock 36.00
HTimings 800 840 900 1000
VTimings 600 602 610 664
EndMode
Mode "1024x768"
DotClock 65.00
HTimings 1024 1188 1210 1370
VTimings 768 768 770 790
EndMode
EndSection
Section "Device"
Identifier "NKVNEC"
VendorName "EPSON_NEC"
BoardName "PCNKV/PCNKV2/NEC_CIRRUS"
Chipset "clgd5428"
Option "fast_dram"
VideoRam 1024
EndSection
Section "Screen"
Driver "svga"
Device "NKVNEC"
Monitor "Multi sync"
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0 EndSubsection
EndSection
-----------------------------------------------------
--- rc.local(/etc/) ----------------------
if [ -x /usr/X11R6/bin/xdm ]; then
echo -n ' xdm'
/usr/X11R6/bin/xdm
fi
-----------------------------------------
--- .xsession(~/) -----------------------
twm &
kterm -geometry 80x50+300+10 &
exec kterm -geometry 80x50+0+10 -name login
-----------------------------------------
この後
# chmod 755 .xsession
戻る