Select Page

XMing Disappears when Connecting To Server – What’s XMing?

Author: Christian Screen | 4 min read | August 4, 2010

Let it be know that when it comes to X Windows technology and connecting a from Windows workstation to a remote Linux/Unix machine, my support goes to XMing.  Now that is not to say that XMing doesn’t have its issues like all other XWindow client technologies.  But it is clean, it offers a nice install package and provides, in the world of open source, very good documentation.  And as a real quick refresher for those that don’t do much Linux or Unix, it is a best practice to lock down your servers and limit connectivity only to those that really need access. That being said, Linux and Unix when being installed have the option of being installed with a GUI interface for the OS or not.  Often times the really astute (geeky) IT pros select the latter and no GUI access is available.   More to the point, in order to install such software as required by Oracle and some other software teams, only a GUI interface such as the Oracle Universal Installer, is available. To accomplish the install on the remote computer from a Windows workstation you need an X Windows client, such as XMing.

Confronted the other day with just such an install, Oracle client and the Datawarehouse Administration Console (DAC), I put my good friend XMing to work.  Let’s talk about that for a moment.  When using XMing, I choose to use it with a solid telnet tool that we all know and love, PuTTy.  PuTTy basically has a setting to forwards the X11 (X Windows) from your remote session to your local/workstation machine.  Ultimately connecting is accomplished in a few steps:

  1. Set the DISPLAY var of your remote user profile to the IP of the machine/workstation you are remoting from. many examples on the web show “localhost” but if you are conducting a VPN session to a remote Windows server then you may not be able to get away with just localhost and will need to enter the exact IP of that machine on the network.  For example, if you workstation you are on has an IP of then enter that IP address suffixed with “:0.0” (e.g.: in the DISPLAY var of your remote user profile.  Also enter this in the “X Display Location” of your PuTTy session.
  2. Execute the command xhost + and/or xhost + IP address
  3. Before you need to run a GUI program from the remote linux/Unix machine, launch XMing’s XLaunch application.
    • As a gotcha to this, you may need to select the option to enable “No Access Control” in order to by pass connectivity errors from the workstation rejecting requests from the remote server.

Recently my need to install the Datawarehouse Administration Console (DAC) cause me issues on a VPN session for a remote connect to a Linux server.  Ultimately after completing the above major steps in initiating an X Windows session, the when I ran the installer command for the software, the X Windows session would start and disappear.   It would stay visible just long enough for the OUI (Oracle Universal Installer) to start and haphazardly enough when I clicked the “Next” button to continue the install the X Window would close as would the XMing application.  I checked the logs and the logs only noted successfully connectivity and GUI transfer from the remote machine.  No errors were in the log.

Ultimate what fixed the issue was for me to launch a session of the XLaunch application and before I ran the installer command from the remote PuTTy session window, I right clicked on the Windows Taskbar icon for XLaunch and opened the log file.  I left the log file open and then executed the install command in my PuTTy session.  Somehow some way the X Window and the GUI remote install stayed alive  and I was able to complete the installation.  I think that somehow the XMing application was getting hit with some exception that would otherwise cause it to abend but due to the log file being open, the main application could not close.  Or, something like that.  I was using XMing version for this implementation.

Oracle BI Publisher (BIP) Tips: Functions, Calculations & More

Check out these BI Publisher tips including functions & calculations so you can understand more about the production and support of BI Publisher reports.

Sherry Milad | January 15, 2018

How to Index a Fact Table – A Best Practice

At the base of any good BI project is a solid data warehouse or data mart.

Christian Screen | March 16, 2010

Qlik vs. Tableau vs. Power BI: Which BI Tool Is Right for You?

Tableau, Power BI, and Qlik each have their benefits. What are they and how do you choose? Read this blog post for a quick analysis.

Tom Hoblitzell | June 6, 2019

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.


Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.