Comment 3 for bug 1390808

Revision history for this message
James Walters (x5q9b8n384) wrote : Re: VNC server cannot be configured to listen on specific interfaces

Why is this "wishlist"? Without a fix for this, everybody that needs to use a VNC server over a tunnel is out of luck and very insecure if they want to use LightDM's server. And that's a shame because it would be so convenient to set it once and let LightDM take care of all of the rest of the gory details.

How about doing this like SSHD does it?

http://www.manpagez.com/man/5/sshd_config/

>> LightDM already does the same thing with "Port"; make sure multiple instances are allowed
     Port Specifies the port number that sshd(8) listens on. The default
             is 22. Multiple options of this type are permitted. See also
             ListenAddress.

>>> so add ListenAddress, allowing multiple instances
     ListenAddress
             Specifies the local addresses sshd(8) should listen on. The fol-
             lowing forms may be used:

                   ListenAddress host|IPv4_addr|IPv6_addr
                   ListenAddress host|IPv4_addr:port
                   ListenAddress [host|IPv6_addr]:port

             If port is not specified, sshd will listen on the address and all
             prior Port options specified. The default is to listen on all
             local addresses. Multiple ListenAddress options are permitted.
             Additionally, any Port options must precede this option for non-
             port qualified addresses.