View previous topic :: View next topic |
Author |
Message |
azambuja Apprentice
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Thu Nov 27, 2003 5:12 pm Post subject: how to close: 6000/tcp open X11 ? |
|
|
hello,
how do i close this port?
thanks/cheers _________________ "Slip inside the eye of your mind, don't you know you might find, a better place to play" |
|
Back to top |
|
|
m0pr0be Guru
Joined: 29 Aug 2002 Posts: 308
|
Posted: Thu Nov 27, 2003 5:19 pm Post subject: |
|
|
start your X server with the option -nolisten tcp.
for more info:
|
|
Back to top |
|
|
azambuja Apprentice
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Thu Nov 27, 2003 5:23 pm Post subject: |
|
|
yeah, but how do i do this???
i installed gentoo, emerged X, and then added xdm to startup...
besides that, no more extra configs...
where is this being started?
thanx again _________________ "Slip inside the eye of your mind, don't you know you might find, a better place to play" |
|
Back to top |
|
|
fleed l33t
Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Thu Nov 27, 2003 5:30 pm Post subject: |
|
|
Maybe /etc/X11/xdm/Xservers? I haven't tried it but that sounds like a good bet. |
|
Back to top |
|
|
MADcow l33t
Joined: 23 Jan 2003 Posts: 742 Location: RIT (Henrietta, New York, United States)
|
Posted: Thu Nov 27, 2003 5:36 pm Post subject: |
|
|
make your /etc/X11/xdm/Xsessions look like this Code: |
:0 local /usr/X11R6/bin/X -nolisten tcp |
i haven't tried it, as i need the remote capabilities, but that looks like it should work |
|
Back to top |
|
|
m0pr0be Guru
Joined: 29 Aug 2002 Posts: 308
|
Posted: Thu Nov 27, 2003 5:36 pm Post subject: |
|
|
xdm is a beast. but yeah.
/etc/X11/xdm/Xserver should do the trick
edit the line for your local display and add the -nolisten tcp |
|
Back to top |
|
|
MADcow l33t
Joined: 23 Jan 2003 Posts: 742 Location: RIT (Henrietta, New York, United States)
|
Posted: Thu Nov 27, 2003 6:00 pm Post subject: |
|
|
we posted at exactly the same time
cheers!
edit: and this post was posted at the same time as kallamej's post...
this is getting creepy
Last edited by MADcow on Thu Nov 27, 2003 6:01 pm; edited 1 time in total |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Thu Nov 27, 2003 6:00 pm Post subject: |
|
|
The Gentoo Security Guide is a good reference. See Chapter 11. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
Loke Apprentice
Joined: 25 May 2002 Posts: 274 Location: Norway
|
Posted: Mon Jan 05, 2004 1:50 am Post subject: |
|
|
I there a bug with kde 3.2b2 and X listening to port 6000? After upgrading to kde 3.2b2 I cant start X without it listening to port 6000. Ive tried everything this thread suggests, but it still listens. Im using kdm btw as a login manager. If using startx, it works as expected. _________________ I'm not saying there should be capital punishment for stupidity, I'm saying why don't we take the warning labels off of everything, and let the problem take care of itself? |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Mon Jan 05, 2004 6:52 am Post subject: |
|
|
Loke wrote: | I there a bug with kde 3.2b2 and X listening to port 6000? |
Could please report that to http://bugs.kde.org/ ?
Thank you,
Norberto |
|
Back to top |
|
|
b_Q Apprentice
Joined: 18 Jun 2002 Posts: 163
|
Posted: Mon Jan 05, 2004 8:55 am Post subject: |
|
|
Hi Loke, bug or whanot.
For kde-3.2.0_beta2 if using xdm edit file
/usr/kde/3.2/share/config/kdm/Xservers
Work's here. _________________ Preudhomme's Law of Window Cleaning:
It's on the other side. |
|
Back to top |
|
|
Loke Apprentice
Joined: 25 May 2002 Posts: 274 Location: Norway
|
Posted: Mon Jan 05, 2004 6:30 pm Post subject: |
|
|
Ahh cheers mate! That probably is the correct location to set the option. Great _________________ I'm not saying there should be capital punishment for stupidity, I'm saying why don't we take the warning labels off of everything, and let the problem take care of itself? |
|
Back to top |
|
|
|