How to restrict X server to localhost ?

Luca Tettamanti kronos.it at gmail.com
Wed Mar 18 09:52:22 PDT 2009


On Wed, Mar 18, 2009 at 12:05 PM, John Tapsell <johnflux at gmail.com> wrote:
> 2009/3/18 hd <h.dupont65 at laposte.net>:
>>
>> I'd like my X server is listening only on localhost
>>
>> Is there a command line option (or config file option) to limit the
>> scope of the listening socket of X server ?
>>
>> there is '-nolisten' but this option seems disable the TCP stack
>
> What's wrong with that?  Why would you want to communicate over TCP to
> localhost?

You can e.g. use a tunnel to connect from a remote machine without
having X listening on a public interface; of course as Alan suggested
you can use the firewall to block inbound connections.

Luca



More information about the xorg mailing list