LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2008, 05:31 AM   #1
Reasa
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 53

Rep: Reputation: 16
command to enable X -tcp nolisten


Well, subj. I want to disable listening on 6000 port. My friend told me to edit .bashrc to make an alias so every time i $startx or $xinit it would load already with -nolisten flag. But i dont know what the correct way of setting this is, help?
 
Old 09-22-2008, 06:34 AM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
startx -- -nolisten tcp

should work.
 
Old 09-22-2008, 07:21 AM   #3
Reasa
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 16
Yeah thanks. Would never figure out 3 dashes. Nmap shows that port 6000 is closed now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
--nolisten tcp glock19 Linux - General 11 02-05-2013 04:45 PM
-nolisten tcp for X ferreter Fedora 3 07-19-2004 03:38 PM
SuSE 9.1 eliminating -nolisten tcp jdeisenberg Linux - Software 1 06-04-2004 05:38 PM
startx -nolisten tcp shanenin Slackware 2 11-12-2003 05:00 PM
-nolisten tcp Xgates Linux - Security 4 01-23-2003 05:48 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration