Browse sites on remote firefox session and save to remote server

Install firefox on both servers,

Add the following to /etc/ssh/ssh_config on the client computer:

ForwardX11 yes

Now, login to the remote server, and install the following:

apt-get install xauth

Now, on the remote server, run the following:

./firefox --no-remote

A few seconds later, a new firefox window will open locally, ehich actually runs remotely.


[[email protected]] ~ #firefox -no-xshm
(process:2658): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
Error: cannot open display: localhost:10.0

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.