I connect to a Debian server using
ssh -i mykey.pem username@ip. I want to install and run, for example, a browser with a GUI and see the window from my local client, how could I do it? Elinks works, but it's kind of tough to use for navigating the web.
Before flagging this question as duplicate, I have to say that I already tried the instruction in How do I work with GUI tools over a remote server?.
I also tried login with
ssh -X -i ... and
ssh -Y -i ... .
X11Forwarding yes is enabled in
/etc/ssh/sshd_config (on the remote server).
ForwardX11 yes is set in
~/.ssh/config (local client)
echo $DISPLAY output: (after login, none)
echo $DISPLAY output:
<myip>:0.0 (after the comment above).
When trying to run xfe I get:
FXApp::openDisplay: unable to open display <myip>:0.0
What's wrong? What could I try? Do I have to open any port on my local machine?