How to display custom error message for xinetd based vnc connection failure?
Issue
- We have configured xinetd based vnc service with
per_sourcelimit.
service Xvnc
{
disable = no
flags = IPV4
flags = IPv4
socket_type = stream
protocol = tcp
per_source = 5
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -once -query localhost -SecurityTypes=VeNCrypt,TLSnone -geometry 1280x1024 -depth 24 -extension XFIXES
}
- The connection is not allowed when user tries to connect beyond 5 sessions, which is obvious.
- There should be some way to convey relevant message to the user attempting connection beyond set limit.
- Is there any way to display custom message to user when vnc connection fails beyond
per_sourcelimit?
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.