LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-02-2010, 05:51 AM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
Making X server not binding 0.0.0.0 or listening


Hey All,

I'm trying to execute X server (automatically), which will not bind to 0.0.0.0 (port 6000) - meaning X server will not listen on generic interface.

If it's possible, I'd prefer X server not to listen at all (and communicate through other IPC if needed), is there a way to make it not listening at all? -nolisten flag or something like that? (and do it automatically, every reboot).


Also, Is there a way to make X server bind to 127.0.0.1(localhost) instead of 0.0.0.0(generic interface)?


It should be in one of the configuration files or the start-up command to run X.


PLEASE DO NOT SUGGEST USING FW TO BLOCK IT, since it will not help me (I want to solve the problem, not to hack-myself-a-dirty-patch).


Thanks.
 
Old 09-02-2010, 09:00 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by itz2000 View Post
Hey All,

I'm trying to execute X server (automatically), which will not bind to 0.0.0.0 (port 6000) - meaning X server will not listen on generic interface.

If it's possible, I'd prefer X server not to listen at all (and communicate through other IPC if needed), is there a way to make it not listening at all? -nolisten flag or something like that? (and do it automatically, every reboot).
Close... "-nolisten tcp". How you get it to do that by default, though, depends on how you are starting X. Are you using a display manager? If so, which one?

Adam
 
  


Reply

Tags
generic, interface, localhost, port, server, xorg


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to tag linux server binding interface? cj_cheema Linux - Networking 2 12-25-2009 03:05 AM
NIS and binding to YP server JimHughen Ubuntu 1 07-15-2009 12:22 AM
binding 2 internet connections on same fedora server jonnyhashem Linux - Networking 1 04-13-2009 06:22 AM
Binding client to Fedora DS Server? ajeetraina Linux - Server 0 10-30-2007 12:40 AM
not listening to an NIS server aboulafia Linux - Networking 0 08-27-2006 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:55 AM.

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
Open Source Consulting | Domain Registration