On 8/11/2025 06:47, Walter Dnes wrote:
> On Sat, Nov 01, 2025 at 01:16:48PM +1100, wirelessduck--- via Dng wrote
>>
>> Maybe you could try tigervnc server on the remote computer as well as
>> using it for the client? There is an xorg plugin that might be faster.
>
> I'm having problems figuring out tigervnc. x11vnc uses the currently
> existing X display/session. The only way I can even start a Tigervnc
> session on the remote machine (dev3) is to shut down all X sessions and
> execute "tigervncserver -SecurityTypes None -xdisplaydefaults :0" at the
> text console. It responds...
>
> =========================================================================
> Please be aware that you are exposing your VNC server to all users on the
> local machine. These users can access your server without authentication!
>
> New Xtigervnc server 'dev3.waltdnes.org:0 (waltdnes)' on port 5900 for
> display :0.
> Use xtigervncviewer -SecurityTypes None :0 to connect to the VNC server.
> =========================================================================
>
> Then I go to the client and execute...
> "vncviewer −SecurityTypes None dev3:0" and it responds...
>
> =========================================================================
> TigerVNC Viewer 64-bit v1.12.0
> Built on: 2023-01-06 16:01
> Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
> See https://www.tigervnc.org for information on TigerVNC.
>
> Fri Nov 7 14:29:20 2025
> DecodeManager: Detected 6 CPU core(s)
> DecodeManager: Creating 4 decoder thread(s)
> CConn: unable to connect to socket: Connection refused (111)
> =========================================================================
>
> What am I missing? This worked with x11vnc.
>
I start my tigervnc with `/usr/bin/vncserver :1 -localhost yes`.
`:1` will start the server on port 5901 for a new X11 display 1, to not
conflict with the existing default X11 display 0.
Check `-rfbport` in `man vncserver`: 'The default is 5900 plus the
display number display#.'
I run with `-localhost yes` to start listening only on localhost as I
tunnel vnc connections over ssh for security.
Tom