-   Linux - Security (
-   -   -nolisten tcp (

Xgates 01-23-2003 04:03 AM

-nolisten tcp
I'm running Slackware 8.1, and I'm not sure if the configuration is different from distro to distro on this, but which file do you add in '-nolisten tcp' to have X not listen in on port 6000 ? I use to think you added in that line into
'startx' in /usr/X11R6/bin/startx, but that didn't help, and someone also told me you can add it into your $Home .xinitrc, but no luck on that either. ? Thanks in advance for any help someone can give. :-)

Xgates 01-23-2003 04:21 AM

Ok I figured it out only 10mins after Posting :-)
OK I got the answer in /usr/X11R6/bin/startx
on the serverargs="" line add in like this:

serverargs="-nolisten tcp" (Ola Good buy Port 6000)

By the way I'm no NoOb to Slack or Linux can we PLEASE do something about that 'Newbie' under my name ? Ahhhh I think I'm going to puke


unSpawn 01-23-2003 04:27 AM

4 possibilities. It's a server arg, so on the cmdline it comes after the double dash: "startx -- -nolisten-tcp" or put it in /usr/X11R6/bin/startx as serverargs="-nolisten tcp" or put it in your ~/.xserverargs or make it a shell alias.
Btw, you could have found the answer searching LQ.

Xgates 01-23-2003 04:30 AM

Well as you can see I did get it :-)
unSpawn Thx anyways I was one step ahead of you :-)

unSpawn 01-23-2003 04:48 AM


All times are GMT -5. The time now is 01:49 PM.