Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 09-26-2003, 05:28 PM   #1
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
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?

Old 09-26-2003, 08:54 PM   #2
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 32
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!!!
Old 10-01-2003, 12:59 AM   #3
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 827

Rep: Reputation: 30
you dont have to have it show up, I prefer not to.

'startx -- -nolisten tcp'

that will fix it.
Old 04-12-2010, 01:42 PM   #4
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
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
Old 04-12-2010, 05:03 PM   #5
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
open x11 and port 6000 for listening ccin1492 SUSE / openSUSE 0 10-12-2005 05:31 PM
6000/tcp open X11?? yenonn Linux - Networking 11 03-01-2004 12:55 AM
X11 port 6000 - not closed? b0uncer Linux - Security 6 02-23-2004 04:00 PM
Nmap showed 6000/tcp open X11. How do I keep this from starting? jdruin Linux - Security 2 11-22-2003 07:54 AM
close port 6000/tcp 515/tcp SchwipSchwap Linux - Newbie 1 09-12-2002 08:24 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration