PuTTY X11 proxy: Unsupported authorisation protocol Ubuntu

June 27, 2018 9.1k views
Getting Started Ubuntu 18.04

PuTTY X11 proxy: Unsupported authorisation protocol
(google-chrome-stable:15589): Gtk-WARNING **: 02:14:10.555: cannot open display: localhost:10.

I’ve wasted a lot of time trying things;

  • ln .Xauthority / home / user Xming is working, I connect with PuTTY-SSH, I have modified the sshd_config file decomposing:

AddressFamily inet
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

I need help please.

1 comment
  • Linked the file / home / user / .Xauthority in root.
    I connect via PuTTY-SSH and Xming is active.
    PuTTY is configured with “Enable X11 forwarding” and “X display location: localhost: 0.0 or”.
    Everything seems correct.
    I installed google-chrome on my server, but when I run the “google-chrome-stable” or “google-chrome” commands it throws this error.
    What is going wrong?

1 Answer

I finally found the problem; I connected from PuTTY-ssh as root user, then changed user with “su - frank” and launched this error. The solution is to connect directly with the frank user from PuTTY-ssh.

Happy day.

Have another answer? Share your knowledge.