http://qs321.pair.com?node_id=531589


in reply to To install Tk, you need an X display

Xvfb is a great tool for emulation of an X server environment for testing. This readme includes example usage.

NOTE: corrected link to Xvfb man page