Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#73865 - [xorg-server-xvfb] xvfb-run does not accept --auth-file

Attached to Project: Arch Linux
Opened by Ho-Yon Mak (hoyon) - Friday, 18 February 2022, 17:51 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 18 February 2022, 18:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Similar to  FS#65039 

According to the man page xvfb-run should accept -f or --auth-file but the latter doesn't work

This works:
$ xvfb-run -f /tmp/file /bin/true

This doesn't:
$ xvfb-run --auth-file /tmp/file /bin/true
xvfb-run: unrecognized option '--auth-file'

Package version: 21.1.3-2

As in the linked similar bug, the fix is simple

--- /usr/bin/xvfb-run 2022-02-14 16:52:38.196231598 +0000
+++ ./xvfb-run 2022-02-18 17:45:02.600806912 +0000
@@ -104 +104 @@
- --long auto-servernum,auto-display,error-file:auth-file:,help,server-num:,listen-tcp,xauth-protocol:,server-args:,wait: \
+ --long auto-servernum,auto-display,error-file:,auth-file:,help,server-num:,listen-tcp,xauth-protocol:,server-args:,wait: \

Note the added comma between error-file: and auth-file:
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 18 February 2022, 18:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  21.1.3-3