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

change the default port of the Qt VNC Server to 5901

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.6.0 FF
    • 6.3.0, 6.4.0, 6.5
    • Qt VNC Server
    • None
    • All
    • 1bf73a71b (dev), c5319b223 (dev), 416f0f723 (dev)

    Description

      The default port of the Qt VNC Server is 5900. On macOS this port is used by Apple Screen Sharing. This makes it impossible to use the example and the code with defaults since any client connects to Apple Screen Sharing and to Qt VNC Server. It is also weird that the Qt VNC Chat reports running on the 5900, whereas this port is definitely busy in macOS.

      Adding setting the port to 5901 in the code of the example solves the problem:

       

              //! [vncitem]
              VncItem {
                  id: grabber
                  anchors.fill: parent
                  vncPort: 5901
      

      I think the problem will occur on any other system with another VNC-based software running in the background

       

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            vminenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes