LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-20-2003, 08:05 PM   #1
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Question Nmap showed 6000/tcp open X11. How do I keep this from starting?


From PS -A, it looks like i am running gdm. How do I prevent the X11 server from listening to remote connections when I fire up the Gnome desktop on my RH 8 box?
 
Old 11-21-2003, 01:05 AM   #2
reiss
Member
 
Registered: Nov 2003
Location: Sydney
Distribution: Debian
Posts: 30

Rep: Reputation: 15
edit /etc/X11/gdm/gdm.conf

find the line: command=/usr/bin/X11/X
and add '-nolisten tcp' to it.
 
Old 11-22-2003, 07:54 AM   #3
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
Or if you startx manually you can "startx -- -nolisten tcp" without the quotes of course.
 
  


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
X11 Using TCP port 6000 AMMullan Linux - Security 4 04-12-2010 05:03 PM
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
6000 X11 spank Linux - Newbie 2 02-12-2004 07:36 PM
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 04: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