Hi, I am trying to run simple python(PySide) code on BBB(debian) , but getting error "cannot connect to x server" after compilation. My code is
import sys from PySide import QtGui app = QtGui.QtApplication(sys.argv) ---> this line giving error "cannot connect to x server" sys.exit(app.exec_()) I have checked whether there is x server running on BBB with "ps aux | grep X" command, and it returned list of processes running X server. Xorg -config command also gave message "there is x server with display 0" or a message very close to this. Typing commands below also did not help me. $export DISPLAY=:0.0 $python samplePyside.py No protocol specified samplePyside.py: cannot connect to X server :0.0 Could you please help me resolve this issue? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.