Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 44795  / 2 Years ago, sat, december 4, 2021, 2:17:11

I am using putty from windows vista to connect to ubuntu server and run my qtcreator using Xming.



I am able to log-in into the server, but I am unable to run qtcreator. the following message appears:



PuTTY X11 proxy: wrong authorisation protocol attempted
PuTTY X11 proxy: wrong authorisation protocol attempted
PuTTY X11 proxy: wrong authorisation protocol attempted
PuTTY X11 proxy: wrong authorisation protocol attempted
qtcreator: cannot connect to X server localhost:10.0


so, I search on the net and I found this link, and I tried to follow the answer. however, when I execute xauth list nothing is shown.



accordingly, xauth list command should return me the key (and I dont know what this key is). this key should be added later to xauth. eventually everthing shouold go fine and I should be able to run qtcreator.




  • so, in plain english, why this error happens ?

  • and why xauth is not returning anything ?

  • and finally what is this key ?


More From » putty

 Answers
1

I fixed the problem which was very simple:



There wasn't enough disk-space on the server. Thus, when Xming attempts to create the .Xauthority file it fails (i.e.: since this file is being created every time a particular application is lunched, e.g.: qt-creator, it fails to override the old version of itself which can still be seen when listing the files using ls) ..



So, after simply removing all unnecessary big files and creating space for the Xming on the disk, I am able to see qt-creator again on my local machine ..


[#30653] Saturday, December 4, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
vigorousom

Total Points: 394
Total Questions: 96
Total Answers: 110

Location: Pitcairn Islands
Member since Fri, Oct 15, 2021
3 Years ago
;