Bug 254678

Summary: krfb uses wrong interface
Product: [Applications] krfb Reporter: Ritesh Raj Sarraf <kde-bugs>
Component: generalAssignee: George Goldberg <grundleborg>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: krfb pic

Description Ritesh Raj Sarraf 2010-10-19 20:34:01 UTC
Created attachment 52686 [details]
krfb pic

Version:           unspecified (using KDE 4.4.6) 
OS:                Linux

krfb has the option to specify a quick "Personal Connection".
When you click a personal connection, it gives you the ip address and port of the host where it is listening.

This is problematic when there is a virtual bridge interface. In my case, for example, there's a virbr0 interface set up by libvirt. This is an internal private network for my Guest VMs.

When I click on krfb's "Personal Invitation" button, it reports that the vnc server is available on 192.168.122.1:5900. This IP will not be access from my other laptop.

My machine does have the interface where I want it to listen at. That is wlan0 with ip 192.168.2.x. It does not listen there.


This is what the setup looks like:

rrs@learner:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:15:c5:45:48:e8 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:13:02:b7:7a:7e brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.104/24 brd 192.168.2.255 scope global wlan0
    inet6 fe80::213:2ff:feb7:7a7e/64 scope link 
       valid_lft forever preferred_lft forever
4: virbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN 
    link/ether 66:f6:84:d9:d7:a1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0


Attached image of krfb should explain my problem.

Reproducible: Always

Steps to Reproduce:
NA

Actual Results:  
NA

Expected Results:  
NA
Comment 1 George Goldberg 2010-10-20 00:55:59 UTC

*** This bug has been marked as a duplicate of bug 223661 ***