X connection to localhost:10.0 broken ... [5]

X connection to localhost:10.0 broken ...

Thursday, February 16, 2006 12:53 PM - B. Marchand

When I run a regular xterm using Xmanager, I am able to run all X applications, including Matlab. However, if I run the Xshell 2.0 instead, I can open most X applications, except for Matlab which gives me the following error

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

What is the difference? Why am I able to run it from an xterm but not through an xshell?


Thanks.


Re: X connection to localhost:10.0 broken ...

Thursday, February 16, 2006 3:12 PM - Andrew Jackson

First open an xterm window, and then launch Matlab from the xterm window.





Re: X connection to localhost:10.0 broken ...

Friday, October 30, 2009 2:39 AM - shah

there is no working..any other solution?your opinion are really appreciated tq..


Re: X connection to localhost:10.0 broken ...

Tuesday, November 3, 2009 12:28 AM - Support

X connection to localhost:10.0 broken

The message above is received when X application fails to connect to PC X server, Xmanager.

The common reasons that may cause connection failure to PC X server are the following:

1. PC X server is not installed: After installing Xmanager, set "Forward X11 connections to Xmanager"(Properties -> Tunneling -> X11 Forwarding).

2. When switched to a different user using su command, X11 authentication cookie cannot be accessed.

Please describe your problem in more detail for further assistance.

---
Technical Support


Re: X connection to localhost:10.0 broken ...

Tuesday, January 5, 2010 7:51 PM - Leolch

Hi,

I got this problem as well.
I'm using su command to another user and not able to x windows and got the same error?
Any solutions?
Please advise.

Thank you very much.
Regards,
Leo


Re: X connection to localhost:10.0 broken ...

Tuesday, January 5, 2010 11:19 PM - Fedore

I got this from the web:

The authority is propagated. Once you switch user to root s broken and you must manually create the xauthority. This behaviour is controlled by pam_xauth, and apparently you can make it automatic for root to forward the xauth key to a user by creating a file /root/.xauth/export and adding the allowed users to it, see

http://www.kernel.org/pub/linux/libs...pam_xauth.html


Previous views: 904