Open sushimon opened 1 month ago
Did you also install an X server like Xming or Vcxsrv?
Putty doesn’t work alone. I only used putty to get it to work on teach CS, but if I do it locally, only an X server is needed.
If you already have an X server installed and it's running in the background. Then, to set the DISPLAY variable in windows, you can run this in the command line:
export DISPLAY="$(grep nameserver /etc/resolv.conf | sed 's/nameserver //'):0"
This is only to get it to work locally. For teach CS, you don't need to do this, putty does it for you.
These are the resources I used when I was trying to find a solution, if it helps:
I downloaded Vcxsrv and have it running in the system tray but still no luck. I get the following error message
Authorization required, but no authorization protocol specified X11: Failed to open display X.X.X.X:0The GLFW library is not initializedThe GLFW library is not initializedThe GLFW library is not initializedSegmentation fault (core dumped)
I haven't gotten this error before, but I tried googling and found this:
If you can't find a solution, maybe teach CS won't require authorization?
Hi,
As the title says, I've tried a student's suggestion with using putty with x11 forwarding to try to get it working on teach.cs with no luck. I've also installed all the linux packages in the readme for WSL but it doesn't work either even after setting my DISPLAY variable (it either seg faults or runs but no display shows up). Any help is appreciated