Skip to content

Instantly share code, notes, and snippets.

@oak-tree
Created June 19, 2017 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oak-tree/3914abdd438832fac8f6eaf028ca7140 to your computer and use it in GitHub Desktop.
Save oak-tree/3914abdd438832fac8f6eaf028ca7140 to your computer and use it in GitHub Desktop.
remote display Xvfb
sudo apt-get install xvfb
nohup Xvfb :1 > /dev/null 2>&1 &
#testing with
python
import matplotlib
import matplotlib.pyplot as plt
print("testing {}".format(1))
import numpy as np
plt.plot(np.arange(100))
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment