X11 forwarding in Edgely Console

Run a server's graphical programs (xclock, an installer, virt-manager) from the SSH terminal and their windows open on your computer, through an X server you run.

Applies to
Edgely Console
Updated

X11 forwarding over SSH

Also in the app Edgely Console: Documentation tab, Protocols, SSH Terminal, X11 Forwarding

To open a server's graphical programs (xclock, a Java installer, virt-manager) in windows on this computer, edit the connection and turn on X11 forwarding (shown when the connection has SSH). The terminal then asks the server to forward X11; run the program from the shell and its window opens here.

It needs an X server on this computer, which Edgely does not install:

  • macOS: XQuartz (xquartz.org), started.
  • Windows: an X server such as VcXsrv (started with its default settings) or X410, listening on 127.0.0.1:0.
  • Linux: the desktop's own; in a Wayland session, Xwayland provides one through DISPLAY.

The editor checks right away whether an X server answers and says what to install or start when none does; the terminal says it again at connect. The server must allow it too (X11Forwarding yes in its sshd_config, and xauth installed there).

It is off by default, for a reason: a program forwarded this way can read this computer's screen and keyboard while the session is open. Turn it on only for servers you trust. Edgely gives the server a cookie made up for the connection and checks it on every window, so the real one never leaves this computer. Through a jump host, only the connection you open forwards X11.

Something missing or wrong?

Documentation gaps are bugs. Tell us which page you were reading and what you expected to find.

Send feedback →

Product names, logos and brands mentioned on this page are the property of their respective owners. They are used for identification and comparison only, and their use does not imply any affiliation with or endorsement by them.