Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't plot any figure-UBUNTU 22.04 LTS
QtWS25 Last Chance

Can't plot any figure-UBUNTU 22.04 LTS

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 854 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.
  • A Offline
    A Offline
    AKAB
    wrote on last edited by
    #1

    Re: Can't plot any figure-UBUNTU 22.04 LTS
    Hi everyone, I am struggling with this issue below

    Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    qt.qpa.xcb: could not connect to display 192.168.43.1: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, minimal, minimalegl, offscreen, vnc, webgl, xcb.
    
    Aborted (core dumped)~~~~
    
    I have tried accessing /etc/gdm3/custom.conf file to edit wayland but and also in the environment, but its not working, anyone to help me according to the error above?
    JonBJ 1 Reply Last reply
    0
    • A AKAB

      Re: Can't plot any figure-UBUNTU 22.04 LTS
      Hi everyone, I am struggling with this issue below

      Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      qt.qpa.xcb: could not connect to display 192.168.43.1: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, minimal, minimalegl, offscreen, vnc, webgl, xcb.
      
      Aborted (core dumped)~~~~
      
      I have tried accessing /etc/gdm3/custom.conf file to edit wayland but and also in the environment, but its not working, anyone to help me according to the error above?
      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @AKAB
      This message comes up many times if you search this forum or Google.

      The answer every time is to export QT_DEBUG_PLUGINS=1 in a shell and then run your executable. Look at the end of the diagnostic output from the reason for xcb failure.

      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