(gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_screen

New to Debian (Or Linux in general)? Ask your questions here!

(gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_screen

Postby sarksloane » 2017-03-18 06:56

I installed gufw and after installation when I typed gufw in terminal, I got the below error.

how to fix this?thanks.

Code: Select all
(gufw.py:4744): Gtk-CRITICAL **: _gtk_settings_get_style_cascade: assertion 'GTK_IS_SETTINGS (settings)' failed

(gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gufw.py:4744): Gtk-CRITICAL **: _gtk_settings_get_style_cascade: assertion 'GTK_IS_SETTINGS (settings)' failed

(gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gufw.py:4744): Gtk-CRITICAL **: _gtk_settings_get_style_cascade: assertion 'GTK_IS_SETTINGS (settings)' failed

(gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gufw.py:4744): Gtk-CRITICAL **: _gtk_settings_get_style_cascade: assertion 'GTK_IS_SETTINGS (settings)' failed

(gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gufw.py:4744): Gtk-CRITICAL **: _gtk_settings_get_style_cascade: assertion 'GTK_IS_SETTINGS (settings)' failed

(gufw.py:4744): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(gufw.py:4744): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
Segmentation fault
root@debian:/home/sark#
sarksloane
 
Posts: 25
Joined: 2017-01-17 04:21

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby debiman » 2017-03-18 07:54

have you updated & upgraded your system meanwhile>?
viewtopic.php?f=30&t=132224
User avatar
debiman
 
Posts: 710
Joined: 2013-03-12 07:18

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby Head_on_a_Stick » 2017-03-18 09:46

sarksloane wrote:how to fix this?

Try switching to a supported theme — Adwaita is the "official" GTK theme and should always work without error but it's fugly; Arc & Adapta are both conformant and *much* prettier.

Do you actually have any problems with the program?

Those error messages are trivial in nature and can be safely ignored.
“Such is modern computing: everything simple is made too complicated because it’s easy to fiddle with; everything complicated stays complicated because it’s hard to fix." — Rob Pike

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6378
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby sarksloane » 2017-03-20 03:38

debiman wrote:have you updated & upgraded your system meanwhile>?
viewtopic.php?f=30&t=132224


I updated but still nothing happened.
sarksloane
 
Posts: 25
Joined: 2017-01-17 04:21

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby sarksloane » 2017-03-20 03:43

Head_on_a_Stick wrote:
sarksloane wrote:how to fix this?

Try switching to a supported theme — Adwaita is the "official" GTK theme and should always work without error but it's fugly; Arc & Adapta are both conformant and *much* prettier.

Do you actually have any problems with the program?

Those error messages are trivial in nature and can be safely ignored.


my theme is Adwaita. Do I need to ON the Global Dark Theme?
sarksloane
 
Posts: 25
Joined: 2017-01-17 04:21

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby debiman » 2017-03-21 05:38

@HoaS: code from post #1 has segmentation fault at the end.

sarksloane wrote:I updated but still nothing happened.

yes, but have you also upgraded?
and while you're at it, show us, please:
Code: Select all
apt-get update
apt-get upgrade
User avatar
debiman
 
Posts: 710
Joined: 2013-03-12 07:18

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby sarksloane » 2017-03-24 05:48

debiman wrote:@HoaS: code from post #1 has segmentation fault at the end.

sarksloane wrote:I updated but still nothing happened.

yes, but have you also upgraded?
and while you're at it, show us, please:
Code: Select all
apt-get update
apt-get upgrade


Thank you for your feedback :)

Code: Select all
root@debian:/home/sark# apt-get update
Ign http://dl.google.com stable InRelease
Ign http://ftp.us.debian.org jessie InRelease                               
Get:1 http://dl.google.com stable Release.gpg [916 B]                       
Get:2 http://dl.google.com stable Release [1,189 B]                           
Get:3 http://ftp.us.debian.org jessie-updates InRelease [145 kB]               
Get:4 http://dl.google.com stable/main amd64 Packages [1,413 B]               
Get:5 http://security.debian.org jessie/updates InRelease [63.1 kB]           
Hit http://ftp.us.debian.org jessie Release.gpg                               
Get:6 http://ftp.us.debian.org jessie-updates/main Sources [15.5 kB]           
Get:7 http://ftp.us.debian.org jessie-updates/main amd64 Packages/DiffIndex [7,408 B]
Get:8 http://ftp.us.debian.org jessie-updates/main i386 Packages/DiffIndex [7,408 B]
Get:9 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Hit http://ftp.us.debian.org jessie Release                                   
Ign http://dl.google.com stable/main Translation-en_US               
Hit http://ftp.us.debian.org jessie/main Sources
Ign http://dl.google.com stable/main Translation-en
Get:10 http://security.debian.org jessie/updates/main Sources [193 kB]
Hit http://ftp.us.debian.org jessie/main amd64 Packages             
Hit http://ftp.us.debian.org jessie/main i386 Packages             
Hit http://ftp.us.debian.org jessie/main Translation-en
Get:11 http://security.debian.org jessie/updates/main amd64 Packages [359 kB]
Get:12 http://security.debian.org jessie/updates/main i386 Packages [360 kB]
Get:13 http://security.debian.org jessie/updates/main Translation-en [197 kB]
Fetched 1,354 kB in 7s (192 kB/s)                                             
Reading package lists... Done


Code: Select all
root@debian:/home/sark# apt-get -u upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libsmbclient libwbclient0 samba-libs
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,379 kB of archives.
After this operation, 142 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/ jessie/updates/main libwbclient0 amd64 2:4.2.14+dfsg-0+deb8u4 [121 kB]
Get:2 http://security.debian.org/ jessie/updates/main libsmbclient amd64 2:4.2.14+dfsg-0+deb8u4 [147 kB]
Get:3 http://security.debian.org/ jessie/updates/main samba-libs amd64 2:4.2.14+dfsg-0+deb8u4 [5,110 kB]
Fetched 5,379 kB in 9s (552 kB/s)                                             
Reading changelogs... Done
(Reading database ... 183063 files and directories currently installed.)
Preparing to unpack .../libwbclient0_2%3a4.2.14+dfsg-0+deb8u4_amd64.deb ...
Unpacking libwbclient0:amd64 (2:4.2.14+dfsg-0+deb8u4) over (2:4.2.14+dfsg-0+deb8u2) ...
Preparing to unpack .../libsmbclient_2%3a4.2.14+dfsg-0+deb8u4_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.2.14+dfsg-0+deb8u4) over (2:4.2.14+dfsg-0+deb8u2) ...
Preparing to unpack .../samba-libs_2%3a4.2.14+dfsg-0+deb8u4_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.2.14+dfsg-0+deb8u4) over (2:4.2.14+dfsg-0+deb8u2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libwbclient0:amd64 (2:4.2.14+dfsg-0+deb8u4) ...
Setting up samba-libs:amd64 (2:4.2.14+dfsg-0+deb8u4) ...
Setting up libsmbclient:amd64 (2:4.2.14+dfsg-0+deb8u4) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...


Still the issue exist :(

Code: Select all
root@debian:/home/sark# gufw
No protocol specified

** (gufw.py:2100): WARNING **: Could not open X display
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused

(gufw.py:2100): Gdk-CRITICAL **: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:2100): Gdk-CRITICAL **: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:2100): Gdk-CRITICAL **: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
sarksloane
 
Posts: 25
Joined: 2017-01-17 04:21

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby debiman » 2017-03-24 06:40

abit too much google in there for my taste.
might be wreaking havoc, but that's just an opinionated stab in the dark.

i don't know why gufw is misbehaving.

libc is a very important package, many things might change after upgrading that, if i were you i'd reboot and repeat the update/grade.
you can try reinstalling it after this upgrade.

if that doesn't help either, i know for a fact that ufw works very nicely, too (and is also uncomplicated).
User avatar
debiman
 
Posts: 710
Joined: 2013-03-12 07:18

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby sarksloane » 2017-03-25 03:45

debiman wrote:abit too much google in there for my taste.
might be wreaking havoc, but that's just an opinionated stab in the dark.

i don't know why gufw is misbehaving.

libc is a very important package, many things might change after upgrading that, if i were you i'd reboot and repeat the update/grade.
you can try reinstalling it after this upgrade.

if that doesn't help either, i know for a fact that ufw works very nicely, too (and is also uncomplicated).


When I used
Code: Select all
startx
and typed the gufw in terminal, it worked smoothly without any issue.

It seems that the problem is in my DE, i guess. I don't know exactly :(
sarksloane
 
Posts: 25
Joined: 2017-01-17 04:21

Re: (gufw.py:4744): Gtk-CRITICAL **: gtk_settings_get_for_sc

Postby debiman » 2017-03-25 06:04

couold be some authentication issue then since editing a firewall does require superuser privileges.
User avatar
debiman
 
Posts: 710
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: None1975 and 7 guests

fashionable