The X11 server and OpenSSH client work similarly to those on UNIX-like systems. to run UNIX shell scripts and commands), then we recommend using.
When configuring Putty for your SSH login, you must check the "Enable X11 Forwarding" box.Īlternatively, if you want X11 display along with a UNIX-like environment to run on top of Windows (e.g. Install, and make sure to include the SSH client Putty.
Install MobaXterm as your terminal client of choice it has a built-in X server installed. You will need an X11 server for your desktop, as none are included with Windows. If you have a question about Research Computing-maintained hosts, please email Microsoft Windows It is recommended you enable X11 forwarding only for remote hosts where you trust the administrators. SSH X11 forwarding is often disabled by default in SSH clients because administrative users on remote hosts to which you connect can access your X11 server, which could allow them to observe or manipulate your X11 session (including logging keystrokes). SSH X11 Forwarding Security notice about SSH X11 forwarding * X11-based editors usually have a facility for accessing remote files. In general, you will get better performance from running these applications locally.* With web browsers, you can easily make a connection to a remote service from a locally running browser. Run applications that can be run directly on the system where you're running your X11 server ( xterm, XEmacs, Mozilla, mail readers, etc.). Using SSH X11 forwarding will automate and secure this process for you – see below for details. Use xhost or set the DISPLAY environment variable manually to the name of the system where your X11 server is running. Xterm X11 client that provides a terminal window What Not To Do X11 server The program that drives the user's display and handles connections from X11 clients.
X11 client The application being displayed ( xterm, XEmacs, Mozilla, etc.) You would run this, e.g., on O2 Srun -pty -p interactive -t 0-12:00 -x11 /bin/bash X11 Terminology However, in order to utilize X11 forwarding in an interactive session, it is still necessary to specify the -x11 flag, like As of the Jupgrade, batch jobs now have X11 forwarding enabled by default without any sbatch flag required (provided you submitted a job after having logged in with the corresponding ssh flag, see below). If you have SSH X11 forwarding enabled in your SSH client and are running an X11 server on your local system, you can run X11 jobs on the O2 compute nodes. To do this, you need to have an X11 server running on your desktop, your SSH connection needs to have X11 forwarding enabled.
Even to activate the graphics devices and plot to files, an X11 session must be enabled. A number of programs with graphical user interfaces (e.g., R, MATLAB) use the X11 system which lets the program run on an O2 computer, but show the graphics on your desktop.