I am having a problem with SSH X11 forwarding on Fedora 20 with firewall-config, the GUI tool for FirewallD (the dynamic firewall system). With most X11 GUI applications including pretty much all "system-config-*" programs, I am able to tunnel X11 windows just fine when calling SSH with "ssh -X" / "ssh -Y". However, when I run "firewall-config" from the SSH session, I get a window with no contents in it. The window has the title "Firewall Configuration" and the correct icon, but the whole content of the window is grey. It also hangs in such a way that I can't close the window or end the program with CTRL-C; I seem to have to do CTRL-Z and then a kill % command.

Is this a bug in the program? Is it possible that only certain programs using X11 are incompatible with forwarding? Will I be restricted to only using the command-line tool over SSH?


Try as follows

  xhost + 
  sudo firewall-config....

If this works, and you wish to make it permanent, edit as sudo the file /root/.bashrc and add the line:

 export XAUTHORITY=/home/yourname/.Xauthority

Source the file, and you are good to go.

|improve this answer|||||
  • Sorry but calling xhost + before the command doesn't solve the problem. – user553702 Jan 11 '14 at 10:40
  • @user553702 Then please, after it freezes, do dmesg | tail -n 20 and post the output here, if you can see something concerning this incident. – MariusMatutiae Jan 11 '14 at 11:15

startx script needs fixing. XAUTHORITY setup, There's a very simple fix: Edit /usr/bin/startx (as root, of course) and change the line:


to read instead

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.