X Window System/remote session/application
The easier method of running a remote X session requires just a single optional argument to ssh:
- ssh -X <account>@<machine> [ <command> ]
This causes any X commands invoked during the remote session to run using your local machine's X server.
Note that some GUI applications, including Firefox and Thunderbird, are configured to look for a locally-running copy and, if found, bring that to the foreground instead of running on the remote system and merely displaying locally. Such applications typically have command-line options to suppress this behavior, e.g.: