I am trying to run Firefox from the terminal on a server using a centos operating system. Whenever I type in the command:
ssh - X hostname firefox
I can get firefox to successfully open, but I can not ssh on to the server remotely and open firefox. I get the following error message after specifying export DISPLAY=:0 and typing in "firefox"
No protocol specified No protocol specified Error: cannot open display: :0
There are many forums for this problem online and the only useful suggestions I have tried:
Although I need firefox to open under a specific user it will also not open under root.