Switched to VNC, after testing ForwardX11Timeout - Re: Remote (CentOS 8) X11 clients stop spawning on local (FreeBSD 12) X11 server over ssh after some time
parv.0zero9+freebsd at gmail.com
Thu Mar 11 02:25:42 UTC 2021
On Sun, Feb 28, 2021 at 11:19 PM parv/freebsd wrote:
> On Sun, Feb 28, 2021 at 8:18 PM parv/freebsd wrote:
> I had started ssh -X connection 2+ days ago in X11 on FreeBSD 12-STABLE to
>> CentOS 8.
>> When I tried to run Firefox (on CentOS), it did not start & blurted ...
>> Unable to init server: Broadway display type is not supported:
>> Error: cannot open display: localhost:13.0
> So, "ssh -vv -X" shows "Rejected X11 connection after ForwardX11Timeout
> I do not see that option in /etc/ssh/ on CentOS or FreeBSD. Hold on ...
> This ...
> ... points to ...
> ... which makes "ForwardX11Timeout" to be ssh client option. On to testing
The X11 connection seemed to have stayed after setting the option in
In any case, I am now a SSH-VNC tunnel convert (TigerVNC installed on both
HowTo: Tunneling VNC Connections over SSH,
... starting & setting up VNC server on CentOS side was somewhat convoluted
novncserver on CentOS8 #1161, comment by astronomerdave, Dec 15, 2020,
The interaction (xterm almost all the time) is certainly faster now over
100 Mb/s connection compared to plain X11 connection. In the latter case
-- still subject to time out -- using XLFD (X Logical Font Description)
font instead of TTF helped some.
0- If true type font has been enabled locally, then xterm can be started
xterm -xrm 'XTerm.VT100.renderFont:False' \
-fn '-misc-liberation mono-bold-r-normal--24-0-0-0-m-0-iso10646-1'
... and/or set .renderFont & .font[1-6]? resources in in ~/.Xresources.
More information about the freebsd-questions