LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   X11 Using TCP port 6000 (https://www.linuxquestions.org/questions/linux-security-4/x11-using-tcp-port-6000-a-97276/)

AMMullan 09-26-2003 05:28 PM

X11 Using TCP port 6000
 
I was playing around with nmap and noticed Port 6000 being used by X11.

Is this secure or is it not?
If not how do I stop it?

Ta,
Allan

shellcode 09-26-2003 08:54 PM

The X window system is also a server.

this means that it offers server capabilities such as running a graphical program from another computer.

Is it secure? If your version of X11 has any security vulnerabilities, then probably, just get a recent version of X11

nmap rules!!!

php 10-01-2003 12:59 AM

you dont have to have it show up, I prefer not to.

'startx -- -nolisten tcp'

that will fix it.

DragonM15 04-12-2010 01:42 PM

I know this thread is rather old, but in the event that someone runs across it, I would like to add that you can disable port 6000 by editing the /etc/X11R6/bin/startx file

Find the line that says serverargs=""
and replace it with serverargs="-nolisten tcp"

This makes it so when you execute startx by itself without any options, it does not start the tcp server.

Hope this helps someone

win32sux 04-12-2010 05:03 PM

Surely someone googling this would have run into one of the dozens of other threads where it's talked about, though.


All times are GMT -5. The time now is 07:32 AM.