Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QVNCServer of QT app can't be connected by Vncviewer

QVNCServer of QT app can't be connected by Vncviewer

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 970 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    huck
    wrote on last edited by
    #1

    I cross compiled QT4.8 with -qt-gfx-vnc, and it succeed. when I run my app in VNC mode

    ./app/DIalogCam-4.8.5 -qws -display "VNC::size=640*480:de
    ./app/DIalogCam-4.8.5 -qws -display VNC:0
    both forms

    it showed "QVNCServer created on port 5900" and without any error
    but Vncviewer in pc keeps connecting....no response

    I also try to set vncviewer's colorlevel, but still no work. I messed up with this problem for 2 days, I think it runs, maybe somewhere setting not right?

    hope your idea or some suggestions

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The first thing I'd do is to rather use the latest version of Qt 4 which is Qt 4.8.7 or even better move to Qt 5. The latest Qt 5 version have VNC backend.

      As for your problem, you should try to use wireshark to see if there's something wrong network side.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kumararajas
        wrote on last edited by kumararajas
        #3

        I did try to have VNC feature enabled in my application which was built on Qt 4.8.4 and I could succeed.

        I am not sure about the root cause but it looks like you don't have ping. Your VNC Client is not talking to VNC server. May be that your VNC client is not looking at the right port?
        And may be a quick test to do is try to change the VNC port? May be display VNC:1?

        --Kumar

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved