CentOS 6.10でvncでGDM

Vine Linux 6.5でvncでGDMのバリエーション。

/etc/servicesには手を加えず/etc/xinetd.d/vncだけで同じことをやるときのメモ。
type=UNLISTEDとportを指定してやればよい。
具体的にはこんな感じで。

service vnc
{
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry 800x600 -depth 16 -SecurityTypes none
        log_on_failure  += USERID
        disable         = no
        type            = UNLISTED
        port            = 5900
}