You are not logged in.

#1 2010-06-18 10:17:57

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Compiz and VNC dont get together well

My machine runs a vnc server permanently, the default one that comes with gnome (i think its called vino)
If i have compiz effects enabled, i cannot see anything of my desktop: I just see the background image - no windows, no gnome bars, nothing....
Anyone else experiences the same issue?


Thanks!

Offline

#2 2010-06-18 11:53:26

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: Compiz and VNC dont get together well

i use x11vnc and enable the option "-noxdamage", you may want to try.

x11vnc -noxdamage -display :0.0  -forever -rfbauth $HOME/.vnc/passwd -o /var/log/vnc.0.log

Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2010-06-18 16:01:42

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Compiz and VNC dont get together well

Would you elaborate a bit more, please?

Thanks!

Offline

#4 2010-06-20 13:05:10

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: Compiz and VNC dont get together well

vnc server tries by default to just paint areas of the screen which are modified, to save bandwidth, thanks to Xorg server damage extension.
When using a composite manager like compiz this doesn't work, so you have to explicitely tell your server to disable that tweak, sorry.

from x11vnc man page:

       -noxdamage

              Do not use the X DAMAGE extension to detect framebuffer changes even if it is available.  Use -xdamage if your default is to have it off.

              x11vnc's use of the DAMAGE extension: 1) significantly reduces the load when the screen is not changing much, and 2) detects changed areas (small ones by default) more quickly.

[..]

Last edited by kokoko3k (2010-06-20 13:06:25)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2010-06-20 17:58:31

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: Compiz and VNC dont get together well

Ok, i see.... in gnome, by default, you have vino-server... im trying to look for an equivvalent for the noxdamage option of x11vnc for applying it to the current vino-server

If i figure anything out, ill let you know...


btw.... would it be difficult to enable vnc from the gdm screen?

Sort of like in windows.... in which vnc runs as a service and you can access the machine remotely already from the login screen.... (im concerned about the security issues this might come with, and i think i can live with them)

Offline

#6 2010-06-21 05:54:27

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: Compiz and VNC dont get together well

Is explained well here:
http://wiki.archlinux.org/index.php/X11vnc
But it requires you to run x11vnc as root, maybe you better check if there is a way to configure vino to not use xdamage first.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB