yum install tigervnc-server xinetd
service vnc-1366x768
{
disabled = no
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -once -query localhost -securitytypes=none -geometry 1366x768 -depth 24
type = UNLISTED
port = 5900
}
service vnc-1600x900
{
disabled = no
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -once -query localhost -securitytypes=none -geometry 1600x900 -depth 24
type = UNLISTED
port = 5901
}
service vnc-1920x1080
{
disabled = no
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -once -query localhost -securitytypes=none -geometry 1920x1080 -depth 24
type = UNLISTED
port = 5902
}