Xmanager Knowledge Base

I get "localhost:12.0 broken (explicit kill or server shutdown)." when launching an application from Xshell

Last modified: Friday, September 4, 2009 12:10 AM

PROBLEM DESCRIPTION
When you launch an X application such as Matlab or Catia from Xshell, you get the following error message and the application fails to start:  

X connection to localhost:12.0 broken (explicit kill or server shutdown).


RESOLUTION

The problem may occur when the X application initiates multiple instances with Xmanager before launching the main program and the "Terminate at reset" option is enabled on Xmanager.

To resolve this problem, disable 'Terminate at reset' option. To do so, please follow the instruction below:
  1. Open Properties of a Xconfig profile.
  2. In the General tab, uncheck Terminate at reset option.
  3. Click Settings of Window Mode.
  4. In Window Mode Settings dialog box, click the Multiple Window Mode tab.
  5. In the Window Manager list box, select Local Only.
  6. Click OK.

Note: You should use Local Only for the Window Manager option when using Matlab.