Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: ebelouet on June 29, 2014, 11:15:58 PM

Title: wxpython A20
Post by: ebelouet on June 29, 2014, 11:15:58 PM
HI,

i TRY PYTHON PROGRAM WITH WX GRAPHIC AND i HAVE THIS :

Unable to access the X Display, is $DISPLAY set properly?

Where is mistake ?

Sincerely
Eric
Title: Re: wxpython A20
Post by: martinayotte on June 30, 2014, 04:11:13 PM
This kind of message is usually that the DISPLAY environment variable is not set.

You should do something like "export DISPLAY=:0" before trying your wxPython program.

(even better : you can add this command to .bashrc so it will be set on every login)