LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-26-2003, 05:28 PM   #1
AMMullan
Member
 
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?

Ta,
Allan
 
Old 09-26-2003, 08:54 PM   #2
shellcode
Member
 
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
php
Member
 
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
DragonM15
Member
 
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
win32sux
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:53 PM.

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