[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    How to find an available display for Xvfb?
From:       Irek Szczesniak <ijs () txcorp ! com>
Date:       2005-04-27 16:03:02
Message-ID: Pine.LNX.4.62.0504270950001.6475 () pic ! txcorp ! com
[Download RAW message or body]

Hi,

I want to run Xvfb, and because there may be other Xvfb running, I
cannot always use the same DISPLAY, such as ":100".  A solution is to
run Xvfb with DISPLAY=:m, and rerun Xvfb with DISPLAY=:n, n = m + 1,
in case we find "Server is already active for" in its stderr.

However, I am wondering if there is an option to Xvfb which would make
Xvfb look for an available display, run Xvfb on this display and print 
the chosen display name to stderr.


Thanks & best,
Irek

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic