Re: How to add -listen tcp to Xorg

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Sun, 03 Mar 2024 17:29:14 UTC
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:
> 
> On Sun, 3 Mar 2024 16:46:46 +0200
> Daniel Braniss <danny@cs.huji.ac.il> 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
>> 
> 
> How do you start Xorg?  I use xinit with this command line:
> 
> /usr/local/bin/xinit -- -listen tcp
> 
> Of course, you'll need to have a .xinitrc for that to work.
> 
> --
> Gary Jennejohn