Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QXcbConnection: Could not connect to display localhost:10.0
Forum Updated to NodeBB v4.3 + New Features

QXcbConnection: Could not connect to display localhost:10.0

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 6.4k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    Guzzibutz
    wrote on last edited by
    #1

    Hi All,

    I'm running into a weird problem which already was discussed frequently, however my case seems to be a bit different.
    Um debugging remotely a GUI-based application running on an ARMv8 target (Dragonboard 410c) using Qt Creator on an Ubuntu 18 x86_64 machine. I set up everything for deploying and debugging remotely:

    • I set DISPLAY to localhost:10.0 (in the run environment of Qt Creator)
    • I set up a working ssh -X connection to the remote target
    • When I start the application to be debugged in the ssh -X shell everything works nicely (the application window pops up on Ubuntu machine)
    • When I even click the run button in Qt Creator also everything works perfect.
    • But: when I start to debug I get the following application output:

    qt.qpa.screen: QXcbConnection: Could not connect to display localhost:10.0
    Could not connect to any X display.
    Child exited with status 1

    Any idea?

    1 Reply Last reply
    0
    • IlaroI Offline
      IlaroI Offline
      Ilaro
      wrote on last edited by
      #2

      I am facing the same exact behaviour, did you managed to resolve it?

      1 Reply Last reply
      0

      • Login

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