Sunday, May 29, 2011

Xvfb+x11vnc outperforms Xvnc

(update 2011/08/29: NX offers a much better aproach to remote X control).

If anyone of you has ever tried to run a remote X desktop using Xvnc you will probably have got quite dissapointed. The performance is poor and the response to user accions is annoying. Do not despair. There is an much better alternative. Just combine Xvfb (the "virtual in memory" X server) plus x11vnc (the vnc that attach to an existing X server). Extracted from the wikipedia.

export DISPLAY=:1
Xvfb :1 -screen 0 1024x768x16 &
fluxbox &
x11vnc -display :1 -bg -nopw -listen localhost -xkb

(Another probe in favor of the "Do one thing and do it right!" Unix philosophy)

No comments: