-
December 24th, 2002, 12:46 AM
#1
Member
port 6000
Hi there,
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.
-aX
\"I can resist everything, except temptation.\" - Oscar Wilde
-
December 24th, 2002, 01:03 AM
#2
Junior Member
port 6000
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, 01:07 AM
#3
Enode has a good suggestion, or, you could make X stop listening on that port by editing
/etc/X11/xdm/Xservers
and changing the line which reads
:0 local /usr/X11R6/bin/X
to read
:0 local /usr/X11R6/bin/X -nolisten tcp
good luck.
Oops, forgot to add
You will need to restart X after that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|