Xvfb is already running on display - Stack Overflow

admin2025-04-18  4

I ran into this annoying issue and found it very difficult to find documentation on how to solve it. In my context I was using xvfb to test Anthropic's computer use functionality. Now that I've solved it, I'd like to share the fix with the world!

I tried everything to no avail until...

I ran into this annoying issue and found it very difficult to find documentation on how to solve it. In my context I was using xvfb to test Anthropic's computer use functionality. Now that I've solved it, I'd like to share the fix with the world!

I tried everything to no avail until...

Share Improve this question asked Jan 29 at 11:43 Vincent GilbertVincent Gilbert 13 bronze badges 1
  • Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Feb 1 at 18:05
Add a comment  | 

1 Answer 1

Reset to default 0

To fix your issue, locate the .X1-lock file that xvfb will have created and delete it.

rm -f .X1-lock

Voilà!

转载请注明原文地址:http://anycun.com/QandA/1744968901a90181.html