Hi all, after shutting down the x-server port I am looking for a way to skip networking for kde2. After starting kde2 I have a high port open that belongs to kdeinit. How can I tell kde not to open this port? Thanx in advance Uwe -- ------------------------------------------------------- Uwe Kersten E-Mail: uwe.kersten@online.de Live long and prosper! -------------------------------------------------------
Uwe Kersten wrote:
Hi all,
after shutting down the x-server port I am looking for a way to skip networking for kde2. After starting kde2 I have a high port open that belongs to kdeinit. How can I tell kde not to open this port?
Thanx in advance Uwe
You could try something like the following: ******************************************* #!/usr/bin/perl #DO ***NOT*** RUN THIS SCRIPT AS ROOT! #DO NOT EVEN THINK ABOUT IT! #Run this script at your own risk! open (CAPTURE, "netstat -plt |"); while (<CAPTURE>) { if (/\//) { if (/LISTEN/){ #print "$_ \n"; $netstat_out = ($_); } } } close (CAPTURE); $netstat_out =~ s/^.*LISTEN//; $netstat_out =~ s/^\s*//; $netstat_out =~ s/\/.*//; #print "$netstat_out \n\n"; $kill_kxmlrpcd = "kill -9 $netstat_out"; system ($kill_kxmlrpcd); ****************************************** If you are running other daemons and/or processes with open tcp ports, you will need to hack the pattern matching stuff - otherwise it will probably kill (or try to kill) stuff you want running. Once you get it setup the way you want it, you could try putting this script into the Autostart folder on the KDE desktop and it should kill kxmlrpcd just after KDE2 starts (but I have not tested this). The script will probably not work without modification unless your printer and "kdeinit: kxmlrpcd" are the only open tcp ports. The other option is to upgrade to KDE2.1 (or is it 2.0.1 ?) - the kxmlrpcd bug is listed as "fixed" on the KDE developer site - but it is a bit much to download unless you have a high speed connection. :( John
On Sat, Mar 03, 2001 at 05:25:47AM -0800, John Pinder wrote:
The other option is to upgrade to KDE2.1 (or is it 2.0.1 ?) - the kxmlrpcd bug is listed as "fixed" on the KDE developer site - but it is a bit much to download unless you have a high speed connection. :(
you could also simply remove $KDEDIR/share/services/kxmlrpcd.desktop then it won't get started at all. Best wishes, Carsten Pfeiffer
participants (3)
-
Carsten Pfeiffer
-
John Pinder
-
uwe_kersten@t-online.de