How to setup xvfb

Tiago Vignatti vignatti at c3sl.ufpr.br
Sun Mar 30 23:35:59 PDT 2008


ying lcs escreveu:
> Hi,
> 
> Can you please tell me if i can setup multiple xvfb (say 10) on
> different display on 1 machine?

Yes, for sure. Try something like this:

$ for ((i=1;i<10;i+=1)); do ./Xvfb :$i \-fp /usr/share/fonts/X11/misc/ & 
  done


> If yes, can you please tell me what is the drawback? e.g. memory
> consumption? or CPU?

This totally depends what kind of task the clients would be performing. 
If no client is connected the server stays sleeping in Dispatch(), 
WaitForSomething() precisely.


Cheers,

-- 
Tiago Vignatti
C3SL - Centro de Computação Científica e Software Livre
www.c3sl.ufpr.br



More information about the xorg mailing list