Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Graphicaluser interface of UFW firewall not start

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
coppolino97
Posts: 117
Joined: 2018-06-05 15:23
Location: Italy
Has thanked: 2 times

Graphicaluser interface of UFW firewall not start

#1 Post by coppolino97 »

Hi all,
I have installed ufw firewall on my laptop and I would manage it using the graphical user interface ( gufw).

This is the errors when I try to start it:

Code: Select all

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:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.581: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.581: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.581: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.581: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.582: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.582: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.582: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.582: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.582: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.582: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gdk-CRITICAL **: 12:33:42.582: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.582: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.583: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.583: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(gufw.py:12004): Gtk-CRITICAL **: 12:33:42.583: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
/usr/bin/gufw-pkexec: line 13: 12004 Segmentation fault      python3 ${LOCATIONS[${i}]} $1
Regards
Lenovo T460 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 12

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Graphicaluser interface of UFW firewall not start

#2 Post by Deb-fan »

Can't remember and not going to bother checking exactly what ufw's situation is on Debian gnu/nix but try "sudo systemctl status ufw", that doesn't pop anything up, try gufw etc. What's it saying is the deal with it ? Get any kind of result try enabling it and rebooting etc. "sudo systemctl enable ufw" and similar. Just random thoughts on this. Good luck. :)
Most powerful FREE tech-support tool on the planet * HERE. *

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Graphicaluser interface of UFW firewall not start

#3 Post by Head_on_a_Stick »

coppolino97 wrote:This is the errors when I try to start it
How are you trying to start it? Which desktop environment (or window manager) is this? Do you have a graphical polkit authentication agent running?
deadbang

trinidad
Posts: 299
Joined: 2016-08-04 14:58
Been thanked: 16 times

Re: Graphicaluser interface of UFW firewall not start

#4 Post by trinidad »

I'm not sure if GUFW works under wayland. However you can use the XML interface by running:

Code: Select all

sudo ufw status verbose
or su to root and run:

Code: Select all

ufw status verbose
. You can write any rules you want easily from the ufw series of commands.
See here also: https://wiki.debian.org/Uncomplicated%2 ... 0%28ufw%29

TC
You can't believe your eyes if your imagination is out of focus.

Post Reply