Re: xdm and listen=tcp

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Wed, 24 May 2023 04:08:30 UTC

> On 23 May 2023, at 18:23, Yuri <yuri@aetern.org> wrote:
> 
> 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
> 

bingo, that did it!

maybe it should be added to the X11 section of the doc?
thanks,
	danny