You are not logged in.

#1 2003-09-21 17:48:17

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

how do I close X port?

I have open the port 6000 in my PC, and I want to close it, but the service doesn't appear in inetd.conf


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#2 2003-09-21 18:33:29

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: how do I close X port?

I think if you have XFree86 running, you can't just stop it, but what you can do is run IPtables (Check out firestarter for a GUI), and have it filter or block that port.


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

#3 2003-09-21 19:12:33

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: how do I close X port?

actually you can close/block that port by adding -tcpnolisten (or something like that) to your startx command or, if i remember correctly to your inittab file.

some one else here may be better able to remember the process but i believe that is what i did before (the inittab addition that is)


AKA uknowme

I am not your friend

Offline

#4 2003-09-22 02:00:44

Ghost Dawg
Member
From: Third Stone from the Sun
Registered: 2002-10-28
Posts: 47

Re: how do I close X port?

Open /usr/X11R6/bin/startx and edit as follows:

serverargs="-nolisten tcp"

Then you can test it by typing netstat -tan


Drink Pepsi, the new generation, get Linux!

Offline

#5 2003-09-23 00:31:49

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: how do I close X port?

Thanks again  big_smile


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

Board footer

Powered by FluxBB