Pyglet uses opengl which may not function headlessly either. On Sep 28, 2015 3:16 PM, "Andrea Cuttone" <andreacutt...@gmail.com> wrote:
> Hello > > > I am trying to run a hello world pyglet app on OSX 10.10, where I connect > through ssh. > When doing that, I get the following error: > > /Users/ancu/pyglet-1.2.3/pyglet/canvas/base.pyc in get_default_screen(self) > 72 :rtype: :class:`Screen` > 73 ''' > ---> 74 return self.get_screens()[0] > 75 > 76 def get_windows(self): > > IndexError: list index out of range > > which I assume is due to the fact that no Window Manager is running. > > I saw that some people suggest to use the virtual X server Xvfb. However > even if I have Xvfb running, pyglet seem to not detect it. > > Does anyone have experience on how to solve this? > > > Best, > > Andrea > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pyglet-users+unsubscr...@googlegroups.com. > To post to this group, send email to pyglet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/pyglet-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.