Results 1 to 3 of 3

Thread: port 6000

  1. #1

    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

  2. #2
    Junior Member
    Join Date
    Sep 2001
    Posts
    10

    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.


  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    461
    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
  •