| # fx emu-remote |
| |
| Remotely run emulator |
| |
| ```none |
| usage: fx emu-remote [--no-build] [--stream [--no-emu] [--no-turn] [--no-open] [--display DPY] [--port PORT]] HOST [DIR] [-- ARGS] |
| |
| Connect to HOST, run a build using fx from DIR, fetch the artifacts and |
| start the emulator. Alternatively, start the emulator on HOST, |
| and open an WebRTC connection to it using local browser. |
| |
| --no-build do not build, just pull artifacts already present |
| --stream stream output from remote emulator using WebRTC instead of fetching artifacts |
| --no-emu only tunnel, do not start remote emulator |
| --no-turn do not use turn configuration for remote emulator |
| --no-open do not open https://web-femu.appspot.com, just run remote emulator |
| --display DPY do not start remote virtual display, use DPY instead |
| --port PORT port used on local machine to connect with remote emulator over HTTP (default: 8080) |
| |
| HOST the hostname to connect to |
| DIR defaults to ~/fuchsia, the path to the FUCHSIA_DIR on HOST |
| ARGS arguments to pass to emulator |
| |
| HOST and DIR are persisted in the file //.fx-remote-config and are reused as |
| defaults in future invocations of any 'fx *-remote' tools. |
| ``` |
| |
| [emu-remote source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/emu-remote) |