##############################################################################
● x11vnc のインストール
yum -y install x11vnc
xinetd の設定ファイルを作成する
# vi /etc/xinetd.d/vnc-server
以下のような内容にする
# default: on
# description: The VNC server serves
service vnc-server
{
port = 5900
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/x11vnc
server_args = -inetd -repeat -o /var/log/x11vnc.log -display :0 -auth /var/lib/gdm/:0.Xauth
disable = no
}