Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-24333

Crash with VNC and vinagre on Ubuntu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4
    • None
    • PC Ubuntu + Vinagre 3.2.1

    Description

      The default remote desktop viewer is Vinagre on Ubuntu. Vinagre does not send the "SetPixelFormat" frame before the first "FramebufferUpdateRequest" frame. It is necessary to patch the src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp to initialize the pixels format to the default pixels format send by Qt to Vinagre during the init frame:

      --- qscreenvnc_qws_old.cpp	2012-02-16 16:27:59.000000000 +0100
      +++ qscreenvnc_qws.cpp	2012-02-16 16:28:09.000000000 +0100
      @@ -782,6 +782,7 @@
                       sim.height = qvnc_screen->deviceHeight();
                       sim.setName("Qt for Embedded Linux VNC Server");
                       sim.write(client);
      +                pixelFormat = format;
                       state = Connected;
                   }
                   break;
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            agroyer Anthony Groyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes