How can I get the display number that was used while Xvfb was running? For example, someone starts
./Xvfb: 14
I need to somehow get the display number used 14.
Thanks in advance
on a unix system, run
ps -ef|grep Xvfb
and he should list it there using the process
I can think of two ways: