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: Unresolved
    • P2: Important
    • None
    • 6.3.0, 6.4.0, 6.5
    • Qt VNC Server
    • None
    • All
    • 1bf73a71b (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

        Activity

          People

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

            Dates

              Created:
              Updated: