Re: How to add -listen tcp to Xorg

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Tue, 05 Mar 2024 05:22:13 UTC

> On 4 Mar 2024, at 18:54, Chris <bsd-lists@bsdforge.com> wrote:
> 
> On 2024-03-03 09:10, Gary Jennejohn wrote:
>> On Sun, 3 Mar 2024 16:46:46 +0200
>> Daniel Braniss <danny@cs.huji.ac.il> wrote:
>>> Hi,
>>> In the past Xorg  listen on port 6000 was the default, now it?s disabled.
>>> Some years ago I changed this behavior back to enable, but now
>>> I can?t find my patch, and looking at the latest sources is mind boggling, trying to
>>> set listen tcp is not working.
>>> Any help is most welcome,
>>> 	Danny
> man 7 X
> should provide for your needs. :)
i didn’t have xorg-docs installed, so I missed that :-)
in any case problem solved,
	thanks
		danny

> ...
> DISPLAY NAMES
>       From the user's perspective, every X server has a display name of the
>       form:
> 
>              hostname:displaynumber.screennumber
>       or
>              protocol/hostname:displaynumber.screennumber
> 
>       This information is used by the application to determine how it should
>       connect to the server and which screen it should use by default (on
>       displays with multiple monitors):
> 
>       protocol
>               The protocol specifies the protocol to use for communication.
>               Exactly which protocols are supported is platform dependent,
>               but most commonly supported ones are:
> 
>               tcp     TCP over IPv4 or IPv6
>               inet    TCP over IPv4 only
>               inet6   TCP over IPv6 only
>               unix    UNIX Domain Sockets (same host only)
>               local   Platform preferred local connection method
>               If the protocol is not specified, Xlib uses whatever it
>               believes is the most efficient transport.
> 
>       hostname
> ...
> 
> HTH
> 
> --Chris