[Pkg-tigervnc-devel] How to get tigervnc to listen on only one interface
Joachim Falk
joachim.falk at gmx.de
Tue Sep 23 08:04:43 BST 2025
Hi Robert,
On 23.09.25 07:33, Robert Arkiletian wrote:
> Hi Joachim,
>
> Tigervnc binds to all interfaces by default. I need it to only bind to a
> specific interface (ip).
> I have been trying, without much luck, to use the -interface parameter
> of tigervnc (man xtigervnc) under Debian 13. I have tried using this line
> $interface = "192.168.x.xxx";
> in /etc/tigervnc/vncserver-config-defaults
> but if I add that line the file just gets ignored and then it just binds
> to localhost as one of the other lines in the file is
> $localhost = "no";
>
> Do you know how to use the -interface parameter in tigervnc server?
not sure what the problem is.
$interface = "192.168.178.46";
$localhost = "no";
in /etc/tigervnc/vncserver-config-defaults works in my case.
Admittedly, quickly tested on a back port of the package on Debian 12.
Best,
Joachim Falk
--
Joachim Falk <Joachim.Falk at gmx.de>
You can always tell a really good idea by the enemies it makes.
--programmers' axiom
More information about the Pkg-tigervnc-devel
mailing list