Last active
January 6, 2021 02:08
-
-
Save LAK132/fcc946f848f9ed87dbef289f2d30096d to your computer and use it in GitHub Desktop.
Revisions
-
LAK132 revised this gist
Jan 6, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ ifneq ($(shell grep -a -h -i microsoft /proc/version),) # // For use on Windows (WSL) with cygwinX # // Requires xinit, xauth and xhost probably # // Start the X11 server with `path\to\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin -- +iglx -listen tcp"` # // If you get "Authorization required, but no authorization protocol specified" # // then try running `DISPLAY=:0.0 xhost +` in the cygwin terminal after # // starting the X11 server. DISPLAY = "`cat /etc/resolv.conf | grep nameserver | awk '{ print $$2 }'`:0.0" LIBGLARGS = LIBGL_ALWAYS_INDIRECT=1 LIBGL_ALWAYS_SOFTWARE=1 endif DISPLAYARGS = DISPLAY=$(DISPLAY) $(LIBGLARGS) -
LAK132 revised this gist
Jan 5, 2021 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ ifeq ($(shell grep -a -h -i microsoft /proc/version),) DISPLAY = else # // For use on Windows (WSL) with cygwinX # // Requires xinit, xauth and xhost probably # // Start the X11 server with `path\to\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin -- +iglx -listen tcp"` # // If you get "Authorization required, but no authorization protocol specified" # // then try running `DISPLAY=:0.0 xhost +` in the cygwin terminal after # // starting the X11 server. DISPLAY = "`cat /etc/resolv.conf | grep nameserver | awk '{ print $$2 }'`:0.0" endif -
LAK132 revised this gist
Jan 5, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ DISPLAY = else # For use on Windows (WSL) with cygwinX # Requires xinit, xauth and xhost probably # Start the X11 server with `path\to\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin -- +iglx -listen tcp"` # If you get "Authorization required, but no authorization protocol specified" # then try running `DISPLAY=:0.0 xhost +` in the cygwin terminal after # starting the X11 server. -
LAK132 revised this gist
Jan 5, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ DISPLAY = else # For use on Windows (WSL) with cygwinX # Requires xinit, xauth and xhost probably # Start the X11 server with `path\to\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin -- +iglx -nowgl -listen tcp"` # If you get "Authorization required, but no authorization protocol specified" # then try running `DISPLAY=:0.0 xhost +` in the cygwin terminal after # starting the X11 server. -
LAK132 created this gist
Oct 15, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ifeq ($(shell grep -a -h -i microsoft /proc/version),) DISPLAY = else # For use on Windows (WSL) with cygwinX # Requires xinit, xauth and xhost probably # Start the X11 server with `path\to\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin -- -listen tcp"` # If you get "Authorization required, but no authorization protocol specified" # then try running `DISPLAY=:0.0 xhost +` in the cygwin terminal after # starting the X11 server. DISPLAY = "`cat /etc/resolv.conf | grep nameserver | awk '{ print $$2 }'`:0.0" endif