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
zypper in xhost

2 thoughts on “Clussterssh cannot connect”
  1. Do you have a spam problem on this site; I also am a blogger, and I was wondering your situation; we have created some nice methods and we are looking to swap solutions with other folks, be sure to shoot me an e-mail if interested.

Leave a Reply

Your email address will not be published. Required fields are marked *