Results 1 to 7 of 7

Thread: Port 6000---the x11 port

  1. #1

    Port 6000---the x11 port

    Anyone know how to turn off port 6000 in slack 8.1?

    startx -- -nolisten tcp

    This works fine, but I dont want my 6yold to have to type that every time he logs in. As I dont use remote x sessions, port 6000 never needs to be open.


    Any help is always well received, thanks.

  2. #2

    Re:Port 6000---the x11 port

    edit your startx script and change defaultserverargs="-nolisten tcp"

    that should do.

  3. #3

    Re:Port 6000---the x11 port

    I put it in the xinitrc.kde. Still left the port open---am I putting it in the wrong spot?

  4. #4

    Re:Port 6000---the x11 port

    xinitrc.kde is after the server is started, in the actual /usr/X11R6/bin/startx file the top few lines have defaultservargs="" thats where you add the parameters.

  5. #5

    Re:Port 6000---the x11 port

    Thank you, thank you!!

  6. #6
    Junior Member
    Join Date
    May 2001
    Posts
    82

    Re:Port 6000---the x11 port

    I thank you for the answer, too!

    My follow-up question is:
    After making the change in startx, what do I need to do for this to start working? Is it just a matter of restarting X? Or do I need to restart the whole server?

    Thanks.

    Greg

  7. #7

    Re:Port 6000---the x11 port

    Restarting the x server should do it

    Let me rephrase that lol, restarting x should do it.

Similar Threads

  1. mouse itself, or port?
    By s134k in forum Linux - General Topics
    Replies: 1
    Last Post: 05-16-2006, 06:55 AM
  2. difference between passive FTP and Active FTP.
    By walk2linux in forum Linux - General Topics
    Replies: 1
    Last Post: 09-24-2005, 03:43 PM
  3. sharing parallel port via network
    By rapideye in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 06-15-2005, 09:20 AM
  4. Common Win 95 or 98 printing issues
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:01 AM
  5. Problem recving HTTP requests when Apache listens on port 80
    By hecter in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 10-30-2004, 05:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •