Hi, I recently made an application with GTK/Python on my raspberry pi. Everything works fine, the application does what it needs to do. When I do “python3 application.py” on my raspberry pi, no problems, works just fine. When I try to do it over SSH, it gives me this error:
" Unable to init server: Could not connect: Connection refused
*(Main.py:2169): Gtk-CRITICAL *: 14:49:24.239: _gtk_style_provider_private_get_s ettings: assertion ‘GTK_IS_STYLE_PROVIDER_PRIVATE (provider)’ failed
*(Main.py:2169): Gtk-CRITICAL *: 14:49:24.239: _gtk_style_provider_private_get_s ettings: assertion ‘GTK_IS_STYLE_PROVIDER_PRIVATE (provider)’ failed
*(Main.py:2169): Gtk-CRITICAL *: 14:49:24.239: _gtk_style_provider_private_get_s ettings: assertion ‘GTK_IS_STYLE_PROVIDER_PRIVATE (provider)’ failed"
Can someone help me with this one please?
Thank you guys
PS. sorry if i’m in the wrong category, i’m pretty new