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

[-- Attachment #1 --]
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


[-- Attachment #2 --]
<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="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="Apple-tab-span" style="white-space:pre">	</span><span style="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="#000000"><span style="caret-color: rgb(0, 0, 0);"><br id="lineBreakAtBeginningOfMessage"></span></font><div><br><blockquote type="cite"><div>On 3 Mar 2024, at 19:10, Gary Jennejohn &lt;garyj@gmx.de&gt; wrote:</div><br class="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="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="Apple-tab-span" style="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>

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