can't run gtk programs on Xvfb with a color depth of 16 or 24. why?
erikharrison at gmail.com
Mon Sep 20 06:14:54 PDT 2004
On Mon, 20 Sep 2004 11:52:46 +0200, Sebastien <ssebastien at gmail.com> wrote:
> On Mon, 20 Sep 2004 01:00:32 -0700 (PDT), dave giffin
> <givdav01 at yahoo.com> wrote:
> > I want to run mozilla on Xvfb to get some screenshots
> > of web pages.
> > I start Xvfb with the command:
> > Xvfb :30 -ac -screen 0 1024x768x24
> > Which creates an Xvfb server with 1024x768 resolution
> > and a color depth of 24 (16.7 million colors).
> > Then I run mozilla:
> > mozilla --display :30.0
> > And get the following error message:
> > Gdk-ERROR **: BadLength (poly request too large or
> > internal Xlib length erro
> > serial 1240 error_code 16 request_code 148
> > minor_code 20
> > I've tried other programs like gshell, gedit with the
> > same problem.
> > I also have the same problem with a color depth of 16.
> > But, when I run Xvfb with a color depth of 8 (only 256
> > colors), gtk programs run fine.
> > If I run a Qt based program, with a depth of 16 or 24,
> > when I try to take a screenshot, my screenshot program
> > (graphicsmagick) locks up.
> > I am running Redhat 9 on an i686 with XFree86-Xvfb 4.3
> > Why is this happening? Is there a solution?
> File a bug at bugzilla.gnome.org. GTK+ is known to be one of the most
> broken X clients out there...
One of the reasons for GTK2. I wonder if enough resources could be
scraped together to make a maintanance release of GTK+? Teach it about
visuals in such a way that it doesn't crash when exposed to the
Composite extension, for example.
> xorg mailing list
> xorg at freedesktop.org
More information about the xorg