Solved this problem. To be able to access X server I just needed to run the code as a normal user not as a root user. So I ssh'ed to beaglebone black as a "debian" user and ran the code. It was simple pyside code without any integration with GPIO's or I2C'es. In case you want to access/modify these pins you must deal with privileges of "debian" user.
-- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
