On Mon, 2002-03-11 at 11:38, Scott Sharkey wrote: > Hi All, > > I'm trying to stop X from listening on port 6000 (RH 7.2). I have > put the --nolisten tcp option on the command line in both > /etc/X11/xdm/Xservers and in the /etc/X11/gdm/gdm.conf (I'm running > the gnome desktop). It has not had any effect... the command line > being run (according to ps) is /etc/X11/X ... while both the > config files show /usr/X11R6/bin/X ... > > ANYBODY KNOW WHY/WHERE X is actually being launched? > > Thanks! > > -Scott >
I'm not sure exactly who or what is launching X, but since /etc/X11/X is just a symlink to /usr/X11R6/bin/XFree86, you could remove it and replace with the following script (remember to remove the symlink first): #!/bin/bash exec /usr/X11R6/bin/XFree86 -nolisten tcp $@ It may not be the most elegant solution, but it does stop X from listening on port 6000. -- Trevor Hamm _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list