vnc 5901/tcp # vnc serve ← vncを5901ポートで待ち受ける。
service vnc { disable = no socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -securitytypes=none -geometry 1200x800 -depth 24 log_on_failure +=USERID }
[daemon] RemoteGreeter=/usr/libexec/gdmgreeter [security] AllowRemoteRoot=true [xdmcp] Enable=true
# VNC server iptables -A INPUT -p tcp --dport 5901 -j ACCEPT_COUNTRY