Problems running xvfb on my Linux desktop

594 views
Skip to first unread message

Carlos Knippschild

unread,
Mar 10, 2017, 5:28:01 PM3/10/17
to Chromium-dev
If you don't use Linux or doesn't know anything about xvfb you can ignore this message.

I used to be able to use xvfb to more comfortably run Chromium tests mainly to avoid the poping of Chrome windows. But recently I've been getting this error every time I try to:

Failed to start Xvfb or Openbox: [Errno 13] Permission denied

I tried to do some research on this issue but my Google-fu has been insufficient. Is anyone suffering from this too? Or even better, knows what's going on?

Thanks,
Carlos.

Tom Anderson

unread,
Mar 10, 2017, 5:38:02 PM3/10/17
to car...@chromium.org, Chromium-dev, Dirk Pranke
The arguments to xvfb.py changed at some point.  You can now just do eg. "xvfb.py out/Release/browser_tests --gtest_filter=abc.xyz"

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.

Carlos Knippschild

unread,
Mar 14, 2017, 6:08:08 PM3/14/17
to Tom Anderson, car...@chromium.org, Chromium-dev, Dirk Pranke
Thanks Tom, that did the trick.

I'll upload a simple CL to make xvfb.py complain if one tries to pass in a command that points to a directory (backwards incompatible but at least aware).


To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Primiano Tucci

unread,
Mar 14, 2017, 6:42:19 PM3/14/17
to car...@chromium.org, Tom Anderson, Chromium-dev, Dirk Pranke

I have no idea what xvfb.py is, but I used xvfb-run (Afaik you are not supposed to start a xvfb server yourself but use the -run wrapper ) last week on goobuntu 14.04 and it just worked.


Carlos Knippschild

unread,
Mar 22, 2017, 5:13:15 PM3/22/17
to Primiano Tucci, car...@chromium.org, Tom Anderson, Chromium-dev, Dirk Pranke
(I meant to sent this a while ago but forgot to hit the button)

xvfb.py is a helper to xvfb-run that already configures it to appropriately run chrome (i.e. sets the correct virtual screen size).
Reply all
Reply to author
Forward
0 new messages