X11 Forwarding using Xming and PuTTY, xmingputty

Source: Internet
Author: User
Tags free ssh xming

X11 Forwarding using Xming and PuTTY, xmingputty

We can run graphical programs on Linux/Solaris machines on campus remotely and display them on your desktop computer running Windows. we can do this by using running two applications together on your Windows machine: Xming and PuTTY.

What is Xming?

Xming is a pc x Window Server. This enables programs being run remotely to be displayed on your desktop. Download and run the installation program from: http://sourceforge.net/projects/xming/
Navigate to the Files section and download:
Xming setup from the Xming folder
The fonts package installer from the Xming-fonts folder
By default both programs will be installed into the same location, so don't the worry about over writing files. We cannot work without both packages.
Once installed, running All Programs> Xming> XLaunch is a good idea to see what the configuration looks like. In most cases, the default options shoshould be just fine.
Finally run All Programs> Xming to start the pc x Server. the "X" icon shoshould be visible on the Windows Taskbar, as in the image below. the X Server must be started before setting up a SSH connection to a campus machine.

What is PuTTY?

PuTTY is a free SSH client. Through PuTTY we connect to a remote machine on the UT Dallas campus. Download the single Windows executable file from: http://www.chiark.greenend.org.uk /~ Sgtatham/putty/download.html There is no setup required, you can run by simply double clicking putty.exe.
Processing ing PuTTY
Under Session, enter the hostname you want to connect to: apache.utdallas.edu on port 22. Make sure the connection type is ssh.

Open a graphical application by typing the command name

{apache:~} gvim itworks.txt & 

The ampersand runs the command in background so that you can work on your terminal and run the graphical application.

Tips

To connect to solarium for instance, connect to apache as abve and then from the terminal:

{apache:~} ssh –X solarium

The-X switch as you guessed enables X11 forwarding. You can run X11 applications on solarium now!

A few gotchas
  • Error message-X connection to localhost: 47.0 broken (explicit kill
    Or server shutdown ).
    • Fix: Check X server is running. Did you forget to start Xming before
      Connecting to the server?
  • Error message-cannot open display
    • Fix: Is the DISPLAY variable set? Did you set X11 forwarding
      Adding the-X switch to the ssh command?
  • GVim Error message-E665: Cannot start GUI, no valid font found

    • Fix? Download and install fonts DejaVu-fonts.zip. The latest version
      Of the DejaVu Fonts can be downloaded from the DejaVu Download Page.
  • Cadence Error message-X Error of failed request: BadName (named
    Color or font does not exist)

    • FIX: Download and install fonts Xming-fonts-7-5-0-25-setup.exe.
      Latest version of the Xming fonts pack can be downloaded from
      Xming files list.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.