Bug 218557

Summary: Screen refreshed initially only
Product: [Applications] krfb Reporter: Zoltán Kukk <zoltan.kukk>
Component: generalAssignee: George Goldberg <grundleborg>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, andrew.s.wallace, joerg.steffens, nexor, pierre+libre.kde, rafneq, simonandric5
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zoltán Kukk 2009-12-13 19:36:23 UTC
Version:           1.0 (using KDE 4.3.1)
OS:                Linux
Installed from:    openSUSE RPMs

I try to use desktop sharing on OpenSuSE 11.2 with KDE's krfb.
I'm able to connect to the server but the screen is static on the client, initially screen shown as a screen shot.
Mouse and keyboard events shown on the server but not on the client (I can move window on the server but it is not shown on the client).

I have try to use these clients but the same result:
Screen Sharing with OSX
JollyFastVNC on OSX
VNCViewer on OSX
Vinagre 2.28.1 on Ubuntu
krdc 4.3.2 on Ubuntu

When I start a vncserver, clients operate as excepted, so I do not think it is a client problem.
Comment 1 Zoltán Kukk 2009-12-13 19:43:59 UTC
I have found this bug in this topic:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/301448
Comment 2 andrew 2010-01-15 01:12:26 UTC
*** This bug has been confirmed by popular vote. ***
Comment 3 andrew 2010-01-15 01:19:11 UTC
(In reply to comment #1)
> I have found this bug in this topic:
> https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/301448

This is also the case for me. Broken with the nvidia driver (version 173 & 185). Working with the nvidia driver disabled on Kubuntu 9.10.
Comment 4 Pierre Buard 2010-01-19 14:22:31 UTC
After some testing I can report that it works fine with:
- an Intel 945GME using xf86-video-intel 2.9.1,
- a GeForce FX 5200 using xf86-video-nv 2.1.15,
- the same GeForce using xf86-video-nouveau 0.0.10_git20091221.

It doesn't work when using the 'official' nvidia-173xx driver (173.14.22).

(All this on an up-to-date Arch Linux KDE 4.3.4)
Comment 5 Jörg Steffens 2010-01-20 14:27:55 UTC
I confirm this.

Not working on systems that uses NVidia:
x11-video-nvidiaG02-190.53-9.1.i586
nvidia-gfxG02-kmp-default-190.53_2.6.31.5_0.1-8.1.i586

krfb-4.3.1-4.3.i586

on openSUSE 11.2
Comment 6 Jörg Steffens 2010-01-20 21:54:09 UTC
on openSUSE 11.2 the same effect happens with
vino-2.28.0-2.5 (Gnmome RFB).

However with rfb-0.6.1-682.1 it is working fine.
Comment 7 Jörg Steffens 2010-01-26 10:47:53 UTC
FYI: 
rfb do not always displays the colors correctly.
But x11vnc seems to work perfect.

vino works fine even on NVidia systems if compiz is disabled on the server.

Maybe krfb also works fine without compiz, but I've not tested it.
Comment 8 Pierre Buard 2010-01-26 11:10:46 UTC
> Maybe krfb also works fine without compiz, but I've not tested it.

I don't know about compiz but I tried it without "desktop effects" and it was the same. You need to use an open sourced driver for them to work with krfb.
Comment 9 andrew 2010-01-30 01:40:46 UTC
Saw this today. https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/353126

Sounds like the problem. Maybe krfb should have a --noxdamage option as well.
Comment 10 Raf 2017-01-19 22:23:32 UTC
Just to confirm that this bug is still valid on:
krfb-16.08.2-1.1 (version 5.0)
KDE Plasma 5.8.3
KDEframework: 5.26.0
Qt 5.6.1
xcb

Os: openSUSE Leap 42.2
Using intel integrated graphics (xf86-video-intel)

I have turned off compositor (desktop effects) and tried several configurations with vertical sync settings. The effect is the same - when you log in to the krfb server with any vnc viewer you only see initial screen which is no refreshed later. Mouse and keyboard are working fine but on the remote client you can't see any changes on the screen.
Comment 11 Raf 2017-01-19 22:47:35 UTC
Btw x11vnc works without problem even with compositor effects turned on
Comment 12 Raf 2017-02-03 20:08:16 UTC
Similar bugs: Bug 356782 and Bug 363217

There is a workaround posted by Alexey: https://bugs.kde.org/show_bug.cgi?id=356782#c6
With this workaround krfb should work correctly and you should be able to connect to VNC even with active desktop effects.

Edit  ~/.config/krfbrc

... and add the following lines:

[FrameBuffer]
preferredFrameBufferPlugin=qt
Comment 13 Albert Astals Cid 2017-07-30 21:45:29 UTC

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