Site icon https://inertz.org

Clussterssh cannot connect

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

Exit mobile version