From nobody Mon Mar 4 16:54:12 2024 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 4TpPtq103gz5CwXd for ; Mon, 4 Mar 2024 16:54:43 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TpPtp3pzgz4LkN for ; Mon, 4 Mar 2024 16:54:42 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of bsd-lists@bsdforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=bsd-lists@bsdforge.com Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 424GsCtv076924; Mon, 4 Mar 2024 08:54:19 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) 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 Date: Mon, 04 Mar 2024 08:54:12 -0800 From: Chris To: Daniel Braniss Cc: freebsd-hackers Subject: Re: How to add -listen tcp to Xorg In-Reply-To: <20240303181000.52322886@ernst.home> References: <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home> User-Agent: UDNSMS/17.0 Message-ID: <9041d56f25e83e51f2e6c571fc0448ad@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: / X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-Spamd-Result: default: False [0.00 / 15.00]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; R_SPF_NA(0.00)[no SPF record]; local_wl_ip(0.00)[24.113.41.81]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4TpPtp3pzgz4LkN On 2024-03-03 09:10, Gary Jennejohn wrote: > On Sun, 3 Mar 2024 16:46:46 +0200 > Daniel Braniss 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. :) ... 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