Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

GUI application problem

Started by anonimac, March 05, 2021, 11:23:46 AM

Previous topic - Next topic

anonimac

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.

pavroo

1. Make sure you have 'sparky-su' package installed.
2. Run your app with the command:
spsudo app
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

anonimac

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

pavroo

Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

anonimac

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.

lami07

What's the error message when you run sdwdate-gui in terminal?
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

anonimac

#6
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'>

lami07

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?
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

anonimac


lami07

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
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

anonimac

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

View the most recent posts on the forum