In my SSH config file, X forwarding is enabled, and I run
ssh with the
-X parameter. It gives me first error below but connects in the end.
Failed to add the host to the list of known hosts (/home/myUserName/.ssh/known_hosts)
The problem starts here. When I open an X program such as ff, it opens on the remote machine, not through forwarding to my computer. Am I mixing something? How can I forward X output to my local machine?
Both machines have a Linux operating system with X.org installed with perfectly working desktop environments.
echo $DISPLAY outputs :0