Home » Linux tips » 11 March 2019 » 1,695 supporters » One Comment »

Clussterssh cannot connect

11 March 2019 1,695 supporters One 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
zypper in xhost




One Comment »

  • Bobby Deberg said:

    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 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.