getting first non display number in use

Posted by uswaretech on Super User See other posts from Super User or by uswaretech
Published on 2010-03-18T11:34:53Z Indexed on 2010/03/18 11:41 UTC
Read the original article Hit count: 332

Filed under:
|
|

I need to give a command like

Xvfb :6 -screen 0 1024x768x24

Where 6 can be a display number. Now Xvfb can already be using that Display, so how do I get the first display number not in use?

© Super User or respective owner

Related posts about xvfb

Related posts about ubuntu