This question already has an answer here:
Most people want to be able to forward a window through ssh to the machine they're logging in from. I want to do the opposite.
I'm on my desktop and I'm logging in via ssh to my server. The server is essentially a media center and its screen is my TV. I want to be able to start
chromium-browser from my ssh session but have it display on the server - not on my local machine.
chromium-browser & doesn't work and gives me the
Gtk: cannot open display error. Do I have to set an environment variable on the server to "export the display to itself"?