1

sudo putty fails with:

Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
(putty:2153): Gtk-WARNING **: cannot open display: :0

putty fails with

Segmentation fault (core dumped)

I uninstalled and purged putty.
After reinstalling the errors remain.

Zanna
  • 70,465
Don C.
  • 11
  • 1
    First, there is NO REASON to run PuTTy as root !!! . Just run putty as your regular user. Second see https://askubuntu.com/questions/961967/why-dont-gksu-gksudo-or-launching-a-graphical-application-with-sudo-work-with-w/961975#961975 – Panther Oct 28 '17 at 01:55
  • @Panther Only tried it as root to see if I could get something more than the Segmentation Fault error message. – Don C. Oct 28 '17 at 02:09

1 Answers1

0

PuTTy requires the Xorg options to be selected when logging in. Answer was detailed in:

How do you switch from Wayland back to Xorg in Ubuntu 17.10?

Thanks

Don C.
  • 11