0
votes
1answer
1k views

unable to open X server

I am trying to generate a screenshot of a firefox window in my terminal, but I keep getting an error: root@host [~]# DISPLAY=:1 firefox http://www.cnn.com & sleep 5 && DISPLAY=:1 import ...