Running firewall-config via waypipe

Trying to run firewall-config via waypipe:

jwi@penguin:~$ waypipe ssh -l jwi -A -Y 192.168.9.153
jwi@homesrv:~$ firewall-config
C6971: 25.537901 [src/shadow.c:384] The fd 12 has an unusual mode 180 (type=0): blk=0 chr=0 dir=0 lnk=0 reg=0 fifo=0 sock=0; expect an application crash!

The firewall-config window opens, but reports an error “Authorization failed”. (Most likely, it’s making an attempt to enter sudo mode, or something the like?)

Any ideas, how to get this working?

1 Like

I guess it’s problematic to use Polkit over Waypipe.
Consider the following alternatives:

  • Cockpit > Networking > Firewall
  • GNOME Remote Desktop > Remote Login
  • Firewalld CLI over SSH
1 Like

It opens a polkit auth popup window which is not forwarded to you. Instead, you could run it with pkexec or even better run0. this runs the app as root though, which might cause issues with wayland foor good reasons.

The embedded polkit auth means that the app runs as user (not root) and only parts are elevated. No idea how to make that work.