Home » Linux tips » 9 October 2018 » 771 supporters » No Comment »

Clussterssh cannot connect

9 October 2018 771 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

*If you install clusterssh inside Windows subsystem for Linux don’t forget to install Xserver and Xterm.

zypper install xorg-x11-server
zypper in xterm




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.