6000/tcp open X11??
i have this for my machine
6000/tcp open X11 what can i do with this??? X11 is something regarding on x-windows? pls... advise..thanks |
It depends a little on how you start X. If you start from console (startx), edit your /usr/X11R6/lib/X11/xinit/xserverrc to look something like this:
Code:
startx -- -nolisten tcp |
if u want it closed u could also use iptables:
iptables -A INPUT -p tcp --dport 6000 -j DROP but setting it to no-listen would seem to be a better 1st step. |
the best ways to do so is to add "-nolisten-tcp" to defaultserverargs in /usr/X11/bin/startx.
That will pass this option to startx automatically. |
what is the purpose of opening this port?
can i invoke my x client (gnome, kde) from other machine through this port? what is the reason behind that i need to close this port?? thanks another question: what is Xdm??? |
X is a server like almost everything in Linux, you may use it to connect from other computer. If you don't want other external client to use it, you should close the port (every open port can be considered as a potential security hole).
Xdm/Gdm/Kdm are the GUI login screen. Instead of login in text mode, you get a nice useless graphical login... |
how can i do a x terminal? what is x terminal means for?
if let say i want to make a connection such that machine b is logging on to machine a. then, from machine b, how can i get a graphical windows manager from machine a, then, i do a administration of machine a from machine b? can i do this??? just go through port 6000??? pls advice?? |
eeeh yes
by terminal, I mean "a client computer without X that will connect on a server one serving X". I never tried a X server, but you should be able to manage the "a" machine from the "b" machine as long the "b" machine will log in X as root account, of course. |
what is the field i should look in it???
i googled plenty of information but none of them are as what i wan to do.. or may be do u have information or url regarding in this.. i want to try it at home... |
sorry won't make new post
I'm searching here at LinuxQ and found this one simillar to mine prob.Block port 6000.
But my situation is bit different, I'm using Lilo with text login,run level 3.Not graphic login. After I type user and paswd,I type "kde" and Kde starts. How then I'll stop X server in my situation? I tried startx -- -nolisten tcp ,but there was some Wizard I didn't like.I skipped it and then started some different Kde.Not as nice as I get usually. How will I stop its 6000 port? Forgot I'm using Guarddog firewall.But X server runs even when I blocked it in Guarddog.Can I use some iptables command when I use Guarddog-Gui for iptables? Thanx in advance, :newbie: |
quote: iptables -A INPUT -p tcp --dport 6000 -j DROP :quote
Is that it? I tried startx -nolisten thing too, but didn't work. I use mandrake 9.2, so I don't use startx, insteand terminal 7 is automatically a login page, which probably explains why startx -nolisten don't work. So how do you close port 6000 on mandrake 9.2? |
cool
my question is can I use this iptables command when I use Gui for iptables? (Guarddog firewall)
I should learn iptables.I'm just too lazy and having hardware probs now.There is always something else what makes me sick. (and won't let me learn more about Linux) Too bad.But some day I will do iptables.Promise :) |
All times are GMT -5. The time now is 04:35 PM. |