Xshell Forum
X connection to localhost:10.0 broken ...
Last post: Tuesday, January 5, 2010 11:19 PM by , 5 replies
REPLY
WRITE
Thursday, February 16, 2006 12:53 PM by 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.
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.
Tuesday, November 3, 2009 12:28 AM by 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
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 11:19 PM by 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
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