You are not logged in.

#1 2016-12-02 11:34

barneycat74
Member
Registered: 2016-12-02
Posts: 11

Q4OS firewall

Hi I am new to using Q4OS, but am enjoying it so far. Once issue I have is I tried to install gufw, and it installs via synaptic, but there is no icon anywhere from the program menu. If I use the "run command" option, gufw will launch and run but after reboot it is disabled again. Also my programs menu disappeared and did not return until I had removed gufw from synaptic. Is there a way of getting this working?

Thanks.

Offline

#2 2016-12-02 11:59

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,256
Website

Re: Q4OS firewall

We are going to check described issues and post here as soon as we have some result.

Offline

#3 2016-12-02 12:40

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,256
Website

Re: Q4OS firewall

barneycat74 wrote:

... I tried to install gufw, and it installs via synaptic, but there is no icon anywhere from the program menu.

Yes, 'gufw' package has no entry in TDE/KDE menu, see the line 'OnlyShowIn=Unity' in '/usr/share/applications/gufw.desktop' file, so it must be launched by 'Run Command' utility or from terminal:
$ sudo gufw

If you would want to show 'gufw' entry in the Start menu, you need to make new desktop/menu entry, please see http://www.q4os.org/dqa011.html#desktop.3 , or modify lines in '/usr/share/applications/gufw.desktop' file:

Exec=gufw
OnlyShowIn=Unity

to:

Exec=tdesudo gufw
OnlyShowIn=Unity;TDE;



barneycat74 wrote:

... but after reboot it is disabled again.

We are not able to reproduce. Please describe more exactly what do you mean by '... it is disabled again' for us to be able to check it out.

barneycat74 wrote:

Also my programs menu disappeared and did not return until I had removed gufw from synaptic.

We are not able to reproduce. Please describe more exactly, a screenshot would be helpful too.

Offline

#4 2016-12-02 13:16

barneycat74
Member
Registered: 2016-12-02
Posts: 11

Re: Q4OS firewall

Ok if i use the run command and set gufw as to enabled, the next time I was booted I launched it from the run command again, but it showed the firewall to be disabled again. Would I need to add a script to tell it to autostart on boot?

When I had gufw installed and clicked on the menu button (again after reboot) the Programs shortcut had disappeared from the menu. But when I removed gufw it appeared again!

Offline

#5 2016-12-02 13:34

barneycat74
Member
Registered: 2016-12-02
Posts: 11

Re: Q4OS firewall

Actually I reinstalled, but couldn't replicate the error, as programs is showing correctly now. So maybe it was something I did :-) Does the gufw application start automatically at boot, because when you type sudo gufw it comes up greyed out until you click unlock and then it shows correctly?

Thanks.

Last edited by barneycat74 (2016-12-02 13:37)


Attachments:
png snapshot1.png, Size: 49.75 KiB, Downloads: 639

Offline

#6 2016-12-02 13:39

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,256
Website

Re: Q4OS firewall

barneycat74 wrote:

Actually I reinstalled, but couldn't replicate the error, as programs is showing correctly now.

It may be about this bug http://www.q4os.org/dqa011.html#desktop.10

barneycat74 wrote:

Does the gufw application start automatically at boot, because when you type sudo gufw it comes up greyed out until you click unlock and then it shows correctly?

We are going to check it and make a post here as soon as we have some result.

Offline

#7 2016-12-02 13:42

barneycat74
Member
Registered: 2016-12-02
Posts: 11

Re: Q4OS firewall

Ah ok thanks for that will keep an eye on it to see if it happens again.

Offline

#8 2016-12-02 15:55

MC
Member
Registered: 2015-12-23
Posts: 182

Re: Q4OS firewall

@ barneycat74
You can check the firewall status in the terminal without having to open the gui everytime:

mc@q4os-desktop:~$ sudo ufw status
[sudo] password for mc: 
Status: active
mc@q4os-desktop:~$

"ufw" is the firewall. The "g" in gufw is for "gui".

From my experience, it always starts at boot. You can also check the ufw.conf and see if it is set to run at startup. Look in /etc/ufw/ufw.conf.

# Set to yes to start on boot. If setting this remotely, be sure to add a rule
# to allow your remote connection before starting ufw. Eg: 'ufw allow 22/tcp'
ENABLED=yes

Last edited by MC (2016-12-02 16:29)


Q4OS running Xfce

Offline

#9 2016-12-02 17:39

barneycat74
Member
Registered: 2016-12-02
Posts: 11

Re: Q4OS firewall

I did the sudo ufw status thing and it does show the firewall running despite it being greyed out when I type sudo gufw. It also shows it is set to start on boot. So that's good, it just the gufw part doesn't seem to be on when you first boot up.

Anyway thank you for your help, at least I know the firewall is working :-)

Offline

#10 2016-12-02 17:59

MC
Member
Registered: 2015-12-23
Posts: 182

Re: Q4OS firewall

barneycat74 wrote:

Anyway thank you for your help, at least I know the firewall is working :-)

Glad I could help. smile

One more trick for you. In the terminal, istead of "sudo" type "gksu gufw", then press enter. The gui will pop-up, THEN click the "unlock" button...


Q4OS running Xfce

Offline

#11 2016-12-02 18:16

barneycat74
Member
Registered: 2016-12-02
Posts: 11

Re: Q4OS firewall

Will do, thanks again for your help. Much appreciated. :-)

Offline

Board footer

Powered by FluxBB