You are not logged in.
I have configured a remote printer that I use while at work - it works fine (CUPS, ipp protocol, okular on fully updated KDE). However, when I come home, my remote printer is behind a firewall and is unreachable. If I use okular to read pdf's while at home, it frequently, (but not always?) hangs, as if trying to reach the printer, even though I'm not asking it to print. If I disable my home wifi connection, problem solved, okular starts instantly, and opens the requested pdf. If I disable the wifi connection, then open the file with okular, and then reconnect, okular will then freeze.
Is there any way I can configure the printer with CUPS or my home network with Networkmanager to somehow stop this? It's super annoying never knowing if okular will be fine or frozen.
Thanks for any help.
EDIT: Okay, I think I just discovered a super simple work around. I just installed the virtual pdf printer, and set it as the default printer. Now okular seems satisfied; it somehow doesn't need to look for the remote printer every time it starts. It means at work I now need to select the physical printer every time, but hey at least I can read pdf's at home without having to furiously click on the close until kde asks if I want to kill okular.
Last edited by dr.dynamics (2014-03-04 04:21:40)
Offline
That's nasty.
You could create a script in /etc/NetworkManager/dispatcher.d/ that blocks the outgoing packet with an ICMP messages. You could use REJECT for this in the OUTPUT chain of the filter table.
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline