Still seeing this bug in Ubuntu 11.04 (Natty, not Maverick).
The definition of the KdScreenInfo data structure changed between the time of the aforementioned patch and now, so the lines:
screen->fb[0].depth
screen->fb[0].bitsPerPixel
should be:
screen->fb.depth
screen->fb.bitsPerPixel
I believe Keith Packard wanted a more robust patch, with the settings being obtained from the underlying XImage. But my individual need is smaller, and Xephyr is segfaulting for me, so the patch is "good enough for me". I applied the patch (with the modifications I mentioned) and Xephyr is now launching properly.
Still seeing this bug in Ubuntu 11.04 (Natty, not Maverick).
The definition of the KdScreenInfo data structure changed between the time of the aforementioned patch and now, so the lines:
screen->fb[0].depth >fb[0]. bitsPerPixel
screen-
should be:
screen->fb.depth >fb.bitsPerPixe l
screen-
I believe Keith Packard wanted a more robust patch, with the settings being obtained from the underlying XImage. But my individual need is smaller, and Xephyr is segfaulting for me, so the patch is "good enough for me". I applied the patch (with the modifications I mentioned) and Xephyr is now launching properly.