How to get Firefox over SSH using the command line

Do:

  • ssh -X user@hostname firefox -no-remote

As a side note, you have done a minimal install of CentOS,  and you try the above and get the following warning “(firefox:2740): Pango-WARNING **: failed to choose a font….”, well you need install Firefox and and few other things.

  • yum groupinstall “X Window System”
  • xorg-x11-fonts-Type1.noarch
  • yum install firefox

Now run ssh -X user@hostname firefox -no-remote and you should be good


Advertisement

About hedscratchers

A UK ex-pat now living in the USA.
This entry was posted in Linux & Solaris. Bookmark the permalink.

1 Response to How to get Firefox over SSH using the command line

  1. anon says:

    Hey tks for this post.
    This just saved my ass from some serious head-scratching.

    Cheers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s