Skip to content

qt.qpa.xcb: could not connect to display :0 #2312

@XLR-man

Description

@XLR-man

Describe the bug

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/bin/platforms" ...
loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

*** Aborted at 1704197882 (unix time) try "date -d @1704197882" if you are using GNU date ***
PC: @     0x7f1a96c0800b gsignal
*** SIGABRT (@0x3ea003b048c) received by PID 3867788 (TID 0x7f1a9261d000) from PID 3867788; stack trace: ***
    @     0x7f1a9840f631 (unknown)
    @     0x7f1a983e6420 (unknown)
    @     0x7f1a96c0800b gsignal
    @     0x7f1a96be7859 abort
    @     0x7f1a97188aad QMessageLogger::fatal()
    @     0x7f1a9776c7ae QGuiApplicationPrivate::createPlatformIntegration()
    @     0x7f1a9776d708 QGuiApplicationPrivate::createEventDispatcher()
    @     0x7f1a9738ff55 QCoreApplicationPrivate::init()
    @     0x7f1a9776f543 QGuiApplicationPrivate::init()
    @     0x7f1a97daa3bd QApplicationPrivate::init()
    @     0x56347f0603b5 colmap::RunGraphicalUserInterface()
    @     0x56347f0214ff main
    @     0x7f1a96be9083 __libc_start_main
    @     0x56347f0285ee _start
已放弃 (核心已转储)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'colmap gui'

Expected behavior
colmap gui

Environment:

  • OS: [e.g. Ubuntu 20.04]
  • COLMAP Version [latest]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions