You are not logged in.

#1 2016-07-25 23:02:12

GreenBackbone
Member
From: Tijuana, Mex
Registered: 2015-06-17
Posts: 27

problem starting gufw

i get the following error when running gufw.

[rastamanking@GreenKnock ~]$ sudo gufw
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
/usr/lib/python2.7/site-packages/gufw/view/gufw.py:19: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, WebKit
/usr/lib/python2.7/site-packages/gufw/view/gufw.py:19: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, WebKit

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

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

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

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

(gufw.py:1317): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

(gufw.py:1317): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
/usr/lib/python2.7/site-packages/gufw/view/gufw.py:74: Warning: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed
  self.builder.add_from_file('/usr/share/gufw/ui/gufw.ui')
/usr/sbin/gufw-pkexec: line 15:  1317 Segmentation fault      (core dumped) python2 ${LOCATIONS[${i}]} $1

heres the status of the ufw service.

[rastamanking@GreenKnock ~]$ sudo systemctl status ufw
● ufw.service - CLI Netfilter Manager
   Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled; vendor preset: disabled)
   Active: active (exited) since Mon 2016-07-25 15:53:18 PDT; 11s ago
 Main PID: 1185 (code=exited, status=0/SUCCESS)

Jul 25 15:53:18 GreenKnock systemd[1]: Starting CLI Netfilter Manager...
Jul 25 15:53:18 GreenKnock ufw-init[1185]: Problem loading ipv6 (skipping)
Jul 25 15:53:18 GreenKnock systemd[1]: Started CLI Netfilter Manager.

any ideas? thanks in advance!


Peace, Love and Blessings to All!

Offline

#2 2016-07-25 23:23:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: problem starting gufw

Is your system up-to-date? What kernel are you running?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-07-26 07:42:10

GreenBackbone
Member
From: Tijuana, Mex
Registered: 2015-06-17
Posts: 27

Re: problem starting gufw

Thank you for answering.. my system is up to date..
this is my kernel

[rastamanking@GreenKnock ~]$ uname -r
4.6.4-1-ARCH

Peace, Love and Blessings to All!

Offline

#4 2016-07-26 07:48:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: problem starting gufw

15.10.0-2 starts here, with those warnings, but seems to work fine.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-07-28 10:32:59

GreenBackbone
Member
From: Tijuana, Mex
Registered: 2015-06-17
Posts: 27

Re: problem starting gufw

i haven't been able to get it running.. any idea as to where to digg more on this?
or should o just drop gufw and use term ufw?

Last edited by GreenBackbone (2016-07-28 10:33:42)


Peace, Love and Blessings to All!

Offline

#6 2016-07-28 19:13:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: problem starting gufw

You could try changing your theme. I just use ufw.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-07-28 21:14:33

GreenBackbone
Member
From: Tijuana, Mex
Registered: 2015-06-17
Posts: 27

Re: problem starting gufw

Now that you mention this.. i have been having troubles with artifacts on my theme.. will change theme and try again.. thank you.
and if theme doesnt fix this i will get rid of the GUI

Last edited by GreenBackbone (2016-07-28 21:17:54)


Peace, Love and Blessings to All!

Offline

#8 2016-07-28 21:21:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: problem starting gufw

GreenBackbone wrote:

and if theme doesnt fix this i will get rid of the GUI

The GUI is pretty worthless for ufw IMO.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#9 2016-07-28 21:23:07

GreenBackbone
Member
From: Tijuana, Mex
Registered: 2015-06-17
Posts: 27

Re: problem starting gufw

@graysky  noted thankyou.


Peace, Love and Blessings to All!

Offline

#10 2016-08-12 12:51:53

Schicko
Member
Registered: 2016-08-08
Posts: 11

Re: problem starting gufw

I get a similar thing occuring: http://pastebin.com/ra8Lh6s7 . I've done a pacman -Syu prior so I think my system is up to date. I use sway window manager in case that is relevant. I can make it work if I enter xhost :local+ before executing sudo or gksudo gufw , but when I exit the application it will still display:

[user1@laptop1 ~]$ gksudo gufw
/usr/lib/python2.7/site-packages/gufw/view/gufw.py:19: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, WebKit

It also doesn't seem like gufw saves its settings as they seem to be reset after reboot?

Offline

#11 2016-11-03 17:04:12

uncarvedblock
Member
Registered: 2016-11-03
Posts: 4

Re: problem starting gufw

Schicko wrote:

I use sway window manager

gufw isn't working under wayland, works fine under X. Still looking for a solution myself.

Schicko wrote:

It also doesn't seem like gufw saves its settings as they seem to be reset after reboot?

Did you enable the ufw service? if the service isn't enabled, changes won't  persist upon rebooting.

sudo ufw enable

Last edited by uncarvedblock (2016-11-03 17:11:05)

Offline

Board footer

Powered by FluxBB