"If you can't use cpan any more because there are incompatible modules in you path, you can remove all installed modules by hand. For example, I upgraded from Fedora 22 to Fedora 23 and the Perl version changed. All modules installed previously via cpanm into /usr/local/lib64/perl5did not work any more and prevented me from using cpanm.
$ cpanm --uninstall Apache::
DBI
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/share/perl5/vendor_perl/File/Temp.pm line 18.
...
I could solve this by moving that directory:
$ mv /usr/local/lib64/perl5 /root/usr-local-lib64-perl5
The name of that directory may vary on your system.”
After I rebooted the Mac and installing XQuartz I was able to get in but just got this warning:
You have enabled Remote Printing or File Sharing.
These features require a running and functioning SSH server on your computer.
Printing and File Sharing will be disabled for this session.
Please also check the Clientside SSH port in the general settings.
The SSH server failed to start.
X2Go Client did not detect a globally running SSH server on your machine and was unable to start its own.
Please report a bug on:
Disabling Remote Printing or File Sharing support in the session settings will get rid of this message.