* R. David Murray <[email protected]> [2015-08-27 15:00:40 -0400]: > It is possible to create a "virtual" X on an otherwise headless linux > system, but I've never tried to do it myself. If someone comes up > with a recipe we could add it to the devguide chapter on running > a buildbot.
It's usually as easy as installing Xvfb and prepending "xvfb-run" to
the command:
$ export DISPLAY=
$ python3 -m test -ugui test_tk test_ttk_guionly test_idle
[1/3] test_tk
test_tk skipped -- Tk unavailable due to TclError: couldn't connect to display
""
[2/3] test_ttk_guionly
test_ttk_guionly skipped -- Tk unavailable due to TclError: couldn't connect to
display ""
[3/3] test_idle
1 test OK.
2 tests skipped:
test_tk test_ttk_guionly
$ xvfb-run python3 -m test -ugui test_tk test_ttk_guionly test_idle
[1/3] test_tk
[2/3] test_ttk_guionly
[3/3] test_idle
All 3 tests OK.
Florian
--
http://www.the-compiler.org | [email protected] (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
I love long mails! | http://email.is-not-s.ms/
pgpr5QOltyNhr.pgp
Description: PGP signature
_______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
