From nobody Wed May 24 04:08:30 2023 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QQyNN3YJRz4TS2q for ; Wed, 24 May 2023 04:08:36 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QQyNN0hLVz3R99 for ; Wed, 24 May 2023 04:08:35 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=1H5bnU4tUORACrRuYGEqUyjZhjp3XjSfIi4EWxdRhhI=; b=wMM4vFYLvFqSyAw6BL1jxDOzLQsj/OPvV/kIteuoFPHNb8yDEgdFVEjbAthv5Dtc+EQvqpEo5hMSHLEQc+4txVYWorb/VrtJNv7k1r39adzTzDJ9VZNCs9kEY77p+ytknNuf7/9GL0vVBUNuLYH4n3QMj1ufrwucqq/3uIGWfxJ2ANjQjY2IA8FfIxDnPWXnyeae2KdD52gkXFp3GlXJBFvqv/4P4WXvMNuCuIMzipp3VUNMsCgNS7HnphNAMoN/WsEy7Bf9Rnh0DRWDLoHxFKT5qzkTFgtNE6rC70+Eyt+1G7w7sWQEnCvgue4iTtbD6ySUPoTllL7h/J6FWK/kkw==; Received: from bach.cs.huji.ac.il ([132.65.80.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1q1fna-000EeZ-SG; Wed, 24 May 2023 07:08:30 +0300 Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: xdm and listen=tcp From: Daniel Braniss In-Reply-To: <62873693-1afe-c5ca-1431-f5e1c8c1d8da@aetern.org> Date: Wed, 24 May 2023 07:08:30 +0300 Cc: hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <33376F0A-1722-4D7C-B793-65FD8044E28D@cs.huji.ac.il> References: <255BDA89-2DD1-4805-95F1-5C01453A3E47@cs.huji.ac.il> <86C9CA1E-9790-4FFF-BFF6-8C22EE35CF9C@cs.huji.ac.il> <62873693-1afe-c5ca-1431-f5e1c8c1d8da@aetern.org> To: Yuri X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Rspamd-Queue-Id: 4QQyNN0hLVz3R99 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On 23 May 2023, at 18:23, Yuri wrote: >=20 > Daniel Braniss wrote: >>=20 >>=20 >>> On 23 May 2023, at 18:03, Yuri 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