Created
September 22, 2021 03:08
-
-
Save FrankFang/1a08c7d8662c9ff83b60cbc6c7bb89ac to your computer and use it in GitHub Desktop.
x11 on headless server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apk add libx11-dev | |
apk add xvfb | |
Xvfb :99 -screen 0 1024x768x24 | |
export DISPLAY=:99.0 | |
xclip -selection clipboard -t image/png -i dog.jpg | |
echo "123" | xclip -selection clipboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment