On 27.10.22 13:50, Qian Yun wrote:
OK, the "xvfb-run --help" on Fedora shows:

-a        --auto-servernum
try to get a free server number, starting at --server-num
(deprecated, use --auto-display instead)

-d        --auto-display
use the X server to find a display number automatically

Well, the "--auto-display" option is not necessary available on
other systems.  So we should stay with "-a" option but drop "-n".

On Ubuntu 22.04.1:

$ xvfb-run --auto-display
xvfb-run: unrecognized option '--auto-display'
$ echo $?
1

Shouldn't that be sufficient to let configure.ac check whether that option is available and generate the respective xvfb-run command line, i.e. the XVFB variable, to use it if yes?

Unfortunately, I do not have an xvfb-run available that recognized the --auto-display option.

Maybe configure.ac could even use "xvfb-run --help | grep -- '--auto-display'", no?

Ralf

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/073e5d41-a61a-3cc0-5695-9acc47641ea8%40hemmecke.org.

Reply via email to