[SLE] Re: [suse-security] X listening on 6000?
You could also add this to your /etc/profile as an alias to startx. This would work for you. alias startx='startx -- -nolisten tcp' --> -->startx -- -nolisten tcp --> -- Cheers, Ben Rosenberg mailto:ben@whack.org ------------------------- "The only 'intuitive' interface is the nipple. After that, it's all learned." -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi, Ben, if you had a dollar for every time... I tried this, however, it didn't work. I tried a number of other things in ignorance (e.g. playing with the 'startx' function definition in /etc/profile). None of these things worked. Then, to see if it would work at all, I booted in runlevel 2 and did 'startx -- -nolisten -tcp". Now TCP no longer listens, and it doesn't show up on scans. But i want this to be done automatically, so if i do graphical logins it will still happen. I think it will be necessary to edit the init script where the startx command is issued. Does anyone know which that is? I grepped the X11R6 directory and there's nothing obvious there. The X11 setup seems to have changed since all the documentation I have looked at, or else this is a SuSE peculiarity. X runs fine without TCP listening, therefore perhaps this should be an option in rc.config or YaST? Sorry to make a habit of this. Best, Corvin
alias startx='startx -- -nolisten tcp'
--> -->startx -- -nolisten tcp -->
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
ben@whack.org
-
corvinr@sympatico.ca