Home » Linux tips » 23 January 2018 » 569 supporters » No Comment »

Clussterssh cannot connect

23 January 2018 569 supporters No Comment

When using clusterssh sometime cannot connect to cssh due to recent upgrade.

gatekeeper@localhost:~> cssh
Connection to server failed — (version 11.0)
No protocol specified
at /usr/lib/perl5/vendor_perl/5.26.1/App/ClusterSSH.pm line 1983.
gatekeeper@localhost:~> echo $DISPLAY
:1
gatekeeper@localhost:~> su
Password:
localhost:/home/gatekeeper # xhost +
access control disabled, clients can connect from any host
localhost:/home/gatekeeper # echo $DISPLAY
:1
localhost:/home/gatekeeper # cssh
Created new configuration file within $HOME/.clusterssh/
localhost:/home/gatekeeper #

If you encounter error similar like;

Can’t connect to display `unix:1′: No such file or directory at /usr/local/share/perl5/X11/Protocol.pm line 2264.

Do the following;

export DISPLAY=localhost:1.0

 




Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.