Graphicaluser interface of UFW firewall not start

Kernels & Hardware, configuring network, installing services

Graphicaluser interface of UFW firewall not start

Postby coppolino97 » 2019-11-09 10:47

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
HP Elitebook 840 G3 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 10
coppolino97
 
Posts: 50
Joined: 2018-06-05 15:23

Re: Graphicaluser interface of UFW firewall not start

Postby Deb-fan » 2019-11-09 11:23

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. :)
Deb-fan
 
Posts: 445
Joined: 2012-08-14 12:27

Re: Graphicaluser interface of UFW firewall not start

Postby Head_on_a_Stick » 2019-11-10 08:35

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?
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Graphicaluser interface of UFW firewall not start

Postby trinidad » 2019-11-10 13:53

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.
trinidad
 
Posts: 82
Joined: 2016-08-04 14:58


Return to System configuration

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable