Now Reading: How to Disable VNC Server from Xinetd in CentOS/RHEL 7 – Ranjan.info

Loading
svg
Open

How to Disable VNC Server from Xinetd in CentOS/RHEL 7 – Ranjan.info

January 23, 20241 min read

Question:How do I prevent the xinetd daemon from starting VNC server processes?

1. Go to xinetd configuration file /etc/xinetd.d/vnc-server, Modify the file and view the line disabled = no And set the value to Yes.

# vi /etc/xinetd.d/vnc-server
service vnc-server-1
{
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 1440x900 -depth 24 -once -securitytypes=none
}

2. Restart the xinetd service for the changes to take effect.

# systemctl restart xinetd.service

How do you vote?

0 People voted this article. 0 Upvotes - 0 Downvotes.
svg

What do you think?

Show comments / Leave a comment

Leave a reply

Loading
svg