LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   stoppin X access remotely (https://www.linuxquestions.org/questions/slackware-14/stoppin-x-access-remotely-69328/)

dai 07-02-2003 06:22 PM

nah that doesent work no such switch as -nolisten

Tinkster 07-02-2003 06:34 PM

Tried commenting the ports out yet?

Cheers,
Tink

dai 07-03-2003 05:22 AM

Quote:

Originally posted by Tinkster
Tried commenting the ports out yet?

Cheers,
Tink

not yet, Ill try it later if Its not possible to just stop the X11 service and post results.

Id really like to beable to just stop the X11 service listening like you csn do with Apache and services in Inetd

wonderpun 07-03-2003 05:31 AM

I wanted to do the same :) So that's what I did: just open up /usr/X11R6/bin/startx in any editor and change the line:
serverargs=""
to:
serverargs="-nolisten tcp"
And that worked for me. Hope this helps! :)

dai 07-03-2003 05:33 AM

Thats great thanks I will try that.

dai 07-03-2003 05:41 AM

Quote:

Originally posted by wonderpun
I wanted to do the same :) So that's what I did: just open up /usr/X11R6/bin/startx in any editor and change the line:
serverargs=""
to:
serverargs="-nolisten tcp"
And that worked for me. Hope this helps! :)

Worked Finer Cheers

tried a

netstat -l | grep LISTEN

and no more X11 listening :)

wonderpun 07-03-2003 12:16 PM

nice to help someone :D You're welcome :)


All times are GMT -5. The time now is 10:19 PM.