Bug 73825

Summary: krfb not working for non-local X displays
Product: [Applications] krfb Reporter: Stefan Bund <asbund>
Component: generalAssignee: tim
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stefan Bund 2004-01-30 15:31:23 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Debian testing/unstable Packages
OS:          Linux

When trying to use krfb to share a non-local X display, the client (krdc) only receives a black screen.

Reading the source, I found, that krfb semms to use MIT-SHM *whenever* it is availible, even for
remote displays. After forcibly disabling SHM in kdenetwork/krfb/krfb/xupdatescanner.cc, remote X
displays work.

I don't know anything about lolevel X programming, so I cannot offer a patch. The only thing necessary
is to add a check for non-local displays to the if clause at xupdatescanner.cc:79
Comment 1 tim 2004-01-30 20:13:48 UTC

*** This bug has been marked as a duplicate of 65645 ***
Comment 2 J Paul Richardson 2004-09-02 16:30:05 UTC
Still doesn't seem to be fixed in all cases.  This exact problem is occurring on Fedore Core 2 stock install.  Any attempt to use krfb/krdc results in a black screen on the krdc side (although a brief 8-bit picture appears).  All other functionality seems to be working fine; ie - I can move the mouse, bring up menus and start apps on the distant (krfb) end, I just can't see what I am doing on the local (krdc) side.