Add the following lines to ~/.profile on WSL2 Ubuntu (create file if it doesn't yet exist):Įxport DISPLAY=$(awk '/nameserver / ' /etc/nf 2>/dev/null):0. Windows: Eclipse shortcut using direct XServer connection: Double-click the shortcut if all is well you should see the Eclipse UI after a couple of seconds.Create a new shortcut that runs the following command:Ĭ:\Windows\System32\cmd.exe /c "C:\\plink-silent.cmd -batch -X -i ~/eclipse/eclipse".Copy silent.vbs and plink-silent.cmd (see attached files) to the directory where PLink.exe is installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |