Xming X Server For Mac



Introduction

Xming x server for mac free download. Xming X Server for Windows Xming is the leading X Window System Server for Microsoft Windows 8/7/Vista/XP (+ server 2012/2008/2. Run Xming on your PC to start the X server. You should see the Xming icon in the taskbar if it is running (although you may have to click the little arrow in the taskbar to see it) Run PuTTY and set things up as follows: - Enter the server name in Host Name (eg. Silo.sice.indiana.edu) - Make sure the Connection type is set to SSH - Enable X11.

LINUX! This word generally invokes the memory of a white-on-black command line terminal in most of us. This notion is partly down to our first experience with the system and partially due to the abundance of these systems used as headless servers. But lately, this fallacy has started to diminish as many users have started to use Linux as their primary drivers using GUI based display.

If you take a quick peek at the new desktop environments available in Linux, you will find many similarities between these and Windows desktop. Desktop environments (DE) like KDE Plasma & Gnome has come a long way since their inception in 1997 and have features compatible (and in some case better) than the Windows desktop environment. But this does not mean both Windows & Linux desktop environments run on the same principles. Linux DE’s are based on the X-windows system commonly referred to that X11.

Enter the X-Windows System (X11)

X forwarding with Xming This tutorial will cover how to forward X11 applications from a remote Unix/Linux host to a local Windows machine. On a Unix/Linux machine, you can run remote applications via XForwarding with something like: ssh -X [email protected] 'gimp'. In order to get this same functionality on a Windows machine, we need to. X Forwarding in Windows Using Mobaxterm. If you are using Mobaxterm there is no need to install any X server as it is already included with Mobaxterm. There is nothing else you need to do (ignore the information provided below). X Forwarding in Windows using Xming and PuTTY. Install Xming - Look for something similar to 'Download Xming-6-9-0-31.

X11 is an architecture-independent system for remote graphical user interfaces and input device capabilities. The main takeaway here from the definition is its meant for ‘remote’ implementations. Meaning the interface can be accessed by network resources as well. And this is what sets it apart, it enables us to access UI of any application running on a remote Linux machine without any external dependencies like RDP.

As Wikipedia puts it: Unlike most earlier display protocols, X was specifically designed to be used over network connections rather than on an integral or attached display device. X features network transparency, which means an X program running on a computer somewhere on a network (such as the Internet) can display its user interface on an X server running on some other computer on the network.

Unlike the client-server architecture we are used to, the server here is the machine which is being used by the user and the client is the machine where the application is executed. So, any application which is installed on a Linux machine can be accessed by a machine running the X Server. And this is what forms the base of our implementation to access application Gui on remote without using RDP / VNC.

Access GUI using X11 from anymachine/OS

Server

As mentioned earlier, GUI of any Linux application can be accessed and interacted with using X11. All Linux desktop environments come preinstalled with all the client-side tools and API’s needed for this connectivity. The only change needed is to enable and configure these options. The following are the quick steps needed:

(Note: Forkeeping things simple we are going to bypass some security features/commands inthe bellow steps. But there are inbuilt features available which you canconfigure to harden the implementation)

Mac

Enable X11 forwarding on Linux

Open the file /etc/ssh/sshd_config using your favorite text editor and uncomment the following lines

There is a plethora of options you can configure in this file like enable forwarding per user basis, etc. But basically, the configuration allows the traffic to be forwarded over to the workstation from this host.

Connect and Run

As mentioned earlier the server component of the implementation resides on your workstation hence implementation varies depending on the operating system you use. But basic steps always remain the same which are:

  1. Install the X Windows System Server (X display manager)
  2. Enable X11 forwarding on SSH connection
  3. Connect using SSH and execute the command to run the program

To run the above in a Linux workstation is extremely simpleas it already has a display manager installed.

Connecting using Windows

In case of Windows, we need to install a few programs to make it work. The following provides a summary of steps

Install ‘Putty’

  1. Putty is a client program which helps us toconnect to Linux machines using SSH
    1. Putty can be downloaded from this location.

Install Xming

  • This is a free standalone, portable X WindowsSystem Server
    • Xming can be downloaded from thislocation.

Configure & run Xming

  • When you install Xmlng 2 components get installed one is Xlauncher and another is Xming.
  • We need to start Xlauncher which is a simple wizard. You can keep all the default configurations and save the configuration.
  • Once done you can run Xming. If successful you will notice an “X” icon in the taskbar.

Connect and run the application

  • Start Putty and enter the IP address of the Linux host.
    • Move to Connection > SSH > X11 section in the ‘Category’ menu of Putty and enable X11 forwarding
    • Click open and on console open the application of your choice
    • The application will be opened on the screen and you can interact with it like any other application on your workstation.

As you can see this is a very simple yet powerful tool for admins and developers alike. With the advent of application and VM deployment on cloud environments, this can be a very handy tool to manage and control servers without depending on bloated VNC servers or xRDP implementation which can be a pain to configure and maintain.

About Rohan Wadiwala

Rohan is a Solution Architect for MS Stack in Sogeti India Microsoft Practice & Sogeti Europe. He has 13 years of professional experience with 4 years in Architect role covering all aspects of software life cycles on Microsoft & DevOps platform. Rohan is actively involved in absorption of review of new technologies including Docker, Azure, etc. Solution Architecting: Involved in Solution Estimation, RFP response for .Net projects across various industry verticals.

Xming server for linux

More on Rohan Wadiwala.

Related Posts

Skip to end of metadataGo to start of metadata

It is common for users of the Luddy School Linux systems to want to run graphical applications (such as matlab, mathematica, vivado, etc) on these Linux servers and display them on their local computers. This document details the steps required to do this using the IU Research Desktop (RED) as well as alternative options for Mac, Windows, and Linux systems.

The Research Desktop (RED) at IU on the IU Carbonate system is the recommended method of running such graphical programs. This page gives information about how to get started using RED but see the UITS RED KB page for more detailed information.

  1. Create your Carbonate account - In order to use RED you must have a Carbonate account. If you do not yet have an account, go to https://access.iu.edu/Accounts/Create. If you have the option to select that account you will see something like this:
    Please contact us if you do not have the option to create the Carbonate account and you don't already have one (you can list your current accounts at https://access.iu.edu/Accounts).
    When you select the Carbonate account to create, you will be required to fill out the request form that will look like this:
    Just fill that in appropriately based on the work you will be doing. In general, for CS classes or research you can select:
    1. Primary Discipline: Informatics, Library Science, and Computing
    2. Primary Sub-Discipline: Computer Science
    3. Check both 'I will' boxes
    4. You will NOT be accessing FERPA restricted data (if you will, please contact us)

    Once you submit your request, you should get an email within about an hour with the subject Carbonate Account Created indicating the account is ready to go.
  2. Log Into RED - Once the Carbonate account is created, you can log in at:

    When you log in, you should see the RED desktop that will look like this:

    Note that the RED web interface is not the only option, albeit a convenient and easy to use one. You can also use it via the ThinLinc client per Download, install, and configure ThinLinc Client to use Research Desktop (RED) at IU.
  3. Bring up the Terminal Application - From the RED desktop, double-click on the terminal application:
  4. Log into the Desired Server - From the terminal application, you can log into the server of choice by running something like:
    ssh -X silo.sice.indiana.edu

    Replace silo.sice.indiana.edu with the server of choice. The terminal application and ssh will look something like this:

  5. Run the Application - Once you are logged into the linux system of choice (eg. silo) just run the command for the desired application (eg. matlab, vivado, etc) at the terminal prompt and it will be displayed on the RED desktop. For example, if you wanted to run matlab:
    Replace 'matlab' with whatever application you want to run (eg. vivado, emacs, etc).
  6. Log Out or Disconnect - There are two icons on the RED desktop you can use as follows:
    1. Disconnect ThinLinc Session - This keeps your session and applications up and running so you can log in later to reconnect. Please use this only if you need to keep the session active.
    2. Log Out - This will close all running application and end your session entirely. Please note that ThinLinc is a licensed product with a limited number of licenses available. Please be a good citizen and log out when you are done to free resources.

For more details about the Research Desktop, a good starting point is the UITS KB page About Research Desktop (RED) at IU.

While we strongly recommend using the Research Desktop (RED) as described above, there are other operating system specific options that you can use.

Xming X Server For Mac

Mac OS X

  1. Install XQuartz on your Mac, which is the official X server software for Mac
  2. Run Applications > Utilities > XQuartz.app
  3. Right click on the XQuartz icon in the dock and select Applications > Terminal. This should bring up a new xterm terminal windows.

  4. In this xterm windows, ssh into the linux system of your choice using the -X argument (secure X11 forwarding). For example, to log into silo.sice.indiana.edu you would run something like:
    ssh -X [email protected]
    A very small number of applications may require the use of -Y instead of -X but we recommend only using -Y if -X fails for the application you are using.
  5. Once you are logged into the linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your Mac.
  1. Install the Xming software.
  2. If you have not already done so, download putty.exe from the PuTTY site and install it.
  3. Run Xming on your PC to start the X server. You should see the Xming icon in the taskbar if it is running (although you may have to click the little arrow in the taskbar to see it)
  4. Run PuTTY and set things up as follows:
    - Enter the server name in Host Name (eg. silo.sice.indiana.edu)
    - Make sure the Connection type is set to SSH
    - Enable X11 forwarding (Connection > SSH > X11)
  5. Log in using your normal IU username and passphrase
  6. Once you are logged into the linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your PC.
  1. ssh into the linux system of your choice using the -Y argument (secure X11 Forwarding). For example, to log into silo.sice.indiana.edu you would run something like:
    ssh -X [email protected]
    A very small number of applications may require the use of -Y instead of -X but we recommend only using -Y if -X fails for the application you are using.
  2. Once you are logged into the remote linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your Mac.
Xming x server for mac

It is also possible to run graphical programs remotely using VNC. This is a popular tool that lets you run a VNC server on the remote linux server and connect to it using a VNC client on your local system. There is more information about this option in Using VNC via ssh tunneling.

We do not recommend using this approach and RDP support on the linux systems may disappear at any time. Please consider the Research Desktop (RED) as the long term option.

The methods listed above are recommended because they put the least amount of load on the servers and should provide adequate performance. However, there is an alternate method using RDP (Remote Desktop) that will work on some of our Linux servers. For those systems you can connect using the native Remote Desktop client (Windows), the Microsoft Remote Desktop App (Mac OS X), or either xfreerdp or rdesktop (Linux). You will get a full GUI desktop using this method so you can start any GUI application you need. The downside of this approach is that since you are running a full GUI desktop it puts much more load on the server and your performance may suffer. For that reason, we urge you to use other options only use RDP as a last resort if those do not work for you.

Xming X Server For Mac Catalina