I have Linux on Raspi I have set up a while ago, and have been using it via ssh with X server. Lately, it became clear that Raspi cannot handle the apps I am developing and I've switched to WSL on a secondary laptop.
Current use case: Using Putty and X-serv on my main machine (WIN7), SSH into another laptop (WIN10) on the same network with Linux installed on WSL.
I use two IDEs (Anjuta and Codeblocks) to develop a GUI app.
I've added yesterday a new non-root user to WSL, tried to make X-serv work for the new user and messed around with xauth and ./Xauthority file. Gave up in frustration and successfully managed to run my IDEs and app as the root user.
Today, root again, the following happened:
First try:
- start Anjuta: runs in X-window
- start Codeblocks: "Putty X11 proxy: Authorisation not recognised" error
- close all windows
Second try:
- start Anjuta: runs ok
- run code in Anjuta: "Putty X11 proxy: Authorisation not recognised" error
- close all
Third try:
- start Anjuta: runs ok
- run code in Anjuta: the app is executed in a new X-window
- start Codeblocks: "Putty X11 proxy: Authorisation not recognised" error
- close all
Forth try:
- start Anjuta: runs ok
- start Codeblocks: runs ok
- run code in Anjuta: "Putty X11 proxy: Authorisation not recognised" error
Question: Why is X-server intermittently refusing the connection and how can I fix it?
Many thanks!