<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
On 11/28/2014 07:00 AM, Christophe Fergeau wrote:<br>
<span style="white-space: pre;">> On Fri, Nov 28, 2014 at
12:03:59AM -0600, Charles Ricketts wrote:<br>
>> Despite my problem with building within my VM
environment, I went ahead<br>
>> and attempted a Fedora LXC+Spice configuration. I'm happy
to report it<br>
>> was successful as well. The only change that had to be
made was adding<br>
>> the -f argument to the Xspice script to keep
spice-vdagentd from<br>
>> attempting ioctl ops on the uinput pipe created by the
QXL driver. I'm<br>
>> not sure why I didn't see this before, looks like I had
mistakenly<br>
>> forgotten to use --prefix=/usr on the vdagent source, so
I was using the<br>
>> distribution-provided version which doesn't have the -f
option at all<br>
>> and apparently doesn't print the "improper ioctl for
device" error.<br>
>> However, upon ensuring I was using the git versions of
the vdagents and<br>
>> the -f flag was added in Xspice, I was again successful!<br>
>><br>
>> Hooray!<br>
>><br>
>> Well, if nothing else, I hope this discussion helps
somebody else<br>
>> looking to accomplish the same task. And, even if it
wasn't intended,<br>
>> props to the developers for having the foresight in
making the QXL<br>
>> driver/Xspice and the agents flexible enough to use
non-character<br>
>> devices and therefore eliminating the reliance on a
virtualized<br>
>> environment. You guys rock!<br>
><br>
> Well, thanks a lot for your patience and all the
investigation you made!<br>
> I'm still surprised it segfaults with the ubuntu packages.
What version<br>
> of spice-server is being used there? A backtrace with
debugging symbols<br>
> would still be great, I think you'd need to install the
corresponding<br>
> debug packages (I forgot how to do that on ubuntu), and then
try to get<br>
> a coredump or to run Xspice in gdb.<br>
><br>
> Christophe</span><br>
The segfault was simply a configuration error. it was dynamically
linking the distribution-provided libspice-server.so.1.8.0 rather
than the newly compiled libspice-server.so.1.9.0 due to the 1.8.0
version having a higher precedence with ldconfig. After reordering
the library precedence to favor the new version it worked just fine.<br>
<br>
Chuck R.<br>
<br>
</body>
</html>