i need to run firefox process on a remote host via ssh and also keep process running even after ssh logout. I already have tried these ways nohup firefox & ,screen,disown -h . but it seems these work only for the process without hardware display.because these work fine with my scripts and I can keep my scripts running even after ssh log out but I can't do the same for firefox. I am stuck with this for long. please help me out here !
closed as off topic by Marco Ceppi♦ Feb 3 '12 at 0:46
Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
With firefox , you are better off using a tunnel
-D flag sets up dynamic port forwarding
See man ssh for details
You then configure Firefox to use socks5 on localhost port 8080
Under preferences -> advanced -> network tab
To close the tunnel, use
To run a remote X application through ssh, and free up the console where you run the command:
where Xapp is the remote X application. In case of Firefox you need the option -no-remote
Some information about the