Quick Answer: How Do I Turn off X11 Forwarding in Linux?
Contents

Launch your preferred terminal application. Open sshd configuration file using favourite text editor. $ sudo vi /etc/ssh/sshd_config [sudo] password for user: Search for X11Forwarding directive and set the option to no to disallow X forwarding and yes to allow.

How do I turn off X11 forwarding?

If for some reason you need to disable it, start MobaXTerm, go to Settings » Configuration » SSH , and deselect the X11-Forwarding box. Alternatively, you can use a combination of PuTTY and an X11 server, such as XMing or Cygwin/X. You will need to enable X11 forwarding in PuTTY.

What is X11 forwarding in Linux?

X11 forwarding is method of allowing a user to start a graphical applications installed on a remote Linux system and forward that application windows (screen) to the local system. The remote system need not to have X server or graphical desktop environment.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest