Firewall Configuration app not working in xfce

Did you try the solution I gave you?

I can't find menu editor on my settings. :neutral_face: But I can find Firewall Configuration under system.

2 Likes

Firewall setting in Z16 is different from Z15. See this:

1 Like

It's not different, op is using XFCE not Gnome.

1 Like


I took a picture from my VM, you should see Menu Editor as an option.

1 Like


I don't have it.

1 Like

Let's fix that.

We have established that GUFW works because it does from terminal.
So...
Elevate to root:

sudo -i

Launch naughtylus

nautilus

Or thunar if you are preferring that (I would...)

thunar

Navigate to /usr/share/applications/

Right click open area and select create new document. Name it gufw.desktop

Open it and paste in the following:

Version=1.0
Name=Firewall Configuration
Keywords=gufw;security;firewall;network;
Categories=GNOME;GTK;Settings;Security;X-GNOME-Settings-Panel;X-GNOME-SystemSettings;X-Unity-Settings-Panel;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
Exec=gufw
Icon=gufw
Terminal=false
Type=Application
X-GNOME-Settings-Panel=gufw
X-Unity-Settings-Panel=gufw
X-Ubuntu-Gettext-Domain=gufw

Save the file, then reboot computer and test launching gufw (firewall configuration) from the app menu.

1 Like

@Jeslin Are you using the default? If you're not, that would explain why you don't have it.

1 Like

No, it wouldn't. The application itself is not dependent on the Desktop Environment. GUFW is run across a large variety of Distos and Desktop Environments.

3 Likes

I know, but I was talking about why she doesn't have the menu editor

1 Like

I already have a file called gufw.desktop.

It's he. :frowning_face: I'm a boy but people think that I am a girl because of my name (only if they don't see me).

Were you talking about the file called gufw.desktop when you asked me to navigate to usr/share/application/Firewall Configuration ?

Yes. On my computer, it shows the File Name, not the extension. Yours must be displaying differently.
Actually... Let me test. I will open it in Thunar and see what it shows.


YUP

Thunar displays it as gufw.desktop. Nautilus and Nemo display it as Firewall Configuration.
Ok, well... it is there... can you check the contents as above?
Ignore the rename in other languages part...

1 Like

Exec=gufw
Icon=gufw
Terminal=false
Type=Application
X-GNOME-Settings-Panel=gufw
X-Unity-Settings-Panel=gufw
X-Ubuntu-Gettext-Domain=gufw

2 Likes

All good, there.

You also said that another app was previously not launching... Is that app now launching properly?
I think it was gparted.

Both of those apps Require Admin Permission to open and run.
Hmmm...
I wonder if it is your policykit?

Do you have Synaptic installed?

1 Like

Nope.

You can remove it later... but let's test

sudo apt install synaptic

Once installed, launch it from the App Menu, not the terminal.
Let's see what happens...

1 Like

I installed it and tried to launch Synaptic. I saw the loading animation near my cursor for a few seconds and nothing happened after that.

I think we have confirmed : Anything requiring Root Authentication is not launching.
And you said this has been happening since you first installed Zorin OS?
Delete the ~/.Xauthority file, reboot and test.

Also:

sudo apt-get install --reinstall -y policykit-1-gnome

1 Like