Quote:
Anyone know how to stop X from listening on port 6000 when using KDM? I put -nolisten tcp in my /usr/X11R6/bin/startx script but no joy.
|
True, adding that option in
startx only prevents listening when starting X from the command line. To stop listening when starting KDE from KDM:
In KDE 3.3.x, edit
/opt/kde/share/config/kdm/Xsession:
:0 local@tty1 /usr/X11R6/bin/X :0 vt7 -ac -nolisten tcp
:1 local@tty2 reserve /usr/X11R6/bin/X :1 vt8 -ac -nolisten tcp
In KDE 3.4.x (and 3.5.x ?), edit
/opt/kde/share/config/kdm/kdmrc:
[X-:*-Core]
. . .
. . .
ServerArgsLocal=-nolisten tcp
ServerCmd=/usr/X11R6/bin/X
. . .
. . .