Xshell Forum

X connection to localhost:10.0 broken ...

Last post: Tuesday, January 5, 2010 11:19 PM by Fedore, 5 reply

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

X connection to localhost:10.0 broken ...

 
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.
Thursday, February 16, 2006 3:12 PM - Andrew Jackson

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

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



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

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

 
there is no working..any other solution?your opinion are really appreciated tq..
Tuesday, November 3, 2009 12:28 AM - Support

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

 
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
Tuesday, January 5, 2010 7:51 PM - Leolch

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

 
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
Tuesday, January 5, 2010 11:19 PM - Fedore

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

 
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