<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Unable to run nx session to Fedora 18 (beta) with cairo 1.12.8"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59173">59173</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unable to run nx session to Fedora 18 (beta) with cairo 1.12.8
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rmj@ast.cam.ac.uk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.8
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When running a remote desktop kde session to a Fedora 18 (beta) system using
the Nomachine nx server and clients, several programs gives errors like:

$ emacs
(emacs:7292): Gdk-ERROR **: The program 'emacs' received an X Window System
error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 130 error_code 2 request_code 25 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

The nx remote desktop works fine on Fedora 16.

Some analysis was done in this mailing list thread:
<a href="http://lists.cairographics.org/archives/cairo/2012-December/023829.html">http://lists.cairographics.org/archives/cairo/2012-December/023829.html</a>
which suggests that cairo is not checking for xrender extensions before using
them, leading to the errors.

I can confirm that by setting LD_PRELOAD to preload the cairo libraries from
Fedora 17 before running eg emacs in the nx session, these errors do dont
happen.

I'm happy to run more tests if needed.

Roderick Johnstone</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>