2004年12月30日

FreeBSD on VAIO R505RにOpenOffice.orgを

天気:雨後晴れ
本日の発電量:7.1kWh

OpenOffice.orgをportsからmakeしようとしたが通らない。あきらめてpakageから入れた。
Version1.1.3だ。
日本語のfontの設定が必要。
「Linux/FreeBSDで日本語フォントを認識させるためには」が参考になる。
Xに認識されていないTrueTypeFontもOpenOffice.orgで使用することができる。これでフォントはほぼ問題なくなったな。

2004年12月28日

kdmの設定

本日の天気:晴れ
本日の発電量:7.9kWh

http://www.freshports.org/x11/kdebase3/
2004-08-13
Affects: users of x11/kdebase3 (kdm)
Author: kde@freebsd.org
Reason:
If you are unable to login to X via kdm after portupgrading to
the latest
kdebase port and you're getting these or similar messages on
the console

/kernel: Aug 13 17:12:10 kiste kdm: :0[447]: Can't execute
"/usr/local/share/config/kdm/Xstartup": No such file or
directory
/kernel: Aug 13 17:12:10 kiste kdm: :0[432]: Cannot execute
startup script
"/usr/local/share/config/kdm/Xstartup"
/kernel: Aug 13 17:12:10 kiste kdm: :0[448]: Can't execute
"/usr/local/share/config/kdm/Xreset": No such file or
directory
/kernel: Aug 13 17:12:12 kiste kdm: :0[458]: Can't execute
"/usr/local/share/config/kdm/Xsetup": No such file or
directory

please do the following:

1.) Copy /usr/local/share/config/kdm/kdmrc away to a safe
place, for example
your home directory ( cp /usr/local/share/config/kdm/kdmrc ~/ )

2.) Run, as root: genkdmconf --no-old

3.) Put your copy of kdmrc back to /usr/local/share/config/kdm
/kdmrc (cp
~/kdmrc /usr/local/share/config/kdm/ )

Optional step 4.) Run, as root: genkdmconf (without any
options) to update
your kdmrc to the lastest configfile format

Note for advanced users: Substitute /usr/local with your
custom PREFIX if
you're using one.

2004年12月27日

kdmが変?

無事Xorgが起動した。startxでkde3が立ち上がるのも確認。
kdmを使用するよう/etc/ttysを書き換え再起動。
kdmの画面が表示される。

早速login.・・・っと。再びログイン画面が表示される。何度やってもだめ。
logを確認すると

kdm: :0[857]: Cannot execute startup script "/usr/local/share/config/kdm/Xstartup"
kdm: :0[879]: Can't execute "/usr/local/share/config/kdm/Xreset"": No such file or directory
kdm: :0[885]: Can't execute "/usr/local/share/config/kdm/Xsetup": No such file or directory
などが記録されている。
Xstartup、Xreset、Xsetupがうまくインストールされていないらしい。
/usr/local/share/config/kdm/に以前使っていたXsessionがコピーされていたのでXstartupにsymbolicLinkを張ってみる。これでlogin可能となったが、rootでしかlogin出来ない。
Xstartup、Xreset、Xsetupを探さなきゃ・・・・・

Xorg起動せず

天気:曇り時々晴れ

案の定、Xorgが起動しない。

Fatal server error:
xf86EnableIO: Failed to open /dev/io for extended I/O

現在のkernelのconfigファイルとGENERALのdiffをとってみると

device mem # Memory and kernel memory devices
device io # I/O device

が無い。
UPDATINGを検索してみると
20040801:
The /dev/mem, /dev/io /dev/(null/zero) devices are now modules,
so you may wish to add them to your kernel config file. See
GENERIC for examples.

やはりこれか。
追加してkernelをbuild。
無事、Xorgが起動するようになった。

2004年12月24日

Movable Type 3.121Developer Edition 日本語版

Movable Type 3.121Developer Edition 日本語版を導入しました。