December 23rd, 2002, 11:46 PM
I'm running redhat 7.2 and i've got Xport 6000 wide open and dont know how to close it!
can anyone give me some guidiance on this....
eveything else i've closed has been in the services menu, but this one has so for been illusive.
any help would be great.
\"I can resist everything, except temptation.\" - Oscar Wilde
December 24th, 2002, 12:03 AM
Hi, the Port 6000 is X. As it is a robust flexible GUI at allows connections from/to other computers. Closing the port im unsure of, but u can protect it, just change your /etc/hosts.deny and change the entry to ALL:6000 (i think thats the format). that will deny all hosts to port 6000.
alternativly use ipchains/iptables to block out the port on a certain interface.
December 24th, 2002, 12:07 AM
Enode has a good suggestion, or, you could make X stop listening on that port by editing
and changing the line which reads
:0 local /usr/X11R6/bin/X
:0 local /usr/X11R6/bin/X -nolisten tcp
Oops, forgot to add
You will need to restart X after that.