I have a problem with starting one GUI application, the base of the application works in the background but graphical interface is not working, i click on the icon and nothing happens. The only way to open it is via terminal with "sudo" but this app should work without sudo and should start automaticaly with sparky...can someone help me with that?
Thanks.
1. Make sure you have 'sparky-su' package installed.
2. Run your app with the command:
spsudo app
Still the same thing...app wont auto start with sparky and the only way to open it is via terminal sudo command. Something is blocking GUI from openning
What's the app name?
I wanted to implement sdwdate (secure time syncronization) from Whonix system which is based on two components...sdwdate and sdwdate-gui. The app actually works just cant make GUI to work properly.
What's the error message when you run sdwdate-gui in terminal?
This is what i get,
access control disabled, clients can connect from any host
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sdwdate-gui'
tor_status_changed unexpected error: <class 'NameError'>
status_changed unexpected error: <class 'json.decoder.JSONDecodeError'>
status_changed unexpected error: <class 'json.decoder.JSONDecodeError'>
status_changed unexpected error: <class 'json.decoder.JSONDecodeError'>
Quote from: anonimac on March 05, 2021, 03:04:36 PM
access control disabled, clients can connect from any host
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sdwdate-gui'
tor_status_changed unexpected error: <class 'NameError'>
status_changed unexpected error: <class 'json.decoder.JSONDecodeError'>
status_changed unexpected error: <class 'json.decoder.JSONDecodeError'>
status_changed unexpected error: <class 'json.decoder.JSONDecodeError'>
Non of those look fatal.
What's your desktop environment?
What's the response to
echo $QT_QPA_PLATFORMTHEME command?
XFCE + gtk2
GTK2 might be an issue here. Let's temporarily change it to something different. For starters run
sudo apt update
sudo apt install qt5ct
After that run commands below one after another in one terminal session (same terminal window)
export QT_QPA_PLATFORMTHEME=qt5ct
qt5ct
In qt5ct change Style to Fusion. Apply changes.
After that, still in the same terminal window run sdwdate-gui
All the same, nothing happens...still need to use sudo password, not starting on startup and when i click on start menu icon nothing happens