Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
port 6000 listening
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Sat Sep 07, 2002 7:52 pm    Post subject: port 6000 listening Reply with quote

hi.

i wonder what program opens the port 6000 on my system.
how can i see that? i know its some netstat command, i see that its open (LISTENING) whit netstat -a and that it has no specifik outadress or in its just *:6000 om mine and *:* on others....
how can i close it?
is there some info i can get on this, i would serach for it but i dont know what program starts is, i chehked the startup scripts and inetd and all the others.
thx
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 07, 2002 8:14 pm    Post subject: Reply with quote

That is the X server. You can find out which program is listening to a port using the -p option in netstat:
Code:

netstat -lp

or lsof.

You can turn off X listening on tcp/ip but still allow local connections using the "-nolisten tcp" option.
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Sat Sep 07, 2002 9:07 pm    Post subject: Reply with quote

thank you :)
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
TWolf
n00b
n00b


Joined: 12 Jul 2002
Posts: 45
Location: Netherlands

PostPosted: Mon Sep 09, 2002 3:01 pm    Post subject: how do I turn the listening from X off? Reply with quote

Hi,

It's probably very simple, but how do I turn the listening to port 6000 from X off?
_________________
Dutch Anime & Manga @ www.AniWay.nl
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Sep 09, 2002 6:05 pm    Post subject: Re: how do I turn the listening from X off? Reply with quote

TWolf wrote:
It's probably very simple, but how do I turn the listening to port 6000 from X off?

It is very simple, but figuring out exactly where to do it is challenging. You have to find where the X server is started from. In my case, it's by xdm, and the file /etc/X11/xdm/Xservers. If you can't figure it out, please mention how you are starting X.

In any case, add "-nolisten tcp" to the X server's startup command line.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
TWolf
n00b
n00b


Joined: 12 Jul 2002
Posts: 45
Location: Netherlands

PostPosted: Tue Sep 10, 2002 11:02 am    Post subject: Thanks! Reply with quote

You were right, the problem was finding WHERE to change the starting of X.
It works now, thanks!
_________________
Dutch Anime & Manga @ www.AniWay.nl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum