vncserver を起動しようとると、失敗した。
# /opt/sfw/bin/vncserver vncserver: couldn't find "xauth" on your PATH.
xauth が見つからないらしいので探す。
# find / -name *xauth* /usr/openwin/bin/xauth /usr/openwin/share/man/man1/xauth.1 /usr/openwin/share/man/ja/man1/xauth.1 /usr/openwin/share/man/ja_JP.PCK/man1/xauth.1 /usr/openwin/share/man/ja_JP.UTF-8/man1/xauth.1 /usr/sfw/share/zsh/4.2.1/functions/Completion/X/_xauth
xauth にパスを通してリトライすると、Xvnc がないって言われるので探す。
# find / -name *Xvnc*
/opt/sfw/bin/Xvnc
/.profile に以下のとおりパスを通すと解決した。
# vi /.profile PATH=$PATH:/usr/openwin/bin:/opt/sfw/bin export PATH # . /.profile