Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2024 19:29:14 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        garyj@gmx.de
Cc:        freebsd-hackers <hackers@freebsd.org>
Subject:   Re: How to add -listen tcp to Xorg
Message-ID:  <EDB87342-EC3A-48C6-9CFD-D620E98C04D5@cs.huji.ac.il>
In-Reply-To: <20240303181000.52322886@ernst.home>
References:  <543CC273-7A51-4C12-981B-493CA69BE5FE@cs.huji.ac.il> <20240303181000.52322886@ernst.home>

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

--Apple-Mail=_80859BFE-8149-4677-9E79-AA127F83EBE4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

This is the trick that has worked for me since time immemorial:
In /etc/ttys:
	ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   on secure


> On 3 Mar 2024, at 19:10, Gary Jennejohn <garyj@gmx.de> wrote:
>=20
> On Sun, 3 Mar 2024 16:46:46 +0200
> Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
>> 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
>>=20
>=20
> How do you start Xorg?  I use xinit with this command line:
>=20
> /usr/local/bin/xinit -- -listen tcp
>=20
> Of course, you'll need to have a .xinitrc for that to work.
>=20
> --
> Gary Jennejohn


--Apple-Mail=_80859BFE-8149-4677-9E79-AA127F83EBE4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;">This is the =
trick that has worked for me since time immemorial:<div>In =
/etc/ttys:</div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><span style=3D"caret-color: =
rgb(0, 0, 0); color: rgb(0, 0, 0);">ttyv8 =
&nbsp;&nbsp;"/usr/local/bin/xdm -nodaemon" &nbsp;xterm &nbsp;&nbsp;on =
secure</span></div><div><font color=3D"#000000"><span =
style=3D"caret-color: rgb(0, 0, 0);"><br =
id=3D"lineBreakAtBeginningOfMessage"></span></font><div><br><blockquote =
type=3D"cite"><div>On 3 Mar 2024, at 19:10, Gary Jennejohn =
&lt;garyj@gmx.de&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><div>On Sun, 3 Mar 2024 =
16:46:46 +0200<br>Daniel Braniss &lt;danny@cs.huji.ac.il&gt; =
wrote:<br><br><blockquote type=3D"cite">Hi,<br>In the past Xorg =
&nbsp;listen on port 6000 was the default, now it?s disabled.<br>Some =
years ago I changed this behavior back to enable, but now<br>I can?t =
find my patch, and looking at the latest sources is mind boggling, =
trying to<br>set listen tcp is not working.<br>Any help is most =
welcome,<br><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Danny<br><br></blockquote><br>How do you start Xorg? &nbsp;I use =
xinit with this command line:<br><br>/usr/local/bin/xinit -- -listen =
tcp<br><br>Of course, you'll need to have a .xinitrc for that to =
work.<br><br>--<br>Gary =
Jennejohn<br></div></div></blockquote></div><br></div></body></html>=

--Apple-Mail=_80859BFE-8149-4677-9E79-AA127F83EBE4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EDB87342-EC3A-48C6-9CFD-D620E98C04D5>