Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2023 07:08:30 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Yuri <yuri@aetern.org>
Cc:        hackers@freebsd.org
Subject:   Re: xdm and listen=tcp
Message-ID:  <33376F0A-1722-4D7C-B793-65FD8044E28D@cs.huji.ac.il>
In-Reply-To: <62873693-1afe-c5ca-1431-f5e1c8c1d8da@aetern.org>
References:  <255BDA89-2DD1-4805-95F1-5C01453A3E47@cs.huji.ac.il> <f6ec6a17-fe49-9f3b-5504-48e1df3da18a@aetern.org> <86C9CA1E-9790-4FFF-BFF6-8C22EE35CF9C@cs.huji.ac.il> <62873693-1afe-c5ca-1431-f5e1c8c1d8da@aetern.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 23 May 2023, at 18:23, Yuri <yuri@aetern.org> wrote:
>=20
> Daniel Braniss wrote:
>>=20
>>=20
>>> On 23 May 2023, at 18:03, Yuri <yuri@aetern.org> wrote:
>>>=20
>>> Daniel Braniss wrote:
>>>> hi,
>>>> the short version:
>>>> 	i start the X11 via the following line in /etc/ttys:
>>>> 		ttyv8	=E2=80=9C/usr/local/bin/xdm -nodaemon=E2=80=9D =
xterm on secure
>>>>=20
>>>> 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?
>>>>=20
>>>> *: now probably is a few years, since i have not uograded my WS for =
a while - why change if it=E2=80=99s working,
>>>>  but mow it just went belly up :-(
>>>=20
>>> You probably want /usr/local/etc/X11/xdm/Xservers.
>>>=20
>>=20
>> i tried=20
>> 	;0 local /usr/local/bin/X :0 -listen=3Dtcp
>> but maybe it should be:
>> 	:0 local /usr/local/bin/X -listen=3Dtcp :0
>=20
> It's '-listen tcp' actually (just checked that it works) :-) sorry I
> didn't mention there's unneded '=3D' in your first post.
>=20
> :0 local /usr/local/bin/X -listen tcp :0
>=20

bingo, that did it!

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33376F0A-1722-4D7C-B793-65FD8044E28D>