Re: xdm and listen=tcp

From: Yuri <yuri_at_aetern.org>
Date: Tue, 23 May 2023 15:23:42 UTC
Daniel Braniss wrote:
> 
> 
>> On 23 May 2023, at 18:03, Yuri <yuri@aetern.org> wrote:
>>
>> Daniel Braniss wrote:
>>> hi,
>>> the short version:
>>> 	i start the X11 via the following line in /etc/ttys:
>>> 		ttyv8	“/usr/local/bin/xdm -nodaemon” xterm on secure
>>>
>>> this worked great since forever, but now(*) the default of Xorg is not to accept tcp connection,
>>> is there a simple way to fix this, apart of recompiling Xorg and somehow changing the default behavior?
>>>
>>> *: now probably is a few years, since i have not uograded my WS for a while - why change if it’s working,
>>>   but mow it just went belly up :-(
>>
>> You probably want /usr/local/etc/X11/xdm/Xservers.
>>
> 
> i tried 
> 	;0 local /usr/local/bin/X :0 -listen=tcp
> but maybe it should be:
> 	:0 local /usr/local/bin/X -listen=tcp :0

It's '-listen tcp' actually (just checked that it works) :-) sorry I
didn't mention there's unneded '=' in your first post.

:0 local /usr/local/bin/X -listen tcp :0