Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatpak run com.github.micahflee.torbrowser-launcher Error #691

Open
Louiskoo211 opened this issue Jun 15, 2023 · 3 comments
Open

flatpak run com.github.micahflee.torbrowser-launcher Error #691

Louiskoo211 opened this issue Jun 15, 2023 · 3 comments

Comments

@Louiskoo211
Copy link

Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6
https://github.com/micahflee/torbrowser-launcher
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, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

@Kkordik
Copy link

Kkordik commented Oct 2, 2023

The same problem, running on Chrome OS

@Kkordik
Copy link

Kkordik commented Oct 2, 2023

Have you found any solution ?

@StudentSerai1181201811
Copy link

After a while of searching, I finally understood the reason and how to fix it

As detailed from the error message, it spits out that xcb couldn't be loaded for whatever reason
XCB is a library implementing the client-side of the X11
Basically meaning, you can't launch it because it can't connect to your X server for some reason

As it details:

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb

This means that we can use plugins aside from xcb which would be eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, or wayland-xcomposite-glx

You might need to play around with it but I noticed that offscreen and wayland work well for me

So to change this, write flatpak override --user --env=QT_QPA_PLATFORM=xcb org.torproject.torbrowser-launcher into your terminal where you change xcb with whatever other plugin you'll use instead like offscreen or wayland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants