clarification requested: apparent termination of xrx project due to deletion of lbx from xorg
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Wed Mar 18 03:36:10 PDT 2009
alan, hi,
this turns out to be a bug in Xnest across different user boundaries.
my setup was this, due to having two versions of firefox (2.0 in a
32-bit chroot, and 3.0)
* xhost +
* su - <seconduser>
* firefox xrx/htdocs/xload.html
what i think happened was that Xnest fired up (inside firefox, at
xrx's request) and tried to change properties of the _host_ X-server,
which is of course running as a different user.
you'll no doubt have more of an idea of exactly what's going on but
it's definitely not a bug in xrx.
by doing this:
* xhost +
* su - <seconduser>
* Xnest :1 &
* DISPLAY=:1 xterm &
* <switch to xnest'ed x-server>
* <in xterm in xnest'ed x-server>: firefox xrx/htdocs/xload.html &
it works!
... of course, i'd removed the dependency on lbx from the xload.rx
config file. it would be nice to have the build dependency on lbx be
a config option. i'll look at doing that as part of adapting xrx to
add a "command" where the dependency on having a cgi-bin server is
_also_ removed.
l.
> lkcl at gonzalez:/mnt/video/src/xorg/xrx/xnest-plugin$ Xnest -ac :96
> -parent 41943041
> X Error of failed request: BadAccess (attempt to access private
> resource denied)
> Major opcode of failed request: 2 (X_ChangeWindowAttributes)
> Serial number of failed request: 81
> Current serial number in output stream: 83
> hmmm, what does strace tell me?
>
>
> writev(6, [{"\2\1\4\0\1\0\200\2\0\10\0\0|\0\2\0\2\1\4\0\1\0\200\2\0"...,
> 40}, {"XFree86-Bigfont", 15}, {"\0", 1}], 3) = 56
> read(6, "\0\nQ\0\1\0\200\2\0\0\2\1\0\0\0\0\4\307\2\0\0\0\0\0\20"..., 32) = 32
> open("/usr/share/X11/XErrorDB", O_RDONLY) = 7
>
> bigfont?? wtf is bigfont?
More information about the xorg
mailing list