VNCの設定方法。の巻。
ついに、Linuxを入れているマシン本体のところに
行くのがめんどくさくなったので、
VCNを(今更かもですが)導入。
ということで、
そのときの設定メモ。
1) rootでログインする。
2) 以下のコマンドを実行して,VNCサーバーをインストールする。
# yum install vnc-server
3) /etc/sysconfig/vncserversを,以下のように作成する。
VNCSERVERS="1:root"
4) 以下のコマンドを実行して,VNCサーバーのパスワードを設定する。
# vncpasswd
5) 以下のコマンドを実行して,VNCサーバーを起動する。
# /etc/init.d/vncserver start
6) /root/.vnc/xstartupの以下の行を修正する。
twm &
↓
gnome-session &
もしくは
startxfce4 & (ホントにXWindow直球の場合)
7) 以下のコマンドを実行して,VNCサーバーを再起動する。
# /etc/init.d/vncserver restart
8) 以下のコマンドを実行して,VNCサーバーの標準のラン・レベルをonにする。
# chkconfig vncserver on
9) クライアントマシンからVCNクライアントを使用して接続しる!
□参考URLなど
http://www.shitomi.jp/fc4/vnc.htmlhttp://oshiete1.goo.ne.jp/qa1621041.htmlhttp://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1013408940http://oshiete1.goo.ne.jp/qa3569714.htmlhttp://juntake.dion.jp/server/Linux_HomeServer/no15/no15.html