Bug 347455

Summary: IP address can not be changed
Product: [Applications] krfb Reporter: Christian Huebner <c.c.huebner>
Component: generalAssignee: George Goldberg <grundleborg>
Status: CONFIRMED ---    
Severity: normal CC: alexey.min, ismohaa
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of both main dialog and configuration dialog of krfb

Description Christian Huebner 2015-05-09 00:11:51 UTC
Created attachment 92504 [details]
Screenshot of both main dialog and configuration dialog of krfb

I am running krfb v 4.15.04 on an Ubuntu 15.04 machine with two network interfaces. When launching krfb, the address listed is the IP address of the wrong interface.
The krfb window does not allow to change ip address or port.
When I select Settings->Configure Desktop Sharing, the resulting dialog provides a checkbox "use default port" and the port can be changed if the box is unchecked, but there is no way to change IP address. 
Observation: The IP address is from the only port with a static IP, but as I need to access the machine from the office network, I need the other interface with a dynamic IP address.
Suggested fix: Either make the IP address and port in the krfb main dialog editable or add an IP address dialog to the configuration dialog.
Comment 1 Alexey Min 2020-08-26 16:04:59 UTC
> When launching krfb, the address listed is the IP address of the wrong interface.

This is only a display issue.

Krfb tries to "guess" which IP the machine has, but it can be wrong if machine has many IPs. However it actually always listens on 0.0.0.0 (on all interfaces), not on the one displayed in main window. You can not change the IP to listen on. However you should still be able to connect to your machine if you know its other IP addresses.

Since recent times Krfb also displays hostname next to IP so situation is a bit better (you may be able to use hostname).
Comment 2 Alexey Min 2020-08-26 16:08:26 UTC
*** Bug 317477 has been marked as a duplicate of this bug. ***