F1ash / dnscrypt-proxy-gui

Qt/KF5 GUI wrapper over dnscrypt-proxy
GNU General Public License v2.0
26 stars 7 forks source link

Application cannot be launched under Fedora #16

Closed Ricky-Tigg closed 8 months ago

Ricky-Tigg commented 5 years ago

Application cannot be launched. The following commands were executed on Gnome version 3.32.2:

Same results using DNSCryptClient or /usr/bin/DNSCryptClient.

$ DNSCryptClient
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

$ sudo ps -aux | grep -i dnscrypt
root      2806  1.0  0.5 505628 21300 ?        Ssl  14:37   0:00 /usr/libexec/kf5/kauth/dnscrypt_client_test_helper

$ QT_QPA_PLATFORM=wayland DNSCryptClient
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread

$ sudo DNSCryptClient
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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

$ sudo QT_QPA_PLATFORM=wayland DNSCryptClient
error: XDG_RUNTIME_DIR not set in the environment.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" (...)

No message produced when executing DNSCryptClient

$ sudo DNSCryptClient
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

Additional information: dnscrypt-proxy was installed as dependency along with installation of dnscrypt-proxy-gui. System was rebooted.

$ dnf list installed | grep -i dnscrypt
dnscrypt-proxy.x86_64                 2.0.23-1.fc30               @updates        
dnscrypt-proxy-gui.x86_64             1.21.16-4.fc30              @updates
$ rpm -ql dnscrypt-proxy-gui | grep '^/usr/bin'
/usr/bin/DNSCryptClient
# systemctl list-unit-files | grep -i dnscrypt | sort
DNSCryptClient@.service                      static
DNSCryptClient_test@.service                 static
DNSCryptClient_test_v2.service               static
dnscrypt-proxy.service                       disabled
dnscrypt-proxy.socket                        disabled
F1ash commented 5 years ago

i'm not use Wayland yet... Maybe need to use xorg-x11-server-Xwayland.x86_64 : Wayland X Server for according X11-application with Wayland

F1ash commented 5 years ago

maybe some bug with Qt private_API because include dirs for it is DBusPrivDirs: /usr/include/qt5/QtDBus/5.12.3;/usr/include/qt5/QtDBus/5.12.3/QtDBus;/usr/include/qt5/QtCore/5.12.3;/usr/include/qt5/QtCore/5.12.3/QtCore

but they are empty in my rawhide... So maybe some bug in building ...

Nokia808 commented 5 years ago

Hi. I'm also suffer from this issue ! Please look to this bug oopened by me on RedHat Bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=1720793

It seem that certain Fedora users suffer from this issue while other are not !