Re: How to add -listen tcp to Xorg

From: Gary Jennejohn <garyj_at_gmx.de>
Date: Sun, 03 Mar 2024 19:08:52 UTC
On Sun, 3 Mar 2024 13:28:27 -0500
Tommy Johnson <tjohnson@bobdbob.com> wrote:

> On Sun, 3 Mar 2024 18:05:51 +0000
> Gary Jennejohn <garyj@gmx.de> wrote:
>
> > On Sun, 3 Mar 2024 19:29:14 +0200
> > Daniel Braniss <danny@cs.huji.ac.il> wrote:
> >
> > > This is the trick that has worked for me since time immemorial:
> > > In /etc/ttys:
> > > 	ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   on secure
> > >
> >
> > Well, it doesn't work now.
> >
> > I've never used xdm and have no idea what options it supports.
>
> I fixed the problem by editing the file Xservers in /usr/local/etc/X11/xdm
> to look like:
>
> :0 local /usr/local/bin/X :0  -listen tcp
>
> I am using xdm from .../ports/x11/xdm , as opposed to any of the
> newer reimplementations.
>

That's great!  I was hoping that a solution like this could work, since
it's similar to xinit passing -listen tcp to the Xserver.

--
Gary Jennejohn