How can I stop the Xserver listening on port 6000?
On my Computer I have installed a standard SuSE Linux 8.1 Pro with Grafik-Login. I want to detach the binding of my X-Server to an IP-Socket or restirct it to some IP-Adresses (localhost, ...) In the config-file "/etc/X11/xdm/XServers" I have changed ":0 local /usr/X11R6/bin/X :0 vt07" to ":0 local /usr/X11R6/bin/X :0 vt07 -nolisten tcp". But nothing happens. After a reboot the X-Server ist still listening on port 6000. Does any one knows how I can solve the problem? Wolfgang __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
On my Computer I have installed a standard SuSE Linux 8.1 Pro with Grafik-Login. I want to detach the binding of my X-Server to an IP-Socket or restirct it to some IP-Adresses (localhost, ...)
In the config-file "/etc/X11/xdm/XServers" I have changed ":0 local /usr/X11R6/bin/X :0 vt07" to ":0 local /usr/X11R6/bin/X :0 vt07 -nolisten tcp". But nothing happens. After a reboot the X-Server ist still listening on port 6000.
Aehm, die you really reboot? Not just log out? I do exactly the same thing with my setup here, and I've never seen a problem with it.
Does any one knows how I can solve the problem?
Please type "sync", hit the reset button and see again with netstat -anp|grep LISTEN Basically, you'd have to restart xdm/kdm to make this work. You can do so by running rcxdm stop sleep 10 rcxdm start as root. Regards, Roman.
I suggest you use iptables rules to block traffic to that port or use a firewall script like Shorewall or SuSEFirewall. peace, Tom try88out@netscape.net wrote:
On my Computer I have installed a standard SuSE Linux 8.1 Pro with Grafik-Login. I want to detach the binding of my X-Server to an IP-Socket or restirct it to some IP-Adresses (localhost, ...)
In the config-file "/etc/X11/xdm/XServers" I have changed ":0 local /usr/X11R6/bin/X :0 vt07" to ":0 local /usr/X11R6/bin/X :0 vt07 -nolisten tcp". But nothing happens. After a reboot the X-Server ist still listening on port 6000.
Does any one knows how I can solve the problem?
Wolfgang
participants (3)
-
Roman Drahtmueller
-
Thomas Seliger
-
try88out@netscape.net