<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 23, 2025 at 12:04 AM Joachim Falk <<a href="mailto:joachim.falk@gmx.de" target="_blank">joachim.falk@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Robert,<br>
<br>
On 23.09.25 07:33, Robert Arkiletian wrote:<br>
> Hi Joachim,<br>
> <br>
> Tigervnc binds to all interfaces by default. I need it to only bind to a <br>
> specific interface (ip).<br>
> I have been trying, without much luck, to use the -interface parameter <br>
> of tigervnc (man xtigervnc) under Debian 13. I have tried using this line<br>
> $interface = "192.168.x.xxx";<br>
> in /etc/tigervnc/vncserver-config-defaults<br>
> but if I add that line the file just gets ignored and then it just binds <br>
> to localhost as one of the other lines in the file is<br>
> $localhost = "no";<br>
> <br>
> Do you know how to use the -interface parameter in tigervnc server?<br>
<br>
not sure what the problem is.<br>
<br>
$interface = "192.168.178.46";<br>
$localhost = "no";<br>
<br>
in  /etc/tigervnc/vncserver-config-defaults works in my case.<br>
Admittedly, quickly tested on a back port of the package on Debian 12.<br><br></blockquote><div> </div><div>Thanks for the suggestion. That finally solved the issue!</div><div>the line in /etc/tigervnc/vncserver-config</div><div><br></div><div>$interface = "192.168.x.xxx";</div><div><br></div><div>MUST come BEFORE the line</div><div><br></div><div>$localhost = "no"</div><div></div><div> </div><div>I was always putting the $interface line after the $localhost line. In that case, it just binds to localhost. This was not clear in the man pages. </div></div></div>
</div>