4

I tried to install DBSqlite Browser for Ubuntu and Derivatives.

After installation, I enter the command to open Ubuntu in the terminal: "sqlitebrowser" and the following crashes:

qt.qpa.xcb: could not connect to display 
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.

A holistic solution to the problem could not be found. Various tips like sudo apt-get install libxcb-xinerama0 did not help

Ubuntu 22.04.3 
DB Browser for SQLite Version 3.12.2
Built for x86_64-little_endian-llp64, running on x86_64
Qt Version 5.12.8
Версия SQLite 3.35.5.
Artur Meinild
  • 31,035
IlVin
  • 41
  • 1
  • 4

3 Answers3

4

You should probably add the PPA for the nightly builds instead, since the sqlitebrowser package in the stable PPA has not been updated for 2 years (and as such do not include a version for Ubuntu 22.04).

Uninstall the current version, and remove the stable PPA. Then add the unstable PPA (which has a version for Ubuntu 22.04)

sudo add-apt-repository -y ppa:linuxgndu/sqlitebrowser-testing

And then update and install:

sudo apt-get update
sudo apt-get install sqlitebrowser

This should install a working version (although the "unstable" branch).

If you need another version, you would have to compile it yourself.

Artur Meinild
  • 31,035
0

Super fast by this on ubuntu 22.04 LTS

snap install sqlitebrowser
0

Install DBBeaver for Ubuntu (22.04)

Open the SQLite file directly using DBBeaver from File -> Open (widen the extension filter).

You'll need an additional driver, which DBBeaver detects automatically: enter image description here