View previous topic :: View next topic |
Author |
Message |
really Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1526496202408e0bc5f0e94.jpg)
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Sat Sep 07, 2002 7:52 pm Post subject: port 6000 listening |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Naan Yaar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Sep 07, 2002 8:14 pm Post subject: |
|
|
That is the X server. You can find out which program is listening to a port using the -p option in netstat:
or lsof.
You can turn off X listening on tcp/ip but still allow local connections using the "-nolisten tcp" option. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
really Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1526496202408e0bc5f0e94.jpg)
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Sat Sep 07, 2002 9:07 pm Post subject: |
|
|
thank you ![Smile :)](images/smiles/icon_smile.gif) _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TWolf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4590009154215e4e2c90b0.gif)
Joined: 12 Jul 2002 Posts: 45 Location: Netherlands
|
Posted: Mon Sep 09, 2002 3:01 pm Post subject: how do I turn the listening from X off? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rac Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/42db5dbb3e1c92424d747.jpg)
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Sep 09, 2002 6:05 pm Post subject: Re: how do I turn the listening from X off? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
TWolf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4590009154215e4e2c90b0.gif)
Joined: 12 Jul 2002 Posts: 45 Location: Netherlands
|
Posted: Tue Sep 10, 2002 11:02 am Post subject: Thanks! |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|