%3CLINGO-SUB%20id%3D%22lingo-sub-1495421%22%20slang%3D%22zh-CN%22%3EReply%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1495421%22%20slang%3D%22zh-CN%22%3E%3CP%3EI'r%20dweud%20an%20error%20error%20re-referencing%20this%20article.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E(gedit%3A10261)%3A%20Gtk-WARNING%3A%2015%3A32%3A39.217%3A%20cannot%20open%20display%3A%20172.21.16.1%3A0%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1496132%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1496132%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20the%20feedback%20Fan%20Su.%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20using%20both%20the%20approaches%20described%20here%2C%20i.e.%2C%20using%20XServer%20and%20%3CSTRONG%3Exfce4%3C%2FSTRONG%3E%2C%20probably%20gedit%20is%20already%20opened%20in%20the%20xfce4.%20Please%20switch%20to%20xfce4%20and%20close%20the%20opened%20Apps%20or%20do%20a%20sign%20out%20to%20close%20the%20Apps.%20Please%20let%20me%20know%20if%20it%20helped.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1496311%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1496311%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20I%20saw%20the%20first%20picture%2C%20I%20thought%20it%20is%20Windows%20NT%20or%20older%20version%20of%20Windows.%3C%2FP%3E%0A%3CP%3EI%20believe%20know%2C%20Linux%20users%20could%20just%20work%20inside%20Windows.%3C%2FP%3E%0A%3CP%3EHowever%2C%20be%20very%20careful%20about%20security%20because%20in%20this%20case%20vulnerabilities%20in%20Linux%20could%20affect%20Windows%20%2C%20so%20be%20careful%20and%20make%20sure%20you%20always%20have%20the%20latest%20update.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1501549%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501549%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F42853%22%20target%3D%22_blank%22%3E%40Fan%20Su%3C%2FA%3E%26nbsp%3Bplease%20don't%20hesitate%20to%20send%20me%20a%20step-by-step%20so%20I%20can%20try%20to%20help%20you.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3EI%20faced%20this%20once%2C%20but%20for%20me%20this%20happened%20because%20I%20forgot%20some%20Apps%20opened%20in%20the%20xrdp%20session.%20%3A(%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3EBy%20your%20error%20message%2C%20I%20am%20assuming%20that%20the%20%24DISPLAY%20environment%20variable%20is%20correctly%20set%2C%20as%20it%20has%20a%20value.%20Other%20thing%20that%20you%20could%20try%20to%20do%2C%20is%20to%20restart%20the%20XLauncher%20App.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20that%20it%20helps!%3C%2FP%3E%0A%3CP%3EBest%20Regards!%20Luis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1500811%22%20slang%3D%22zh-CN%22%3EReply%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1500811%22%20slang%3D%22zh-CN%22%3E%3CP%3EThank%20you%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%20.%20I%20have%20tried%20to%20access%20access%20via%20xrdp%20but%20log%20in%20an%20account%20password%20and%20automatic%20exitally.%20I%20think%20I%20gave%20up.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1519459%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1519459%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20do%20I%20configure%20this%20if%20I've%20done%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWSL%2Fissues%2F4150%23issuecomment-656407014%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etweak%20to%20configure%20bridge%20mode%20in%20WSL%202%3C%2FA%3E%3F%20The%20value%20returned%20from%20my%20%2Fetc%2Fresolv.conf%20is%20no%20longer%20auto%20generated%20by%20WSL%20and%20instead%20set%20to%20run%20directly%20off%20my%20network.%20Using%20localhost%20or%20the%20LAN%20IP%20of%20my%20host%20windows%20for%20the%20DISPLAY%20value%20has%20not%20worked.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEDIT%3A%20Scratch%20that%2C%20after%20creating%20this%20sacrificial%20post%20to%20guarantee%20my%20next%20attempt's%20success%2C%20using%20the%20LAN%20IP%20(with%20just%20%3A0%20at%20the%20end%20instead%20of%20%3A0.0)%20and%20disabling%20access%20control%20makes%20it%20work!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1532460%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1532460%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20run%20GUI%20applications%20on%20my%20WSL%20terminal%20but%20I%20get%20this%20error%3A%26nbsp%3BError%3A%20Can't%20open%20display%3A%20172.28.160.1%3A0%3C%2FP%3E%3CP%3EI%20noticed%20someone%20else%20was%20having%20the%20same%20issue%2C%20I%20tried%20reinstalling%20VcXrsv%2C%20but%20I%20still%20get%20the%20same%20error.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20running%20Windows%2010%20version%202004%20(OS%20Build%2019041.388)%3C%2FP%3E%3CP%3EUbuntu%2020.04%3CBR%20%2F%3EWSL%20Version%202%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EStep%20by%20Step%20of%20What%20I'm%20doing%3A%3C%2FP%3E%3COL%3E%3CLI%3ELaunching%20VcXrsv%3COL%3E%3CLI%3ESelecting%20Multiple%20Windows%3C%2FLI%3E%3CLI%3ESetting%20Display%20number%20to%20-1%26nbsp%3B%3C%2FLI%3E%3CLI%3EPress%20Next%3C%2FLI%3E%3CLI%3ESelecting%20%22Start%20no%20client%22%3C%2FLI%3E%3CLI%3EPress%20Next%3C%2FLI%3E%3CLI%3EChecking%20%22Disable%20access%20control%22%3C%2FLI%3E%3CLI%3EPress%20Next%3C%2FLI%3E%3CLI%3EPress%20Finish%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3EOpening%20Ubuntu%3COL%3E%3CLI%3ERun%20Command%3A%26nbsp%3Bexport%20DISPLAY%3D%22%60grep%20nameserver%20%2Fetc%2Fresolv.conf%20%7C%20sed%20's%2Fnameserver%20%2F%2F'%60%3A0%22%3C%2FLI%3E%3CLI%3ERun%20Command%3A%20echo%20%24DISPLAY%3COL%3E%3CLI%3EUbuntu%20Terminal%20Outputs%3A%20172.28.160.1%3A0%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3ERun%20Command%3A%20xeyes%26nbsp%3B%3COL%3E%3CLI%3EI%20get%20the%20error%3A%26nbsp%3B%20Error%3A%20Can't%20open%20display%3A%20172.28.160.1%3A0%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUPDATE%3A%20Just%20fixed%20it.%20I%20went%20into%20Windows%20Firewall%20and%20gave%20VcXrsv%20an%20exception%20to%20both%20public%20and%20private%20networks.%20Thank%20you%20for%20writing%20this%20tutorial%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%26nbsp%3B!!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1503723%22%20slang%3D%22en-US%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1503723%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%26nbsp%3B%2C%20Thank%20you%20a%20lot.%20I've%20reinstalled%20the%20VcXsrv%20and%20it's%20working%20now.%26nbsp%3BBut%20there%20are%20still%20some%20minor%20problems%2C%20such%20as%20network%20access%20failures%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snipaste_2020-07-03_17-51-40.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F203081iAA8E8FA5952101E8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Snipaste_2020-07-03_17-51-40.png%22%20alt%3D%22Snipaste_2020-07-03_17-51-40.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20RDP%20login%20still%20has%20a%20problem%2C%20enter%20the%20account%20password%20will%20be%20ejected%20and%20no%20error%20message.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1533817%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1533817%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20very%20much%26nbsp%3B%3CA%20id%3D%22link_22%22%20class%3D%22lia-link-navigation%20lia-page-link%20lia-user-name-link%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F733476%22%20target%3D%22_self%22%3E%3CSPAN%20class%3D%22%22%3E%3C%2FSPAN%3E%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F733476%22%20target%3D%22_blank%22%3E%40akamal816%3C%2FA%3E%26nbsp%3Bfor%20your%20feedbacks%20and%20the%20detailed%20information!%20I%20am%20really%20glad%20that%20you%20made%20it%20work!%20I%20will%20update%20the%20post%20with%20this%20information.%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534175%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534175%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20followed%20all%20of%20the%20steps%20as%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F733476%22%20target%3D%22_blank%22%3E%40akamal816%3C%2FA%3E%26nbsp%3B%2C%20including%20adding%20firewall%20exceptions%2C%20but%20am%20still%20running%20into%20%60Error%3A%20Can't%20open%20display%3A%20172.28.160.1%3A0%60.%20I%20have%20confirmed%20that%20VcXsrv%20is%20running%20and%20working%20enough%20to%20start%20xcalc%20from%20the%20windows%20tray%20menu.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*%20I've%20confirmed%20in%20ipconfig%20that%20this%20is%20the%20correct%20IP%20address%20for%20WSL.%3C%2FP%3E%3CP%3E*%20I've%20tried%20completely%20disabling%20my%20firewall%20in%20case%20the%20rules%20were%20off.%3C%2FP%3E%3CP%3E*%20I've%20tried%20a%20handful%20of%20other%20configurations%20of%20VcXsrv%2C%20including%20adding%20the%20-ac%20option%20I've%20seen%20suggested%20in%20other%20locations.%3C%2FP%3E%3CP%3E*%20I've%20tried%20reinstalling%20VcXsrv.%3CBR%20%2F%3E*%20I've%20tried%20rebooting%20WSL.%20I'm%20trying%20to%20avoid%20wiping%20%26amp%3B%20reinstalling.%3CBR%20%2F%3E*%20I've%20tried%20rebooting.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20do%20not%20have%20a%20deep%20enough%20understanding%20of%20these%20tools%20to%20diagnose%20which%20pieces%20are%2Faren't%20working.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534212%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534212%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F734307%22%20target%3D%22_blank%22%3E%40kmacdough%3C%2FA%3E%26nbsp%3B%2C%20based%20on%20your%20message%20error%2C%20I%20think%20that%20the%20%24DISPLAY%20variable%20is%20successfully%20set%2C%20as%20I%20can%20see%20the%20IP%20in%20the%20message%20and%20as%20it%20worked%20for%20the%20xcalc%20App.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20only%20to%20double-check%20it%2C%20please%20let%20me%20know%20if%20the%20value%20is%20different%20of%20null.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20the%20%24DISPLAY%20variable%20is%20correctly%20set%2C%20probably%20the%20Linux%20Desktop%20environment%20session%20is%20opened%20(in%20my%20case%20%3CSTRONG%3Exrdp%3C%2FSTRONG%3E)%2C%20in%20case%20you%20have%20installed%20and%20accessed%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20double-check%20it%2C%20you%20need%20to%20connect%20to%20the%20Linux%20Desktop%20environment%20using%20the%20WSL%20IP%20address%20and%20MSTSC%20(remote%20desktop)%20and%20sign%20out%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eip%20a%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECopy%20the%20WSL%20IP%20address%20and%20run%20the%20MSTSC%20(remote%20desktop)%20to%20access%20the%20Linux%20GUI%20environment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20let%20me%20know%20if%20it%20helps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534270%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534270%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3EI've%20never%20set%20this%20up%2C%20but%20I'm%20attempting%20anyways%20just%20in%20case.%20Running%20ip%20a%20from%20within%20WSL%2C%20I%20see%20an%20inet%20address%20for%20eth0.%20Is%20this%20the%20one%20you're%20referring%20to%3F%20If%20so%2C%20MSTSC%20was%20unable%20to%20connect.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534272%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534272%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20clarify%2C%20xcalc%20only%20works%20when%20run%20directly%20from%20VcXsrv%20menu%20in%20windows%20tray%2C%20not%20when%20run%20from%20WSL%20prompt.%20I%20am%20currently%20using%20ConEmu%20if%20that's%20relevant.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20to%20be%20clear%3A%3C%2FP%3E%3CPRE%3E....%24%20echo%20%24DISPLAY%0A172.30.16.1%3A0%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534299%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534299%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F734307%22%20target%3D%22_blank%22%3E%40kmacdough%3C%2FA%3E%26nbsp%3B%2C%20thank%20you%20for%20the%20detailed%20info.%3C%2FP%3E%0A%3CP%3ESo%2C%20does%20it%20not%20work%20when%20you%20access%20from%20WT%2C%20like%20this%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22luisdem_0-1595283045731.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206547i22231243AC68F193%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22luisdem_0-1595283045731.png%22%20alt%3D%22luisdem_0-1595283045731.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENotice%20that%20XLaunch%20must%20be%20running.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534314%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534314%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F734307%22%20target%3D%22_blank%22%3E%40kmacdough%3C%2FA%3E%26nbsp%3B%2C%20follows%20the%20IP%20that%20I%20am%20using%20on%20MSTSC%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22luisdem_0-1595283161635.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206556i319111603C6FFC39%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22luisdem_0-1595283161635.png%22%20alt%3D%22luisdem_0-1595283161635.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534327%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534327%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F734307%22%20target%3D%22_blank%22%3E%40kmacdough%3C%2FA%3E%26nbsp%3B%2C%20I%20am%20really%20glad%20that%20it%20works!!!!!!%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1534319%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1534319%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3EI've%20figured%20it%20out.%20xrdp%20was%20not%20the%20issue.%20The%20initial%20post%20I%20referred%20to%20used%20%22%20%2Fsbin%2Fip%20route%22%20which%20gives%20a%20different%20IP%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Ffacepalm_40x40.gif%22%20alt%3D%22%3Afacepalm%3A%22%20title%3D%22%3Afacepalm%3A%22%20%2F%3E.%20Updating%20the%20.bashrc%20%26amp%3B%20re-sourcing%20fixed%20the%20problem.%20I'm%20a%20dummie.%20Thanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEDIT%3A%20My%20real%20mistake%20was%20not%20finding%20this%20post%20to%20start%20with%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1546828%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1546828%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20to%20save%20time%20on%20googling%20to%20other%20Ubuntu%20newbies%20like%20me%3A%20I%20had%20only%20terminal%20with%20no%20GUI%20originally.%3C%2FP%3E%3CP%3EThe%20following%20command%20adds%20the%20required%20'export%20DISPLAY'%20command%20to%20the%20end%20of%20%3CEM%3Ebash.bashrc%3C%2FEM%3E%20file.%20Note%20that%20I%20had%20to%20switch%20to%20super%20user%20(root)%2C%20because%20of%20the%20'permission%20denied'%20error%20for%20my%20regular%20user%20(student)%3A%3C%2FP%3E%3CPRE%3Estudent%40GARAVSKY-NB-W10%3A~%24%20sudo%20-s%3CBR%20%2F%3E%5Bsudo%5D%20password%20for%20student%3A%26nbsp%3B%3CBR%20%2F%3Eroot%40GARAVSKY-NB-W10%3A%2Fhome%2Fstudent%23%20echo%20%24'export%20DISPLAY%3D%5C%22%60grep%20nameserver%20%2Fetc%2Fresolv.conf%20%7C%20sed%20%5C's%2Fnameserver%20%2F%2F%5C'%60%3A0%5C%22'%20%26gt%3B%26gt%3B%20%2Fetc%2Fbash.bashrc%3C%2FPRE%3E%3CP%3EYou%20can%20make%20sure%20that%20the%20line%20is%20correctly%20added%20using%20the%20following%20command%3A%3C%2FP%3E%3CPRE%3Ecat%20%2Fetc%2Fbash.bashrc%20%3C%2FPRE%3E%3CP%3EIf%20you%20added%20a%20wrong%20line%2C%20the%20following%20command%20removes%20the%20last%20line%20from%20this%20file%3A%3C%2FP%3E%3CPRE%3Esed%20-i%20'%24%20d'%20%2Fetc%2Fbash.bashrc%3C%2FPRE%3E%3CP%3EFinally%2C%20you%20can%20return%20back%20to%20regular%20user%20(student)%20with%20the%20following%20command%3A%3C%2FP%3E%3CPRE%3Esudo%20-u%20student%20-s%3C%2FPRE%3E%3CP%3EFinally%2C%20when%20you%20ran%20these%20commands%2C%20start%26nbsp%3B%22c%3A%5CProgram%20Files%5CVcXsrv%5Cxlaunch.exe%22%26nbsp%3B%20from%20the%20location%20where%20you%20installed%20it.%20This%20will%20help%20you%20configure%20the%20X%20server%20as%20shown%20in%20the%20first%20screenshots%20-%20it%20was%20not%20clear%20to%20me%20from%20the%20beginning%20of%20this%20article%20(probably%20it%20should%20be%20mentioned%20explicitly).%3C%2FP%3E%3CP%3EThen%20I%20saved%20the%20configuration%20to%26nbsp%3B%22c%3A%5CProgram%20Files%5CVcXsrv%5Cconfig.xlaunch%22%26nbsp%3B%20and%20started%20it.%20If%20this%20happens%20to%20you%20too%2C%20look%20for%20the%20app%20icon%20in%20the%20system%20tray%20(right%20bottom%20of%20the%20taskbar).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1550124%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1550124%22%20slang%3D%22en-US%22%3E%3CP%3EAdding%20this%20comment%20here%20to%20help%20those%20who%20had%20the%20error%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3EError%3A%20Can't%20open%20display%3A%20192.168.43.1%3C%2FBLOCKQUOTE%3E%3CP%3E(which%20is%20my%20IP%20address)%20or%20maybe%20ones%20who%20had%20multiple%20IP%20Addresses%20shown%20when%20you%20check%20the%20%24DISPLAY%20variable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERight%20click%20on%20the%20VcXsrv%20icon%20in%20the%20taskbar%20and%20click%20on%20Show%20log.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sudevssuresh_0-1595927273745.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F208452iA96BF64DD90F365A%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22sudevssuresh_0-1595927273745.png%22%20alt%3D%22sudevssuresh_0-1595927273745.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20notepad%20that%20opens%2C%20look%20for%20the%20line%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EwinClipboardThreadProc%20-%20DISPLAY%20%3D%20127.0.0.1%3A0.0%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3EDunno%20if%20that%20IP%20Address%20will%20be%20different%20for%20others%2C%20but%20yes%2C%20copy%20that.%20Don't%20copy%20the%20port%20number.%20In%20this%20case%20127.0.0.1%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20in%20you%20WSL%20Terminal%2C%20type%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3Esudo%20nano%20%2Fetc%2Fresolv.conf%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3EIn%20the%20text%20editor%20that%20opens%2C%20delete%20whatever%20appears%20after%20'nameserver'%20and%20paste%20the%20above%20IP%20Address.%20Press%20Ctrl%2BO%2C%20Enter%2C%20and%20Ctrl%2BX%20to%20save%20and%20close%20the%20editor.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20type%2C%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3Eexport%20DISPLAY%3D%22%60grep%20nameserver%20%2Fetc%2Fresolv.conf%20%7C%20sed%20's%2Fnameserver%20%2F%2F'%60%3A0%22%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3Eand%20proceed%20as%20per%20the%20tutorial.%20This%20is%20what%20I%20did%20when%20I%20was%20stuck.%20Hope%20it%20works.%3C%2FP%3E%3CP%3ECheers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557749%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557749%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20this%20very%20detailed%20tutorial!%20Unfortunately%2C%20I%20am%20having%20trouble%20getting%20this%20to%20work%20despite%20following%20all%20the%20steps%20here.%20echo%20%24DISPLAYNAME%20shows%20%22xxx.xxx.128.1%3A0%22%20(numbers%20masked)%2C%20and%20I've%20launched%20VcXsrv%20with%20the%20Disable%20Access%20Control%20box%20checked%20and%20after%20having%20enabled%20both%20public%20and%20private%20connections%20in%20the%20Firewall%20app%20(which%20I%20did%20not%20do%20when%20initially%20installing%20and%20launching%20VcXsrv).%20I%20tried%20launching%20it%20with%20both%20display%20port%20-1%20and%200%2C%20but%20in%20all%20cases%20trying%20to%20launch%20xcalc%20from%20the%20Ubuntu%20terminal%20results%20in%20the%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%3A%20Can't%20open%20display%3A%20xxx.xxx.128.1%3A0%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20installed%20xrdp%20and%20attempted%20to%20connect%20to%20the%20IP%20address%20from%20%22ip%20a%22%2C%20%22xxx.xxx.133.232%2C%20in%20the%20same%20%2F16%20as%20the%20previous%20address%2C%20but%20after%20entering%20my%20username%20and%20password%20it%20exits%20abruptly.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557756%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557756%22%20slang%3D%22en-US%22%3E%3CP%3EOh%2C%20I%20figured%20this%20out%20just%20a%20bit%20after%20my%20post.%20Even%20though%20I%20went%20back%20into%20Windows%20Defender%20in%20the%20suggested%20path%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EWindows%20Security%20-%26gt%3B%20Firewall%20%26amp%3B%20network%20protection%20-%26gt%3B%20Allow%20an%20app%20through%20firewall%20-%26gt%3B%20make%20sure%20VcXsrv%20has%20both%20public%20and%20private%20checked.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20selected%20public%20(which%20I'd%20omitted%20on%20the%20original%20pop-up%20screen)%2C%20and%20hit%20OK%2C%20this%20didn't%20seem%20to%20take.%20I%20went%20into%20the%20advanced%20Firewall%20settings%20and%20deleted%20all%20the%20inbound%20rules%20for%20VcXsrv.%20This%20made%20the%20defender%20popup%20box%20appear%20again%2C%20I%20selected%20private%20and%20public%2C%20and%20now%20everything%20works%20great.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557782%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557782%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F745560%22%20target%3D%22_blank%22%3E%40jwimberl%3C%2FA%3E%2C%20I%20am%20glad%20that%20it%20worked!!!!!%20Thank%20you%20very%20much%20for%20your%20feedback!!!!%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557785%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557785%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F667494%22%20target%3D%22_blank%22%3E%40sudevssuresh%3C%2FA%3E%26nbsp%3B%2C%20thank%20you%20very%20much%20for%20sharing%20more%20details!!!!!%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1558308%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1558308%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%26nbsp%3Byou%20are%20my%20man%20of%20the%20hour!%20I%20was%20just%20looking%20for%20someway%20to%20make%20this%20happen.%3C%2FP%3E%0A%3CP%3EWould%20you%20know%20if%20Plasma%20or%20LXQT%20will%20also%20work%20via%20this%20method.%20I%20plan%20on%20trying%20one%20this%20weekend.%3C%2FP%3E%0A%3CP%3EEDIT%3A%20spoke%20too%20soon.%20I%20am%20having%20issues%20rdping%20to%20to%20wsl.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20installed%20xfce%20and%20slim%20and%20started%20the%20slim%20service.%3C%2FP%3E%0A%3CP%3EI%20also%20have%20vcxsrvr%20running.%20I%20am%20able%20to%20render%20xeyes%20on%20my%20windows%20desktop%20without%20issues.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rishavsharan_0-1596203723675.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209297iC0653A3E42895EDC%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22rishavsharan_0-1596203723675.png%22%20alt%3D%22rishavsharan_0-1596203723675.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Ebut%20when%20I%20try%20to%20rdp%20into%20wsl%2C%20i%20get%20the%20xorg%20login%20screen%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rishavsharan_1-1596203801058.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209298i6CFDC4AB67AB45F4%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22rishavsharan_1-1596203801058.png%22%20alt%3D%22rishavsharan_1-1596203801058.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20when%20I%20login%2C%20I%20get%20this%20error%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rishavsharan_2-1596203825665.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209299iA26D9F8CD347AF6B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22rishavsharan_2-1596203825665.png%22%20alt%3D%22rishavsharan_2-1596203825665.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1559686%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1559686%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F317109%22%20target%3D%22_blank%22%3E%40rishavsharan%3C%2FA%3E%26nbsp%3B%2C%20thank%20you%20very%20much%20for%20your%20feedback!%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20facing%20the%20same%20issue%20in%20a%20machine%20with%20Ubuntu%2020.04.%20What%20Ubuntu%20version%20are%20you%20using%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20Windows%2010%2C%20it%20is%20possible%20to%20have%20more%20than%20one%20Linux%20distro%20installed.%20I%20have%20both%2018.0%20an%2020.4%20installed%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22linux.png%22%20style%3D%22width%3A%20652px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209504iB9868D8FE8F9F0CB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22linux.png%22%20alt%3D%22linux.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20need%20to%20stop%20the%20xrdp%20service%20on%20Ubuntu%2020.04%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Esudo%20service%20xrdp%20stop%3C%2FPRE%3E%0A%3CP%3EAnd%20start%20the%20same%20on%2018.04%20%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Esudo%20service%20xrdp%20start%3C%2FPRE%3E%0A%3CP%3EIt%20worked%20after%20that.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20let%20me%20know%20if%20it%20is%20your%20same%20scenario.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1560340%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1560340%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%26nbsp%3BI%20am%20indeed%20on%20Ubuntu%2020.04.1%20LTS%3C%2FP%3E%0A%3CP%3EI%20will%20give%2018.0%20a%20try%20and%20report%20back%20with%20my%20results.%3C%2FP%3E%0A%3CP%3E%3C!--EndFragment%20--%3E%3C%2FP%3E%0A%3CP%3EEDIT%3A%3C%2FP%3E%0A%3CP%3EOn%2018.0%20I%20am%20able%20to%20get%20LXQT%20to%20work%20properly.%26nbsp%3B%20As%20long%20as%20my%20vcxsrv%20window%20is%20open%2C%20it%20works%20as%20the%20OS%20window.%3C%2FP%3E%0A%3CP%3EAll%20you%20need%20to%20do%20is%20install%20lxqt%20and%20sddm%20by%3C%2FP%3E%0A%3CP%3E%60%60%60%3C%2FP%3E%0A%3CP%3Esudo%20apt%20install%20lxqt%20sddm%3C%2FP%3E%0A%3CP%3E%60%60%60%3C%2FP%3E%0A%3CP%3Eand%20then%20start%20the%20desktop%20manager%20using%3C%2FP%3E%0A%3CP%3E%60%60%60%3C%2FP%3E%0A%3CP%3Esudo%20service%20sddm%20start%3C%2FP%3E%0A%3CP%3E%60%60%60%3C%2FP%3E%0A%3CP%3ESound%20is%20not%20working%20but%20it%20is%20something%20I%20will%20investigate.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rishavsharan_0-1596293781276.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209577i75820486C727AA6A%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22rishavsharan_0-1596293781276.png%22%20alt%3D%22rishavsharan_0-1596293781276.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1560584%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1560584%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F317109%22%20target%3D%22_blank%22%3E%40rishavsharan%3C%2FA%3E%26nbsp%3BI%20am%20glad%20that%20you%20made%20it%20work!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERelated%20to%20the%20sound%20issue%2C%26nbsp%3BI%20only%20could%20make%20it%20work%20using%20the%20X410%20X%20Server%20App%20and%20following%20the%20steps%20available%20at%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fx410.dev%2Fcookbook%2Fwsl%2Fenabling-sound-in-wsl-ubuntu-let-it-sing%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fx410.dev%2Fcookbook%2Fwsl%2Fenabling-sound-in-wsl-ubuntu-let-it-sing%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20had%20to%20change%20the%20third%20step%20to%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Eload-module%20module-native-protocol-tcp%20auth-anonymous%3D1%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20defined%20the%20PULSE_SERVER%20environment%20variable%20too%2C%20as%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Eexport%20PULSE_SERVER%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3Bexport%20PULSE_SERVER%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22satya%20youtube.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209645i45EAEE4C588E1978%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22satya%20youtube.png%22%20alt%3D%22satya%20youtube.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20the%20code%20bat%20file%20that%20I%20am%20using%20to%20load%20X410%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%40echo%20off%0Astart%20%2FB%20x410.exe%20%2Fwm%0Astart%20%22%22%20%2FB%20%22C%3A%5Cwsl%5Cpulseaudio%5Cbin%5Cpulseaudio.exe%22%0A%0Aubuntu1804.exe%20run%20%22if%20%5B%20-z%20%24(pidof%20xfce4-panel)%20%5D%3B%20then%20export%20DISPLAY%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3Bexport%20PULSE_SERVER%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3B%20cd%20~%3B%20xfsettingsd%20--sm-client-disable%3B%20xfce4-panel%20--sm-client-disable%20--disable-wm-check%3B%20taskkill.exe%20%2FIM%20x410.exe%3Btaskkill.exe%20%2FIM%20pulseaudio.exe%20%2FF%3B%20fi%3B%22%3C%2FPRE%3E%0A%3CP%3EI%20need%20to%20investigate%20how%20to%20make%20it%20work%20on%20XLaunch.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1560925%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1560925%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20actually%20good%20without%20sound%20for%20now%20as%20I%20plan%20to%20use%20wsl%20mostly%20for%20dev%20work.%3C%2FP%3E%0A%3CP%3EJust%20wanted%20to%20add%20one%20more%20way%20of%20running%20the%20desktop.%20You%20don't%20really%20need%20xrdp%20at%20all.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20all%20the%20steps%20for%20lxqt%20(and%20hopefully%20any%20other%20desktop)%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EOpen%20bash.%20do%20%60sudo%20apt%20update%60%20and%20then%20install%20lxqt%20%60sudo%20apt%20install%20lxqt%20sddm%60%3C%2FLI%3E%0A%3CLI%3Ein%20bash%20type%20%60export%20DISPLAY%3D%22%60grep%20nameserver%20%2Fetc%2Fresolv.conf%20%7C%20sed%20's%2Fnameserver%20%2F%2F'%60%3A0%22%60%3C%2FLI%3E%0A%3CLI%3Eopen%20up%20vcxrv%3C%2FLI%3E%0A%3CLI%3Eand%20then%20in%20the%20bash%20type%20%60startlxqt%60%20(or%20startxfce4).%26nbsp%3B%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EThat%20alone%20should%20be%20able%20to%20start%20the%20desktop%20env%20in%20the%20vcxsrv.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1564103%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1564103%22%20slang%3D%22en-US%22%3E%3CP%3EI%20followed%20the%20steps%20outlined%20in%20the%20article%2C%20but%20I%20kept%20getting%20%22Can't%20open%20display%22%20messages.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEventually%20I've%20figured%20out%20that%20there%20were%202%20issues%20in%20my%20case%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%201.%20Grepping%20IP-address%20from%20resolv.conf%20did%20not%20work%20since%20nameserver%20address%20was%20different%20from%20my%20IP-address%20(I%20also%20had%20to%20manually%20fix%20the%20nameserver%20address%20in%20resolv.conf%2C%20since%20the%20auto-generated%20one%20did%20not%20work).%20I%20had%20to%20look%20up%20my%20actual%20IP-address%20by%20running%20%60ipconfig%60%20in%20PowerShell.%20Use%20the%20one%20associated%20with%20your%20machine%20(not%20the%20WSL%20one).%3C%2FP%3E%3CP%3E%26nbsp%3B%202.%26nbsp%3BThe%20firewall%20settings%20described%20in%20the%20article%20were%20incomplete.%20I%20also%20had%20to%20click%20on%20%22Public%20network%22%20(which%20was%20active%20in%20my%20case)%20and%20uncheck%20%22Block%20all%20incoming%20connections%2C%20including%20those%20in%20the%20list%20of%20allowed%20apps%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMaybe%20it's%20worth%20mentioning%20these%20options%20in%20the%20text.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1567636%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1567636%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F748431%22%20target%3D%22_blank%22%3E%40IgorGayday%3C%2FA%3E%26nbsp%3B!!!!!%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1572970%22%20slang%3D%22zh-CN%22%3EReply%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1572970%22%20slang%3D%22zh-CN%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EWhen%20I%20run%20chrome%2C%20I%20find%20the%20text%20displayed%20garbled%2C%20error%20information%20as%20follows%2C%20hoping%20to%20provide%20some%20help%2C%20thank%20you.%3C%2FP%3E%3CPRE%3E(base)%20hao%40LAPTOP-0EJFF4VB%3A~%24%20google-chrome%0AlibGL%20error%3A%20No%20matching%20fbConfigs%20or%20visuals%20found%0AlibGL%20error%3A%20failed%20to%20load%20driver%3A%20swrast%0A%5B35%3A90%3A0807%2F210641.794253%3AERROR%3Abus.cc(393)%5D%20Failed%20to%20connect%20to%20the%20bus%3A%20Failed%20to%20connect%20to%20socket%20%2Fvar%2Frun%2Fdbus%2Fsystem_bus_socket%3A%20No%20such%20file%20or%20directory%0AlibGL%20error%3A%20No%20matching%20fbConfigs%20or%20visuals%20found%0AlibGL%20error%3A%20failed%20to%20load%20driver%3A%20swrast%0A%5B35%3A104%3A0807%2F210641.968952%3AERROR%3Abus.cc(393)%5D%20Failed%20to%20connect%20to%20the%20bus%3A%20Could%20not%20parse%20server%20address%3A%20Unknown%20address%20type%20(examples%20of%20valid%20types%20are%20%22tcp%22%20and%20on%20UNIX%20%22unix%22)%0A%5B35%3A104%3A0807%2F210641.969000%3AERROR%3Abus.cc(393)%5D%20Failed%20to%20connect%20to%20the%20bus%3A%20Could%20not%20parse%20server%20address%3A%20Unknown%20address%20type%20(examples%20of%20valid%20types%20are%20%22tcp%22%20and%20on%20UNIX%20%22unix%22)%0A%5B99%3A99%3A0807%2F210642.031354%3AERROR%3Aviz_main_impl.cc(150)%5D%20Exiting%20GPU%20process%20due%20to%20errors%20during%20initialization%0A%5B35%3A104%3A0807%2F210642.032102%3AERROR%3Abus.cc(393)%5D%20Failed%20to%20connect%20to%20the%20bus%3A%20Could%20not%20parse%20server%20address%3A%20Unknown%20address%20type%20(examples%20of%20valid%20types%20are%20%22tcp%22%20and%20on%20UNIX%20%22unix%22)%3C%2FPRE%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22greedyhao_0-1596805699754.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210987i98379F0245FBA6FE%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22greedyhao_0-1596805699754.png%22%20alt%3D%22greedyhao_0-1596805699754.png.%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1573417%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1573417%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20the%20feedback%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F752571%22%20target%3D%22_blank%22%3E%40greedyhao%3C%2FA%3E%26nbsp%3B!%3C%2FP%3E%0A%3CP%3EYes%2C%20the%20same%20happens%20here.%20Probably%20that%20will%20fixed%20in%20the%20version%20that%20Microsoft%20will%20implement%20the%20X%20Server%20feature.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22WSLChromiumGIF.gif%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211012i47006CEA533264DC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22WSLChromiumGIF.gif%22%20alt%3D%22WSLChromiumGIF.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1600477%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1600477%22%20slang%3D%22en-US%22%3E%3CP%3EIm%20having%20problems%20with%20the%20step%20where%20we%20put%20the%20command%20at%20the%20end%20of%26nbsp%3B%3CSTRONG%3E%2Fetc%2Fbash.bashrc.%26nbsp%3B%3C%2FSTRONG%3EI%20already%20put%20the%20command%20but%20when%20i%20try%20to%20run%20it%20its%20say%20%22Error%3A%20Can't%20open%20display%3A%22%20i%20really%20dont%20want%20to%20put%20this%20command%20everytime%20i%20have%20to%20run%20a%20GUI%20app.%20what%20can%20i%20do%3F%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Annotation%202020-08-19%20235539.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F213394iA64F280B8371A19B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Annotation%202020-08-19%20235539.jpg%22%20alt%3D%22Annotation%202020-08-19%20235539.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1605285%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1605285%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%20this%20post%20has%20been%20really%20helpful.%3C%2FP%3E%3CP%3EI%20have%20it%20all%20up%20and%20running%2C%20although%20the%20resolution%20in%20the%20linux%20windows%20is%20much%20less%20than%20the%20native%20windows.%20Is%20there%20a%20way%20of%20fixing%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1606939%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1606939%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20great%20article%2C%20but%20I%20am%20confused.%26nbsp%3B%26nbsp%3B%20I%20do%20not%20understand%20how%20or%20why%20the%20following%20should%20work%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Eexport%20DISPLAY%3D%22%60grep%20nameserver%20%2Fetc%2Fresolv.conf%20%7C%20sed%20's%2Fnameserver%20%2F%2F'%60%3A0%22%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20VcXxerv%26nbsp%3B%20and%20there%20are%20only%20two%20ip%20addresses%20by%20which%20I%20can%20get%20at%20it%26nbsp%3B%20one%20is%26nbsp%3B%20localhost%20and%20the%20other%20is%20the%20ip%20of%20my%20windows%20host%20machine%20NIC%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20please%20help%20me%20understand%20what%20is%20going%20on%2C%20thanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1607167%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1607167%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F768387%22%20target%3D%22_blank%22%3E%40steve_bovy%3C%2FA%3E%26nbsp%3BI%20found%20that%20command%20didn't%20give%20me%20the%20right%20address%2C%20either.%26nbsp%3B%20Instead%20I%20ran%20%22ipconfig%22%20(in%20powershell%20or%20%22command%22)%20and%20used%20second%20IPv4%20address%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26gt%3Bipconfig%3C%2FP%3E%3CP%3EWindows%20IP%20Configuration%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EEthernet%20adapter%20vEthernet%20(WSL)%3A%3C%2FP%3E%3CP%3EIPv4%20Address.%20.%20.%20.%20.%20.%20.%20.%20.%20.%20.%20%3A%20xxx.xxx.xxx.xxx%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEthernet%20adapter%20Ethernet%3A%3C%2FP%3E%3CP%3EIPv4%20Address.%20.%20.%20.%20.%20.%20.%20.%20.%20.%20.%20%3A%20192.168.1.75%26nbsp%3B%20%26nbsp%3B%20%26lt%3B-------%20use%20this%20one%20for%20DISPLAY%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1607932%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1607932%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F767633%22%20target%3D%22_blank%22%3E%40BartonBond%3C%2FA%3E%2C%20thank%20you%20for%20your%20great%20feedback!%3CBR%20%2F%3EX410%20App%20has%20a%20better%20performance%20and%20graphics%20than%26nbsp%3B%3CSPAN%3EVcXsrv%2C%20but%20it%20isn't%20100%25%20yet.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EMicrosoft%20is%20working%20in%20a%20X%20Server%20version%20that%20will%20have%20a%20great%20graphics%20support.%20%3AD%3C%2Fimg%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1609586%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1609586%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20the%20issue%20of%20getting%20the%20Windows%20Host%20IP-ADDRESS%20I%20would%20like%20to%20suggest%20using%26nbsp%3B%20%22nslookup.exe%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20this%3A%26nbsp%3B%20%40homedesk%3A~%24%20nslookup.exe%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20This%20%3A%26nbsp%3B%20%40homedesk%3A~%24%20nslookup.exe%20%24HOSTNAME%20%7C%20grep%20Name%3CBR%20%2F%3EName%3A%20homedesk.local.lan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20This%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eexport%20DISPLAY%3D%22%60nslookup.exe%20%24HOSTNAME%20%7C%20grep%20Name%20%7C%20sed%20-e%20's%2FName%3A%20%2F%2F'%20-e%20's%2F%5Cr%2F%2F'%60%3A0%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20for%26nbsp%3B%20starting%20xrdp%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eecho%20MYUSER%20%7C%26nbsp%3B%20sudo%20-S%20service%20xrdp%20start%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1610621%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1610621%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I'm%20using%20Ubuntu%2020.04%20LTS%2C%20I%20have%20installed%26nbsp%3B%3CSTRONG%3EVcXsrv%3CSPAN%3E%26nbsp%3B%2C%20xfce4%20and%20xrdp.%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3ET%3C%2FSPAN%3E%3CSPAN%3Ehe%20command%20%22sudo%20startxfce4%22%20start%20the%20GUI%2C%20but%20Remote%20Desktop%20doesn't%20work%2C%20it%20opens%20the%20window%20and%20shows%20Xorg%20as%20session%20type%2C%20I%20insert%20the%20login%20user%20name%20and%20password%20and%20then%20the%20window%20just%20close.%20Any%20help%20is%20appreciated.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%2C%20Marco%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1610790%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1610790%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F770414%22%20target%3D%22_blank%22%3E%40mrcgrg%3C%2FA%3E%26nbsp%3B%2C%20please%20make%20sure%20that%20the%20xrdp%20service%20is%20running.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22xrdp%20status%20start.png%22%20style%3D%22width%3A%20935px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F214644i14367B39C70EA9D9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22xrdp%20status%20start.png%22%20alt%3D%22xrdp%20status%20start.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1610797%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1610797%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F765293%22%20target%3D%22_blank%22%3E%40juancv3d%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20make%20sure%20that%20the%20DISPLAY%20environment%20has%20an%20IP%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eecho%20%24DISPLAY%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20it%20hasn't%2C%20please%20double%20check%20that%20the%20X%20Server%20App%20is%20running%20and%20that%20the%20firewall%20exception%20is%20set.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1611192%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1611192%22%20slang%3D%22en-US%22%3E%3CP%3E%3CFONT%3EKudos%20for%20the%20excellent%20integration%20of%20WSL2%20finally%20in%20the%20latest%20release%20version%20of%20Windows%2C%20leaving%20finally%20I%20can%20stop%20using%20Insider%20builds.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3EAs%20a%20Linux%20software%20developer%20now%20experimenting%20with%20Windows%20development%2C%20I%20can't%20wait%20to%20see%20the%20Microsoft%20X-Server%20version%20being%20integrated%20as%20soon%20as%20possible%20as%20a%20Windows%20service%20and%20left%20to%20install%20third%20party%20applications%20and%20to%20support%20native%20Windows%20resolutions.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1612434%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1612434%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EGood%20News%20!!!%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ENew%20release%26nbsp%3B%2020H2%26nbsp%3B%26nbsp%3B%20includes%26nbsp%3B%26nbsp%3B%20wsl2%26nbsp%3B%20'localhost'%20fix%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1612437%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1612437%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EWSL2%26nbsp%3B%20Wish-List%20Feature%20Fix%20%3F%3F%26nbsp%3B%20%7B%20I%20know%20this%20is%20not%20the%20correct%20forum%20for%20this%20request%20%7D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EI%20am%20just%20sounding%20off%20%3A)%3C%2Fimg%3E%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EPROBLEM%20DESCRIPTION%3A%20%22DOUBLE%20TROUBLE%22%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ENON%20UNIQUE%20WSL2%20HOST%20NAME%20CREATES%20UNNECESSARY%26nbsp%3B%20%22NAME%20RESOLUTION%22%26nbsp%3B%20CONFUSION%26nbsp%3B%20WHICH%20CAN%20CURRENTLY%20ONLY%20BE%20WORKED%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EAROUND%20BY%20USING%20FULLY-QUALIFIED%20HOST%20NAME%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EExample%20of%26nbsp%3B%26nbsp%3B%20problem%26nbsp%3B%26nbsp%3B%20(Accessing%26nbsp%3B%20Windows%20Host%20X-Serv)%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20following%20will%20not%20work%3A%26nbsp%3B%26nbsp%3B%20DISPLAY%3DHOSTNAME%3A0%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ETHE%20WORK%20AROUND%20IS%26nbsp%3B%20DISPLAY%3DHOSTNAME.%3CEM%3EWINHOST-DOMAIN%3C%2FEM%3E%3A0%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EAdditional%26nbsp%3B%20wsl.conf%26nbsp%3B%26nbsp%3B%20Network%26nbsp%3B%26nbsp%3B%20Keywords%26nbsp%3B%20%3F%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EAllow%20custom%20configuration%20of%26nbsp%3B%20HOSTNAME%26nbsp%3B%20file%26nbsp%3B%26nbsp%3B%20so%26nbsp%3B%20that%26nbsp%3B%20WSL2%20VM%26nbsp%3B%20machine%20network%20name%20is%20unique%20and%20different%20from%20windows%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3Ehost%20machine%20name%26nbsp%3B%20(%26nbsp%3B%20I%20would%20prefer%20the%20default%20to%20be%20the%20linux%20distribution%20name%20)%26nbsp%3B%20this%20would%20of%20course%20impact%20the%20HOST%20file%20as%20well%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1613100%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1613100%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%26nbsp%3B%2C%20the%20xrdp%20is%20running%20but%20the%20login%20fails.%20I%20have%20tried%20this%20(172.24.97.149%20is%20the%20IP%20address%20of%20Ubuntu)%2C%20but%20it%20doesn't%26nbsp%3B%20work%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emarco%40DP5820%3A~%24%20export%20DISPLAY%3D172.24.97.149%3A0%3CBR%20%2F%3Emarco%40DP5820%3A~%24%20sudo%20startxfce4%3CBR%20%2F%3E%5Bsudo%5D%20password%20for%20marco%3A%3CBR%20%2F%3E%2Fusr%2Fbin%2Fstartxfce4%3A%20X%20server%20already%20running%20on%20display%20172.24.97.149%3A0%3CBR%20%2F%3Exrdb%3A%20Connection%20refused%3CBR%20%2F%3Exrdb%3A%20Can't%20open%20display%20'172.24.97.149%3A0'%3CBR%20%2F%3EUnable%20to%20init%20server%3A%20Could%20not%20connect%3A%20Connection%20refused%3CBR%20%2F%3Exfce4-session%3A%20Cannot%20open%20display%3A%20.%3CBR%20%2F%3EType%20'xfce4-session%20--help'%20for%20usage.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%26nbsp%3BXorg.0.log%20file%20shows%20this%20error%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5B%204826.410%5D%20(EE)%20open%20%2Fdev%2Ffb0%3A%20No%20such%20file%20or%20directory%3CBR%20%2F%3E%5B%204826.410%5D%20(EE)%20No%20devices%20detected.%3CBR%20%2F%3E%5B%204826.410%5D%20(EE)%3CBR%20%2F%3EFatal%20server%20error%3A%3CBR%20%2F%3E%5B%204826.411%5D%20(EE)%20no%20screens%20found(EE)%3CBR%20%2F%3E%5B%204826.411%5D%20(EE)%3CBR%20%2F%3EPlease%20consult%20the%20The%20X.Org%20Foundation%20support%3CBR%20%2F%3Eat%20%3CA%20href%3D%22http%3A%2F%2Fwiki.x.org%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwiki.x.org%3C%2FA%3E%3CBR%20%2F%3Efor%20help.%3CBR%20%2F%3E%5B%204826.411%5D%20(EE)%20Please%20also%20check%20the%20log%20file%20at%20%22%2Fvar%2Flog%2FXorg.0.log%22%20for%20additional%20information.%3CBR%20%2F%3E%5B%204826.411%5D%20(EE)%3CBR%20%2F%3E%5B%204826.411%5D%20(EE)%20Server%20terminated%20with%20error%20(1).%20Closing%20log%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20Marco%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1613583%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1613583%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%2C%20the%20xrdp.log%20file%20shows%20that%20the%20connection%20is%20ok%2C%20but%20then%20just%20close%20the%20socket%20and%20disconnect%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5B20200826-15%3A58%3A37%5D%20%5BDEBUG%5D%20xrdp_00000a3f_wm_login_mode_event_00000001%3CBR%20%2F%3E%5B20200826-15%3A58%3A37%5D%20%5BINFO%20%5D%20Loading%20keymap%20file%20%2Fetc%2Fxrdp%2Fkm-00000410.ini%3CBR%20%2F%3E%5B20200826-15%3A58%3A37%5D%20%5BWARN%20%5D%20local%20keymap%20file%20for%200x00000410%20found%20and%20doesn't%20match%20built%20in%20keymap%2C%20using%20local%20keymap%20file%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BDEBUG%5D%20xrdp_wm_log_msg%3A%20connecting%20to%20sesman%20ip%20127.0.0.1%20port%203350%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BINFO%20%5D%20xrdp_wm_log_msg%3A%20sesman%20connect%20ok%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BDEBUG%5D%20xrdp_wm_log_msg%3A%20sending%20login%20info%20to%20session%20manager%2C%20please%20wait...%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BDEBUG%5D%20return%20value%20from%20xrdp_mm_connect%200%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BINFO%20%5D%20xrdp_wm_log_msg%3A%20login%20successful%20for%20display%2010%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BDEBUG%5D%20xrdp_wm_log_msg%3A%20started%20connecting%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BINFO%20%5D%20lib_mod_log_peer%3A%20xrdp_pid%3D2623%20connected%20to%20X11rdp_pid%3D2626%20X11rdp_uid%3D1000%20X11rdp_gid%3D1000%20client_ip%3D%3A%3Affff%3A172.23.32.1%20client_port%3D58172%3CBR%20%2F%3E%5B20200826-15%3A58%3A44%5D%20%5BDEBUG%5D%20xrdp_wm_log_msg%3A%20connected%20ok%3CBR%20%2F%3E%5B20200826-15%3A58%3A45%5D%20%5BDEBUG%5D%20xrdp_mm_connect_chansrv%3A%20chansrv%20connect%20successful%3CBR%20%2F%3E%5B20200826-15%3A58%3A45%5D%20%5BDEBUG%5D%20Closed%20socket%2017%20(AF_INET6%20%3A%3A1%20port%2039438)%3CBR%20%2F%3E%5B20200826-15%3A58%3A45%5D%20%5BDEBUG%5D%20Closed%20socket%2011%20(AF_INET6%20%3A%3Affff%3A172.23.40.174%20port%203389)%3CBR%20%2F%3E%5B20200826-15%3A58%3A45%5D%20%5BDEBUG%5D%20xrdp_mm_module_cleanup%3CBR%20%2F%3E%5B20200826-15%3A58%3A45%5D%20%5BDEBUG%5D%20Closed%20socket%2018%20(AF_UNIX)%3CBR%20%2F%3E%5B20200826-15%3A58%3A45%5D%20%5BDEBUG%5D%20Closed%20socket%2019%20(AF_UNIX)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20Marco%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1613988%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1613988%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40luisdem%3C%2FA%3E%3CSPAN%3E%2C%20it%20seems%20that%20X%20is%20not%20running%20on%20display%2010.%20Thanks%2C%20Marco%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1619338%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1619338%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40luisdem%3C%2FA%3E%2C%20I%20solved%20the%20problem%20modifying%20the%26nbsp%3B%26nbsp%3Bstartwm.sh%20file.%20I%20commented%20out%20this%20two%20lines%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%23test%20-x%20%2Fetc%2FX11%2FXsession%20%26amp%3B%26amp%3B%20exec%20%2Fetc%2FX11%2FXsession%3CBR%20%2F%3E%23exec%20%2Fbin%2Fsh%20%2Fetc%2FX11%2FXsession%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20I%20added%20this%20line%3A%3C%2FP%3E%3CP%3Estartxfce4%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20RDP%20connection%20work%20fine%20with%20xorg%20session%20type.%3C%2FP%3E%3CP%3EThanks%2C%20Marco%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620403%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620403%22%20slang%3D%22en-US%22%3E%3CP%3E**%26nbsp%3B%20PROBLEM%20WITH%20XRDP%20AND%20SYNAPTIC%20**%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20order%20for%20synaptic%20to%20update%20your%20system%20you%20must%20run%26nbsp%3B%20as%20root%20%2C%20but%20when%20I%20try%20to%20use%20synaptic%20with%20xrdp%20I%20get%20the%20following%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebovy%40homedesk%3A~%24%20sudo%20synaptic%3CBR%20%2F%3E%5Bsudo%5D%20password%20for%20bovy%3A%3CBR%20%2F%3ENo%20protocol%20specified%3CBR%20%2F%3EUnable%20to%20init%20server%3A%20Could%20not%20connect%3A%20Connection%20refused%3CBR%20%2F%3EFailed%20to%20initialize%20GTK.%3C%2FP%3E%3CP%3EProbably%20you're%20running%20Synaptic%20on%20Wayland%20with%20root%20permission.%3CBR%20%2F%3EPlease%20restart%20your%20session%20without%20Wayland%2C%20or%20run%20Synaptic%20without%20root%20permission%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1621059%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1621059%22%20slang%3D%22en-US%22%3E%3CP%3Ethx%20for%20this%20guide%20and%20your%20answers%20to%20comments.%20I%20also%20ran%20into%20problem%20with%20xrdp%2Fremote%20desktop%20using%20Ubuntu20.4.%20I%20would%20get%20the%20Xorg%20login%20fine.%20then%20it%20would%20die%20with%20the%20following%20message.%20I%20switched%20to%20using%20Ubuntu18.4%20as%20you%20said%20then%20it's%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2220200829_RDP_Ubuntu20.4.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F215397i23F2CFF84C152F46%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%2220200829_RDP_Ubuntu20.4.jpg%22%20alt%3D%2220200829_RDP_Ubuntu20.4.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1621679%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1621679%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F775634%22%20target%3D%22_blank%22%3E%40UncleStone%3C%2FA%3E%26nbsp%3Bfor%20your%20great%20feedback!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1621680%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1621680%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20very%20much%20Marco%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F770414%22%20target%3D%22_blank%22%3E%40mrcgrg%3C%2FA%3E%26nbsp%3Bfor%20contributing%20and%20documenting%20the%20issues%20and%20solutions!!!!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1623333%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1623333%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F768387%22%20target%3D%22_blank%22%3E%40steve_bovy%3C%2FA%3E%26nbsp%3B%2C%20is%20it%20failing%20only%20for%20Synaptic%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Synaptic.gif%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F215609i5AFF7C89F6D22466%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Synaptic.gif%22%20alt%3D%22Synaptic.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1623346%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1623346%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20regarding%20the%20issue%20of%20starting%20service%20automatically%20at%20startup%20of%20the%20Wsl%20VM%20(without%20system%20that%20in%20not%20supported%20on%20Wsl)%2C%20I%20think%20that%20the%20solution%20that%20uses%20bat%20and%20vbs%20script%20in%20the%20shell%3Astartup%20folder%20is%20non%20optimal%20(%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2Fharleyday%2F76a103a1a0ca97c6f33706e4a8cc3307%23file-wsl-ssh-server-md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2Fharleyday%2F76a103a1a0ca97c6f33706e4a8cc3307%23file-wsl-ssh-server-md%3C%2FA%3E).%20It%20works%20just%20once%20for%20each%20login%2C%20so%20if%20you%20stop%20the%20Wsl%20instance%20and%20then%20restart%20it%20the%20script%20is%20not%20executed.%20Furthermore%2C%20I%20was%20able%20to%20run%20it%20just%20for%20SSH%3B%20I%20tried%20to%20replicate%20the%20configuration%20for%20xrdp%2C%20but%20it%20didn%E2%80%99t%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20use%20this%20approach%3A%3CBR%20%2F%3EAdded%20the%20following%20two%20lines%20to%20%2Fetc%2Fsudoers%3A%3CBR%20%2F%3E%25sudo%20ALL%3DNOPASSWD%3A%20%2Fetc%2Finit.d%2Fssh%3CBR%20%2F%3E%25sudo%20ALL%3DNOPASSWD%3A%20%2Fetc%2Finit.d%2Fxrdp%3CBR%20%2F%3EAdded%20the%20following%20two%20lines%20to%20%2Fetc%2Fbash.bashrc%3CBR%20%2F%3Esudo%20%2Fetc%2Finit.d%2Fssh%20start%3CBR%20%2F%3Esudo%20%2Fetc%2Finit.d%2Fxrdp%20start%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20this%20configuration%20ssh%20and%20xrdp%20services%20start%20always%20when%20the%20Wsl%20instance%20start.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20another%20issue%20regarding%20xrdp%20the%20annoy%20me%2C%20that%20is%20the%20dynamic%20IP%20address%20that%20change%20every%20time%20the%20Wsl%20instance%20start.%20It%E2%80%99s%20not%20a%20big%20problem%2C%20but%20it%20is%20annoying%20the%20change%20the%20IP%20address%20in%20the%20rdp%20file%20every%20time.%20So%20a%20devised%20the%20solution%20that%20you%E2%80%99ll%20see%20in%20the%20next%20post.%3CBR%20%2F%3EThanks%20Marco%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1623355%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1623355%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20this%20is%20my%20solution%20for%20creating%20an%20Rdp%20config%20file%20automatically%20with%20the%20Wsl%20instance%20IP%20address.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eo%20Create%20the%20Rdp%20file%20with%20the%20configuration%20that%20you%20want%20(screen%20size%2C%20user%20name%2C%20etc.)%20and%20save%20it.%3CBR%20%2F%3Eo%20Remove%20the%20ip%20address%20line%20(full%20address%3As%3Axxx.xxx.xxx.xxx)%20and%20copy%20the%20file%20content%20to%20a%20text%20file.%20Move%20this%20file%20to%20a%20folder%20on%20the%20Wsl%20instance%20(I%20created%20an%20xrdpsettings%20folder%20on%20the%20Desktop).%3CBR%20%2F%3Eo%20Using%20gedit%20or%20another%20text%20editor%20copy%20the%20text%20file%20content%20to%20a%20new%20file%20and%20name%20it%20template.rdp%20(do%20not%20use%20the%20file%20copied%20from%20Windows%20because%20is%20in%20Unicode%20and%20this%20cause%20trouble%20with%20the%20following%20script).%3CBR%20%2F%3EIn%20the%20same%20folder%20create%20a%20shell%20script%20(I%20named%20it%20xrdpsettings.sh%2C%20allow%20the%20file%20to%20run%20as%20a%20program)%20and%20add%20the%20following%20code%20(I%20borrowed%20the%20code%20that%20creates%20the%20variable%20with%20the%20IP%20address%20from%20%3CA%20href%3D%22https%3A%2F%2Funix.stackexchange.com%2Fquestions%2F58825%2Fassigning-ip-address-to-environment-variable%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Funix.stackexchange.com%2Fquestions%2F58825%2Fassigning-ip-address-to-environment-variable%3C%2FA%3E%2C%20so%20the%20credit%20for%20this%20clever%20code%20goes%20to%20Gilles%20Quenot)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIP%3D%24(%3CBR%20%2F%3Eifconfig%20eth0%20%7C%3CBR%20%2F%3Eperl%20-ne%20'print%20%241%20if%20%2Finet%5Cs.*%3F(%5Cd%7B1%2C3%7D%5C.%5Cd%7B1%2C3%7D%5C.%5Cd%7B1%2C3%7D%5C.%5Cd%7B1%2C3%7D)%5Cb%2F'%3CBR%20%2F%3E)%3CBR%20%2F%3Eecho%20%24IP%3CBR%20%2F%3EVAR1%3D%22full%20address%3As%3A%22%3CBR%20%2F%3EVAR2%3D%24VAR1%24IP%3CBR%20%2F%3Eecho%20%24VAR2%3CBR%20%2F%3E%23rm%20-f%20Ubuntu.rdp%3CBR%20%2F%3Ecp%20template.rdp%20Ubuntu.rdp%3CBR%20%2F%3Eecho%20%24VAR2%20%26gt%3B%26gt%3B%20Ubuntu.rdp%3CBR%20%2F%3Emv%20-f%20Ubuntu.rdp%20%2Fmnt%2Fc%2FUsers%2FMarco%2FDesktop%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20change%20the%20path%20and%20the%20name%20of%20the%20rdp%20file%20according%20to%20your%20configuration%20(the%20echo%20%24IP%20and%20echo%20%24VAR2%20are%20just%20for%20debugging%20purpose%2C%20just%20comment%20them%20out%20if%20the%20script%20succeed).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdd%20these%20lines%20the%20%24HOME%2F.profile%20file%20(again%20change%20the%20path%20according%20to%20your%20configuration)%3A%3CBR%20%2F%3Ecd%20.%2FDesktop%2Fxrdpsettings%3CBR%20%2F%3E.%2Fxrdpsetting.sh%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20configuration%20is%20right%20you%20will%20find%20an%20Ubuntu.rdp%20(or%20the%20name%20you%20choose)%20in%20the%20designed%20folder%20when%20you%20start%20the%20Wsl%20instance%2C%20with%20the%20Wsl%20instance%20IP%20address%20set.%3CBR%20%2F%3EThanks%20Marco%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1713718%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1713718%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20update%20for%26nbsp%3B19042.541%20build%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1717071%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1717071%22%20slang%3D%22en-US%22%3E%3CP%3EInitially%20I%20had%20a%20connection%20refused%20problem.%20Was%20using%20Ubuntu%2018.04%20WSL2%20and%26nbsp%3B%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsourceforge.net%2Fprojects%2Fvcxsrv%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EVcXsrv%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20turns%20out%20it's%20because%20the%26nbsp%3B%3CSTRONG%3Eexport%20DISPLAY%3D%22%60grep%20nameserver%20%2Fetc%2Fresolv.conf%20%7C%20sed%20's%2Fnameserver%20%2F%2F'%60%3A0%22%26nbsp%3B%3C%2FSTRONG%3Ecommand%20didn't%20grab%20the%20correct%20the%20IP%20address%20of%20my%20X%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20manually%20set%20the%20%24DISPLAY%20variable%20to%20127.0.0.1%3A0.0(the%20X%20server%20address%20that%20was%20showing%20in%20the%20X%20server%20log%20file%2C%20which%20you%20can%20find%20by%20right%20clicking%20x%20server%20icon%20in%20the%20task%20bar%2C%20and%20click%20'show%20log').%20It%20then%20worked%20for%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1717339%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1717339%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20the%20post.%20I%20can't%20wait%20to%20try.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1763402%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1763402%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-panel-message%20message-uid-1613988%22%3E%3CDIV%20class%3D%22lia-message-view-wrapper%20lia-js-data-messageUid-1613988%20lia-component-forums-widget-message-view-two%22%3E%3CDIV%20class%3D%22MessageView%20lia-message-view-blog-reply-message%20lia-message-view-display%20lia-row-standard-unread%20lia-thread-reply%22%3E%3CDIV%20class%3D%22lia-quilt%20lia-quilt-blog-reply-message%20lia-quilt-layout-one-column-message%22%3E%3CDIV%20class%3D%22lia-quilt-row%20lia-quilt-row-main%22%3E%3CDIV%20class%3D%22lia-quilt-column%20lia-quilt-column-24%20lia-quilt-column-single%20lia-quilt-column-main%22%3E%3CDIV%20class%3D%22lia-quilt-column-alley%20lia-quilt-column-alley-single%22%3E%3CDIV%20class%3D%22lia-message-body-wrapper%20lia-component-message-view-widget-body%22%3E%3CDIV%20class%3D%22lia-message-body%22%3E%3CDIV%20class%3D%22lia-message-body-content%22%3E%3CP%3E%3CSPAN%3EHi%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40luisdem%3C%2FA%3E%3CSPAN%3E%2C%20I%20am%20trying%20to%20run%20xcalc%20on%20wsl2%20(ubuntu).%20I%20have%20followed%20your%20instructions%20but%20I%20keep%20getting%20the%20following%20error%20message%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3C!--%20%20%20%20StartFragment%20%20%20%20%20--%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CSTRONG%3EQXcbConnection%3A%20Could%20not%20connect%20to%20display%2099.88.77.66%3A0%3C%2FSTRONG%3E%3C%2FDIV%3E%3CP%3E%3CSPAN%3E%3C!--%20%20%20%20EndFragment%20%20%20%20%20--%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20suggestions%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1766959%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1766959%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%20%2C%20I%20am%20facing%20problems%20in%20connecting%20to%20the%20internet%20from%20MSTSC%20using%20xfce4.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20%3CSTRONG%3EWSL%201%3C%2FSTRONG%3E%20and%20Ubuntu%2018.04.%20Every%20time%20I%20open%20the%20web%20browser%20(namely%20Firefox%2C%20the%20preinstalled%20one)%2C%20it%20either%20cannot%20connect%20to%20the%20internet%20or%20crashes.%20I%20tried%20using%20the%20Network%20settings%2C%20but%20it%20says%20system%20information%20is%20not%20available.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20other%20apps%20which%20do%20not%20require%20internet%20connectivity%20seems%20to%20be%20running%20fine%2C%20though%20I%20haven't%20tested%20them%20all.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1786279%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1786279%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F826154%22%20target%3D%22_blank%22%3E%40_Eyal%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20is%20the%20tool%20that%20are%20you%20trying%20to%20run%20it%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EVcXsrv%20Windows%20X%20Server%20(free)%3C%2FLI%3E%0A%3CLI%3EX410%20App%20available%20on%20Microsoft%20Store%20(paid%20app)%3C%2FLI%3E%0A%3CLI%3EKali%20App%20available%20on%20Microsoft%20Store%20(free)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EProbably%20it%20is%20some%20step%20that%20is%20missing%20like%20enable%20the%20firewall%20exception%20rule.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMy%20suggestion%20is%20to%20you%20try%20to%20use%20Kali%2C%20that%20is%20free%20and%20that%20has%20the%20X%20Server%20already%20implemented.%20You%20don't%20need%20to%20worry%20about%20having%20to%20define%20environment%20variable%20or%20start%20any%20service.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1493242%22%20slang%3D%22en-US%22%3ERunning%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1493242%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22logo.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201595iDF88424822733A2A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22logo.png%22%20alt%3D%22logo.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20post%20I%20will%20demonstrate%20how%20to%20run%20%3CSTRONG%3ELinux%20GUI%3C%2FSTRONG%3E%20(Graphical%20User%20Interface)%20applications%20on%20Windows%20Desktop%20platform.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20now%2C%20it%20is%20necessary%20to%20install%20a%20third-party%20App%20to%20run%20the%20GUI%20Apps%2C%20but%20Microsoft%20announced%20on%20%3CSTRONG%3E%2F%2Fbuild%202020%3C%2FSTRONG%3E%20that%20they%20will%20release%20soon%20an%20improvement%20that%20will%20not%20require%20any%20third-party%20component%20to%20run%20Linux%20GUI%20Apps%20on%20Windows%20Desktop.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPre-requirements%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWindows%2010%3C%2FLI%3E%0A%3CLI%3EWSL%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20know%20%3CSTRONG%3Ehow%20to%20install%20WSL%20on%20Windows%2010%3C%2FSTRONG%3E%2C%20please%20check%20the%20following%20post%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22logo.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F200183iF6B0A9312DF0B6E4%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22logo.png%22%20alt%3D%22logo.png%22%20%2F%3E%3C%2FSPAN%3E%3CA%20title%3D%22Using%20WSL2%20in%20a%20Docker%20Linux%20container%20on%20Windows%20to%20run%20a%20Minecraft%20Java%20Server%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-dev-appconsult%2Fusing-wsl2-in-a-docker-linux-container-on-windows-to-run-a%2Fba-p%2F1482133%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EUsing%20WSL2%20in%20a%20Docker%20Linux%20container%20on%20Windows%20to%20run%20a%20Minecraft%20Java%20Server%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20will%20be%20demonstrated%20the%20three%20ways%20to%20run%20the%20Linux%20GUI%20Apps%20on%20Windows%2010%20through%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EVcXsrv%20Windows%20X%20Server%20(free)%3C%2FLI%3E%0A%3CLI%3EX410%20App%20available%20on%20Microsoft%20Store%20(paid%20app)%3C%2FLI%3E%0A%3CLI%3EKali%20App%20available%20on%20Microsoft%20Store%20(free)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-1175846757%22%20id%3D%22toc-hId-1175846757%22%20id%3D%22toc-hId-1175846757%22%20id%3D%22toc-hId-1175846757%22%20id%3D%22toc-hId-1175846757%22%20id%3D%22toc-hId-1175846757%22%20id%3D%22toc-hId-1175846757%22%20id%3D%22toc-hId-1175846757%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--631607706%22%20id%3D%22toc-hId--631607706%22%20id%3D%22toc-hId--631607706%22%20id%3D%22toc-hId--631607706%22%20id%3D%22toc-hId--631607706%22%20id%3D%22toc-hId--631607706%22%20id%3D%22toc-hId--631607706%22%20id%3D%22toc-hId--631607706%22%3EFirst%20option%3A%20VcXsrv%20Windows%20X%20Server%3C%2FH3%3E%0A%3CP%3EThe%20X%20server%20is%20a%20provider%20of%20graphics%20resources%20and%20keyboard%2Fmouse%20events.%20I%20am%20using%20the%20%3CSTRONG%3EVcXsrv%20Windows%20X%20Server%20%3C%2FSTRONG%3Ethat%20is%20open-source%20and%20is%20frequently%20update.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20first%20step%20is%20to%20install%20the%20third-part%20display%20manager%20called%20%3CSTRONG%3EVcXsrv%20Windows%20X%20Server%3C%2FSTRONG%3E%20available%20at%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsourceforge.net%2Fprojects%2Fvcxsrv%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsourceforge.net%2Fprojects%2Fvcxsrv%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDuring%20setup%20is%20important%20to%20disable%20the%20access%20control%20to%20avoid%20the%20permission%20denied%20error%20when%20trying%20to%20run%20a%20GUI%20application%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22VcXsrv%20disable%20access%20control%202.png%22%20style%3D%22width%3A%20508px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201596iBCB2B8DA889830E0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VcXsrv%20disable%20access%20control%202.png%22%20alt%3D%22VcXsrv%20disable%20access%20control%202.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20warranty%20that%20the%20%E2%80%9C%3CSTRONG%3EDisable%20access%20control%3C%2FSTRONG%3E%E2%80%9D%20will%20be%20always%20checked%2C%20save%20the%20configuration%20and%20always%20launch%20%3CSTRONG%3EVcXsrv%20%3C%2FSTRONG%3Eusing%20the%20configuration%20file%20(%3CSTRONG%3Econfig.xlaunch%3C%2FSTRONG%3E)%20%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22VcXsrv%20disable%20access%20control.png%22%20style%3D%22width%3A%20501px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201597iFA9AF150A87FC588%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VcXsrv%20disable%20access%20control.png%22%20alt%3D%22VcXsrv%20disable%20access%20control.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENOTE%3A%20Don't%20forget%20to%20allow%20%3CSTRONG%3EVcXsrv%20%3C%2FSTRONG%3Ein%20the%20Windows%20firewall%20settings.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWindows%20Security%20-%26gt%3B%20Firewall%20%26amp%3B%20network%20protection%20-%26gt%3B%20Allow%20an%20app%20through%20firewall%20-%26gt%3B%20make%20sure%20VcXsrv%20has%20both%20public%20and%20private%20checked.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22firewall.png%22%20style%3D%22width%3A%20658px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206521i564787EBD841432D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22firewall.png%22%20alt%3D%22firewall.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20next%20step%20is%20to%20set%20the%20%3CSTRONG%3EDISPLAY%3C%2FSTRONG%3E%20environment%20variable%20on%20Linux%20to%20use%20the%20Windows%20host's%20IP%20address%20as%20WSL2%20and%20the%20Windows%20host%20are%20not%20in%20the%20same%20network%20device.%20It%20is%20necessary%20to%20run%20the%20following%20bash%20command%20to%20load%20the%20correct%20IP%20address%20on%20launch%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Eexport%20DISPLAY%3D%22%60grep%20nameserver%20%2Fetc%2Fresolv.conf%20%7C%20sed%20's%2Fnameserver%20%2F%2F'%60%3A0%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERunning%20the%20following%20command%2C%20it%20is%20possible%20to%20see%20that%20the%20%24DISPLAY%20environment%20variable%20now%20has%20the%20Windows%20Host%E2%80%99s%20IP%20set%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3EEcho%20%24DISPLAY%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22display.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201610iA652D750738A7F90%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22display.png%22%20alt%3D%22display.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20avoid%20having%20to%20run%20that%20command%20every%20time%20that%20WSL%20is%20launched%2C%20you%20can%20include%20the%20command%20at%20the%20end%20of%20the%20%3CSTRONG%3E%2Fetc%2Fbash.bashrc%20%3C%2FSTRONG%3Efile%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22export%20display.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201611iC4DA5B9EC05A849E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22export%20display.png%22%20alt%3D%22export%20display.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EDone!%3C%2FSTRONG%3E%20Now%20you%20can%20run%20the%20Linux%20GUI%20Apps%20on%20Windows%20desktop.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--642110810%22%20id%3D%22toc-hId--642110810%22%20id%3D%22toc-hId--642110810%22%20id%3D%22toc-hId--642110810%22%20id%3D%22toc-hId--642110810%22%20id%3D%22toc-hId--642110810%22%20id%3D%22toc-hId--642110810%22%20id%3D%22toc-hId--642110810%22%3ELet%E2%80%99s%20try%20this%20out!%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFollows%20some%20Apps%20that%20you%20can%20use%20to%20test%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInstall%20Chromium%20Dev%20%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20add-apt-repository%20ppa%3Asaiarcot895%2Fchromium-dev%0Asudo%20apt-get%20update%0Asudo%20apt-get%20install%20chromium-browser%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInstall%20GEDIT%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20apt%20install%20gedit%0Agedit%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInstall%20x11-apps%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20apt%20install%20x11-apps%0Axeyes%0Axcalc%0A%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMake%20sure%20that%20%3CSTRONG%3EXLaunch%3C%2FSTRONG%3E%20is%20running%20and%20before%20calling%20the%20Linux%20GUI%20Apps%20on%20Windows%20Desktop%20environment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22apps%20running.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201642i8070DFD839A39F40%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22apps%20running.png%22%20alt%3D%22apps%20running.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22run%20gui%20apps%20wsl.gif%22%20style%3D%22width%3A%20896px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201649i87F120274684BBEB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22run%20gui%20apps%20wsl.gif%22%20alt%3D%22run%20gui%20apps%20wsl.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1845402023%22%20id%3D%22toc-hId-1845402023%22%20id%3D%22toc-hId-1845402023%22%20id%3D%22toc-hId-1845402023%22%20id%3D%22toc-hId-1845402023%22%20id%3D%22toc-hId-1845402023%22%20id%3D%22toc-hId-1845402023%22%20id%3D%22toc-hId-1845402023%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-37947560%22%20id%3D%22toc-hId-37947560%22%20id%3D%22toc-hId-37947560%22%20id%3D%22toc-hId-37947560%22%20id%3D%22toc-hId-37947560%22%20id%3D%22toc-hId-37947560%22%20id%3D%22toc-hId-37947560%22%20id%3D%22toc-hId-37947560%22%3EWhat%20about%20running%20Windows%2010%20Apps%20and%20Linux%20GUI%20Apps%20in%20the%20same%20Desktop%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERun%20the%20following%20command%20to%20launch%20the%20%3CSTRONG%3Exfce-panel%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Exfsettingsd%20--sm-client-disable%3B%20xfce4-panel%20--sm-client-disable%20--disable-wm-check%20%26amp%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1769506903%22%20id%3D%22toc-hId--1769506903%22%20id%3D%22toc-hId--1769506903%22%20id%3D%22toc-hId--1769506903%22%20id%3D%22toc-hId--1769506903%22%20id%3D%22toc-hId--1769506903%22%20id%3D%22toc-hId--1769506903%22%20id%3D%22toc-hId--1769506903%22%3EWhat%20about%20accessing%20the%20Linux%20Desktop%20Environment%20via%20RDP%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20first%20thing%20that%20you%20need%20to%20do%20is%20to%20install%20a%20Linux%20Desktop%20Environment.%20I%20will%20user%20%3CA%20href%3D%22https%3A%2F%2Fwww.xfce.org%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EXfce%3C%2FA%3E%20as%20it%20is%20a%20lightweight%20one.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERun%20the%20following%20commands%20to%20install%20%3CSTRONG%3EXfce%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20apt%20install%20xfce4%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20next%20step%20is%20to%20install%20the%20%3CA%20href%3D%22http%3A%2F%2Fxrdp.org%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Exrdp%3C%2FA%3E%20that%20provides%20a%20graphical%20login%20to%20remote%20machines%20using%20RDP%20(Microsoft%20Remote%20Desktop%20Protocol).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20apt%20install%20xrdp%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EType%20the%20following%20command%20to%20get%20the%20%3CSTRONG%3EWSL%20IP%20address%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Eip%20a%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ip%20addr.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201643i1943041F87253E3B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ip%20addr.png%22%20alt%3D%22ip%20addr.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMake%20sure%20that%20%3CSTRONG%3Exrdp%3C%2FSTRONG%3E%20service%20is%20running%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22start%20xrdp.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201644iCFCCE3924968129D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22start%20xrdp.png%22%20alt%3D%22start%20xrdp.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERun%20the%20%3CSTRONG%3ERemote%20Desktop%20Client%3C%2FSTRONG%3E%20(MSTSC)%20and%20type%20the%20WSL%20IP%20address%20to%20connect%20to%20%3CSTRONG%3Exfce4%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22mstsc.png%22%20style%3D%22width%3A%20407px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201645i6002D4337503E2F0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mstsc.png%22%20alt%3D%22mstsc.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDone!%20Now%20you%20can%20access%20your%20favorite%20Linux%20IDE%20on%20WSL.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22wsl%20rdp.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201655iBEACFB506DF446FD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22wsl%20rdp.png%22%20alt%3D%22wsl%20rdp.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22wsl%20rdp%203.gif%22%20style%3D%22width%3A%20896px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201659i5BCA3DA6EC90ADDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22wsl%20rdp%203.gif%22%20alt%3D%22wsl%20rdp%203.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1078945429%22%20id%3D%22toc-hId--1078945429%22%20id%3D%22toc-hId--1078945429%22%20id%3D%22toc-hId--1078945429%22%20id%3D%22toc-hId--1078945429%22%20id%3D%22toc-hId--1078945429%22%20id%3D%22toc-hId--1078945429%22%20id%3D%22toc-hId--1078945429%22%3ESecond%20option%3A%20X410%20App%3C%2FH3%3E%0A%3CP%3EThe%20app%20is%20available%20on%20Microsoft%20Store%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fstore%2FproductId%2F9NLP712ZMN9Q%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fstore%2FproductId%2F9NLP712ZMN9Q%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22X410.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F227060iAF981CB10CAB7F6F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22X410.png%22%20alt%3D%22X410.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20image%20below%20I%20am%20using%20the%20%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3Ethe%20X%20Server%20%3CA%20title%3D%22X410%22%20href%3D%22https%3A%2F%2Fmicrosoft.com%2Fstore%2FproductId%2F9NLP712ZMN9Q%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EX410%3C%2FA%3E%26nbsp%3BApp%20available%20in%20the%20Windows%2010%20store%2C%20that%20has%20a%20better%20graphic%20performance%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22WinLinux.gif%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F205315i3D81D050A21068C2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22WinLinux.gif%22%20alt%3D%22WinLinux.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EX410%20X%20Server%20App%20supports%20sound%20on%20Ubuntu%2018.04.%20If%20you%20are%20using%20X410%2C%20please%20following%20the%20steps%20available%20at%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fx410.dev%2Fcookbook%2Fwsl%2Fenabling-sound-in-wsl-ubuntu-let-it-sing%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fx410.dev%2Fcookbook%2Fwsl%2Fenabling-sound-in-wsl-ubuntu-let-it-sing%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20only%20had%20to%20change%20the%20third%20step%20to%20use%20auth-anonymous%20instead%20of%20the%20%3CSPAN%3Eauth-ip-acl%3C%2FSPAN%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Eload-module%20module-native-protocol-tcp%20auth-anonymous%3D1%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMore%20details%20here%3A%26nbsp%3B%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWSL%2Fissues%2F4205%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fmicrosoft%2FWSL%2Fissues%2F4205%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20defined%20the%20PULSE_SERVER%20environment%20variable%20too%2C%20as%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Eexport%20PULSE_SERVER%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3Bexport%20PULSE_SERVER%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20the%20code%20bat%20file%20that%20I%20am%20using%20to%20load%20X410%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%40echo%20off%0Astart%20%2FB%20x410.exe%20%2Fwm%0Astart%20%22%22%20%2FB%20%22C%3A%5Cwsl%5Cpulseaudio%5Cbin%5Cpulseaudio.exe%22%0A%0Aubuntu1804.exe%20run%20%22if%20%5B%20-z%20%24(pidof%20xfce4-panel)%20%5D%3B%20then%20export%20DISPLAY%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3Bexport%20PULSE_SERVER%3D%24(cat%20%2Fetc%2Fresolv.conf%20%7C%20grep%20nameserver%20%7C%20awk%20'%7Bprint%20%242%3B%20exit%3B%7D')%3A0%3B%20cd%20~%3B%20xfsettingsd%20--sm-client-disable%3B%20xfce4-panel%20--sm-client-disable%20--disable-wm-check%3B%20taskkill.exe%20%2FIM%20x410.exe%3Btaskkill.exe%20%2FIM%20pulseaudio.exe%20%2FF%3B%20fi%3B%22%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3EFor%20more%20details%20about%20how%20to%20enable%20the%20%3CSTRONG%3Exfce-panel%20%3C%2FSTRONG%3Esteps%2C%20please%20check%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3E%3CA%20href%3D%22https%3A%2F%2Fx410.dev%2Fcookbook%2Fwsl%2Fxidekick%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fx410.dev%2Fcookbook%2Fwsl%2Fxidekick%2F%3C%2FA%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1408567404%22%20id%3D%22toc-hId-1408567404%22%20id%3D%22toc-hId-1408567404%22%20id%3D%22toc-hId-1408567404%22%20id%3D%22toc-hId-1408567404%22%20id%3D%22toc-hId-1408567404%22%20id%3D%22toc-hId-1408567404%22%20id%3D%22toc-hId-1408567404%22%3EThird%20option%3A%20Kali%20App%3C%2FH3%3E%0A%3CP%3EKali%20Linux%20Windows%20Application%20is%20available%20on%20Microsoft%20Store%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fstore%2FproductId%2F9PKR34TNCV07%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fstore%2FproductId%2F9PKR34TNCV07%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAll%20you%20have%20to%20do%20is%20to%20install%20Kali%20from%20Store%20and%20run%20the%20following%20command%20from%20KALI%20editor%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ekex%20wstart%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22kex%20wstart.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F227066i0412C7F730A74025%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22kex%20wstart.png%22%20alt%3D%22kex%20wstart.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20KALI%20environment%20will%20be%20loaded%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22kali.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F227067i5EE54DF73B779214%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22kali.png%22%20alt%3D%22kali.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20Kali%2C%20you%20don't%20have%20to%20worry%20about%20setting%20environment%20variables%20or%20starting%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFollows%20the%20Kali%20page%20with%20more%20details%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.kali.org%2Fnews%2Fkali-linux-in-the-windows-app-store%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKali%20Linux%20in%20the%20Windows%20App%20Store%20%7C%20Kali%20Linux%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20post%20we%20see%20how%20to%20run%20GUI%20Linux%20Apps%20using%20%3CSTRONG%3EXServer%3C%2FSTRONG%3E%20on%20Windows%20Desktop%20environment%20and%20how%20to%20access%20the%20full%20WSL%20Linux%20desktop%20environment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20you%20liked!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1493242%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22logo.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201595iDF88424822733A2A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22logo.png%22%20alt%3D%22logo.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20post%20I%20will%20demonstrate%20how%20to%20run%20Linux%20GUI%20(Graphical%20User%20Interface)%20applications%20on%20Windows%20Desktop%20platform.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1786370%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1786370%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F827219%22%20target%3D%22_blank%22%3E%40hrivu%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20is%20interesting.%20Does%20the%20Internet%20command%20works%20on%20WSL%3F%20Like%3A%20curl%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1786378%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1786378%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%2C%3C%2FP%3E%3CP%3Eyou're%20right%2C%20I%20ended%20up%20messing%20up%20the%20firewall%20step.%3C%2FP%3E%3CP%3EThanks%20a%20lot%20for%20your%20help%20and%20for%20uploading%20this%20post!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1820392%22%20slang%3D%22en-US%22%3ERe%3A%20Running%20WSL%20GUI%20Apps%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1820392%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258734%22%20target%3D%22_blank%22%3E%40luisdem%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHey!%20I%20tried%20all%20the%20steps%20above%20but%20still%20getting%26nbsp%3BError%3A%20Can't%20open%20display%3A%20172.26.32.1%3A0.0%20again%20and%20again.%3C%2FP%3E%3CP%3EI%20have%20set%20the%20DISPLAY%20variable%20correctly%20and%20also%20allowed%20it%20through%20firewall.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

logo.png

 

 

 

In this post I will demonstrate how to run Linux GUI (Graphical User Interface) applications on Windows Desktop platform.

 

For now, it is necessary to install a third-party App to run the GUI Apps, but Microsoft announced on //build 2020 that they will release soon an improvement that will not require any third-party component to run Linux GUI Apps on Windows Desktop.

 

Pre-requirements:

  • Windows 10
  • WSL

 

If you want to know how to install WSL on Windows 10, please check the following post:

 

 

logo.pngUsing WSL2 in a Docker Linux container on Windows to run a Minecraft Java Server

 

 

It will be demonstrated the three ways to run the Linux GUI Apps on Windows 10 through:

  • VcXsrv Windows X Server (free)
  • X410 App available on Microsoft Store (paid app)
  • Kali App available on Microsoft Store (free)

 

First option: VcXsrv Windows X Server

The X server is a provider of graphics resources and keyboard/mouse events. I am using the VcXsrv Windows X Server that is open-source and is frequently update.

 

The first step is to install the third-part display manager called VcXsrv Windows X Server available at:

https://sourceforge.net/projects/vcxsrv/

 

During setup is important to disable the access control to avoid the permission denied error when trying to run a GUI application:

 

VcXsrv disable access control 2.png

 

 

To warranty that the “Disable access control” will be always checked, save the configuration and always launch VcXsrv using the configuration file (config.xlaunch) :

 

VcXsrv disable access control.png

 

 

NOTE: Don't forget to allow VcXsrv in the Windows firewall settings.

 

Windows Security -> Firewall & network protection -> Allow an app through firewall -> make sure VcXsrv has both public and private checked.

 

firewall.png

 

 

The next step is to set the DISPLAY environment variable on Linux to use the Windows host's IP address as WSL2 and the Windows host are not in the same network device. It is necessary to run the following bash command to load the correct IP address on launch:

 

 

 

export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"

 

 

 

Running the following command, it is possible to see that the $DISPLAY environment variable now has the Windows Host’s IP set:

 

 

 

Echo $DISPLAY

 

 

 

 

display.png

 

 

To avoid having to run that command every time that WSL is launched, you can include the command at the end of the /etc/bash.bashrc file:

 

export display.png

 

Done! Now you can run the Linux GUI Apps on Windows desktop.

 

 

Let’s try this out!

 

Follows some Apps that you can use to test:

 

Install Chromium Dev :

 

 

 

sudo add-apt-repository ppa:saiarcot895/chromium-dev
sudo apt-get update
sudo apt-get install chromium-browser

 

 

 

 

Install GEDIT:

 

 

 

sudo apt install gedit
gedit

 

 

 

 

Install x11-apps:

 

 

 

sudo apt install x11-apps
xeyes
xcalc

 

 

 

 

Make sure that XLaunch is running and before calling the Linux GUI Apps on Windows Desktop environment.

 

apps running.png

 

run gui apps wsl.gif

 

 

What about running Windows 10 Apps and Linux GUI Apps in the same Desktop?

 

Run the following command to launch the xfce-panel:

 

 

 

 

xfsettingsd --sm-client-disable; xfce4-panel --sm-client-disable --disable-wm-check &

 

 

 

What about accessing the Linux Desktop Environment via RDP?

 

The first thing that you need to do is to install a Linux Desktop Environment. I will user Xfce as it is a lightweight one.

 

Run the following commands to install Xfce:

 

 

 

 

sudo apt install xfce4

 

 

 

 

 

The next step is to install the xrdp that provides a graphical login to remote machines using RDP (Microsoft Remote Desktop Protocol).

 

 

 

 

sudo apt install xrdp

 

 

 

 

 

Type the following command to get the WSL IP address:

 

 

 

 

ip a

 

 

 

 

 

 

ip addr.png

 

Make sure that xrdp service is running:

 

start xrdp.png

 

Run the Remote Desktop Client (MSTSC) and type the WSL IP address to connect to xfce4:

 

mstsc.png

 

 

 

Done! Now you can access your favorite Linux IDE on WSL.

 

 

wsl rdp.png

 

wsl rdp 3.gif

 

 

Second option: X410 App

The app is available on Microsoft Store:

https://www.microsoft.com/store/productId/9NLP712ZMN9Q

 

X410.png

 

In the image below I am using the the X Server X410 App available in the Windows 10 store, that has a better graphic performance:

 

WinLinux.gif

 

 

X410 X Server App supports sound on Ubuntu 18.04. If you are using X410, please following the steps available at:

https://x410.dev/cookbook/wsl/enabling-sound-in-wsl-ubuntu-let-it-sing/

 

I only had to change the third step to use auth-anonymous instead of the auth-ip-acl:

 

load-module module-native-protocol-tcp auth-anonymous=1

 

More details here: https://github.com/microsoft/WSL/issues/4205

 

I defined the PULSE_SERVER environment variable too, as:

 

export PULSE_SERVER=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0;export PULSE_SERVER=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0

 

This is the code bat file that I am using to load X410:

 

@echo off
start /B x410.exe /wm
start "" /B "C:\wsl\pulseaudio\bin\pulseaudio.exe"

ubuntu1804.exe run "if [ -z $(pidof xfce4-panel) ]; then export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0;export PULSE_SERVER=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0; cd ~; xfsettingsd --sm-client-disable; xfce4-panel --sm-client-disable --disable-wm-check; taskkill.exe /IM x410.exe;taskkill.exe /IM pulseaudio.exe /F; fi;"

 

For more details about how to enable the xfce-panel steps, please check:

https://x410.dev/cookbook/wsl/xidekick/ 

 

Third option: Kali App

Kali Linux Windows Application is available on Microsoft Store:

https://www.microsoft.com/store/productId/9PKR34TNCV07

 

All you have to do is to install Kali from Store and run the following command from KALI editor:

 

 

kex wstart

 

 

kex wstart.png

 

The KALI environment will be loaded:

 

kali.png

 

With Kali, you don't have to worry about setting environment variables or starting services.

 

Follows the Kali page with more details:

Kali Linux in the Windows App Store | Kali Linux

 

 

In this post we see how to run GUI Linux Apps using XServer on Windows Desktop environment and how to access the full WSL Linux desktop environment.

 

I hope you liked!

 

 

65 Comments
MVP

I encountered an error after referencing this article.

 

(gedit:10261): Gtk-WARNING **: 15:32:39.217: cannot open display: 172.21.16.1:0

Microsoft

Thank you for the feedback Fan Su.

If you are using both the approaches described here, i.e., using XServer and xfce4, probably gedit is already opened in the xfce4. Please switch to xfce4 and close the opened Apps or do a sign out to close the Apps. Please let me know if it helped. 

Valued Contributor

When I saw the first picture, I thought it is Windows NT or older version of Windows.

I believe know, Linux users could just work inside Windows.

However, be very careful about security because in this case vulnerabilities in Linux could affect Windows , so be careful and make sure you always have the latest update.

MVP

Thank you @luisdem .I  have tried to access via xrdp but log in with an account password and automatically exit.I  think I gave up.

Microsoft

@Fan Su please don't hesitate to send me a step-by-step so I can try to help you. :)

I faced this once, but for me this happened because I forgot some Apps opened in the xrdp session. :(

By your error message, I am assuming that the $DISPLAY environment variable is correctly set, as it has a value. Other thing that you could try to do, is to restart the XLauncher App.

 

I hope that it helps!

Best Regards! Luis

MVP

@luisdem , Thank you a lot. I've reinstalled the VcXsrv and it's working now. But there are still some minor problems, such as network access failures

Snipaste_2020-07-03_17-51-40.png

 

However, RDP login still has a problem, enter the account password will be ejected and no error message.

Occasional Visitor

How do I configure this if I've done the tweak to configure bridge mode in WSL 2? The value returned from my /etc/resolv.conf is no longer auto generated by WSL and instead set to run directly off my network. Using localhost or the LAN IP of my host windows for the DISPLAY value has not worked.

 

EDIT: Scratch that, after creating this sacrificial post to guarantee my next attempt's success, using the LAN IP (with just :0 at the end instead of :0.0) and disabling access control makes it work!

Visitor

Hello, 

I'm trying to run GUI applications on my WSL terminal but I get this error: Error: Can't open display: 172.28.160.1:0

I noticed someone else was having the same issue, I tried reinstalling VcXrsv, but I still get the same error. 

 

I am running Windows 10 version 2004 (OS Build 19041.388)

Ubuntu 20.04
WSL Version 2 


Step by Step of What I'm doing:

  1. Launching VcXrsv
    1. Selecting Multiple Windows
    2. Setting Display number to -1 
    3. Press Next
    4. Selecting "Start no client"
    5. Press Next
    6. Checking "Disable access control"
    7. Press Next
    8. Press Finish
  2. Opening Ubuntu
    1. Run Command: export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"
    2. Run Command: echo $DISPLAY
      1. Ubuntu Terminal Outputs: 172.28.160.1:0
    3. Run Command: xeyes 
      1. I get the error:  Error: Can't open display: 172.28.160.1:0

 

UPDATE: Just fixed it. I went into Windows Firewall and gave VcXrsv an exception to both public and private networks. Thank you for writing this tutorial @luisdem !!!

 

Microsoft

Thank you very much @akamal816 for your feedbacks and the detailed information! I am really glad that you made it work! I will update the post with this information. Thanks!

Occasional Visitor

I've followed all of the steps as @akamal816 , including adding firewall exceptions, but am still running into `Error: Can't open display: 172.30.16.1:0`. I have confirmed that VcXsrv is running and working enough to start xcalc from the windows tray menu.

 

* I've confirmed in ipconfig that this is the correct IP address for WSL.

* I've tried completely disabling my firewall in case the rules were off.

* I've tried a handful of other configurations of VcXsrv, including adding the -ac option I've seen suggested in other locations.

* I've tried reinstalling VcXsrv.
* I've tried rebooting WSL. I'm trying to avoid wiping & reinstalling.
* I've tried rebooting.

 

I do not have a deep enough understanding of these tools to diagnose which pieces are/aren't working.

Microsoft

Hi @kmacdough , based on your message error, I think that the $DISPLAY variable is successfully set, as I can see the IP in the message and as it worked for the xcalc App.

 

But only to double-check it, please let me know if the value is different of null.

 

In case the $DISPLAY variable is correctly set, probably the Linux Desktop environment session is opened (in my case xrdp), in case you have installed and accessed it.

 

To double-check it, you need to connect to the Linux Desktop environment using the WSL IP address and MSTSC (remote desktop) and sign out:

 

ip a

 

Copy the WSL IP address and run the MSTSC (remote desktop) to access the Linux GUI environment.

 

Please let me know if it helps.

 

 

Occasional Visitor

@luisdemI've never set this up, but I'm attempting anyways just in case. Running ip a from within WSL, I see an inet address for eth0. Is this the one you're referring to? If so, MSTSC was unable to connect.

Occasional Visitor

To clarify, xcalc only works when run directly from VcXsrv menu in windows tray, not when run from WSL prompt. I am currently using ConEmu if that's relevant.

 

Also, to be clear:

....$ echo $DISPLAY
172.30.16.1:0
Microsoft

@kmacdough , thank you for the detailed info.

So, does it not work when you access from WT, like this?

luisdem_0-1595283045731.png

 

Notice that XLaunch must be running.

 

Microsoft

@kmacdough , follows the IP that I am using on MSTSC:

 

luisdem_0-1595283161635.png

 

Occasional Visitor

@luisdemI've figured it out. xrdp was not the issue. The initial post I referred to used " /sbin/ip route" which gives a different IP :facepalm:. Updating the .bashrc & re-sourcing fixed the problem. I'm a dummie. Thanks!

 

EDIT: My real mistake was not finding this post to start with :)

Microsoft

@kmacdough , I am really glad that it works!!!!!! :)

Occasional Visitor

Just to save time on googling to other Ubuntu newbies like me: I had only terminal with no GUI originally.

The following command adds the required 'export DISPLAY' command to the end of bash.bashrc file. Note that I had to switch to super user (root), because of the 'permission denied' error for my regular user (student):

student@GARAVSKY-NB-W10:~$ sudo -s
[sudo] password for student: 
root@GARAVSKY-NB-W10:/home/student# echo $'export DISPLAY=\"`grep nameserver /etc/resolv.conf | sed \'s/nameserver //\'`:0\"' >> /etc/bash.bashrc

You can make sure that the line is correctly added using the following command:

cat /etc/bash.bashrc 

If you added a wrong line, the following command removes the last line from this file:

sed -i '$ d' /etc/bash.bashrc

Finally, you can return back to regular user (student) with the following command:

sudo -u student -s

Finally, when you ran these commands, start "c:\Program Files\VcXsrv\xlaunch.exe"  from the location where you installed it. This will help you configure the X server as shown in the first screenshots - it was not clear to me from the beginning of this article (probably it should be mentioned explicitly).

Then I saved the configuration to "c:\Program Files\VcXsrv\config.xlaunch"  and started it. If this happens to you too, look for the app icon in the system tray (right bottom of the taskbar).

Visitor

Adding this comment here to help those who had the error 

 

Error: Can't open display: 192.168.43.1

(which is my IP address) or maybe ones who had multiple IP Addresses shown when you check the $DISPLAY variable.

 

Right click on the VcXsrv icon in the taskbar and click on Show log.

sudevssuresh_0-1595927273745.png

 

In the notepad that opens, look for the line 

winClipboardThreadProc - DISPLAY = 127.0.0.1:0.0

Dunno if that IP Address will be different for others, but yes, copy that. Don't copy the port number. In this case 127.0.0.1 

 

Now in you WSL Terminal, type

sudo nano /etc/resolv.conf

In the text editor that opens, delete whatever appears after 'nameserver' and paste the above IP Address. Press Ctrl+O, Enter, and Ctrl+X to save and close the editor.

 

Then type, 

export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"

and proceed as per the tutorial. This is what I did when I was stuck. Hope it works.

Cheers.

 

Visitor

Thank you for this very detailed tutorial! Unfortunately, I am having trouble getting this to work despite following all the steps here. echo $DISPLAYNAME shows "xxx.xxx.128.1:0" (numbers masked), and I've launched VcXsrv with the Disable Access Control box checked and after having enabled both public and private connections in the Firewall app (which I did not do when initially installing and launching VcXsrv). I tried launching it with both display port -1 and 0, but in all cases trying to launch xcalc from the Ubuntu terminal results in the error

 

Error: Can't open display: xxx.xxx.128.1:0

 

I installed xrdp and attempted to connect to the IP address from "ip a", "xxx.xxx.133.232, in the same /16 as the previous address, but after entering my username and password it exits abruptly.

Visitor

Oh, I figured this out just a bit after my post. Even though I went back into Windows Defender in the suggested path

Windows Security -> Firewall & network protection -> Allow an app through firewall -> make sure VcXsrv has both public and private checked.

 

and selected public (which I'd omitted on the original pop-up screen), and hit OK, this didn't seem to take. I went into the advanced Firewall settings and deleted all the inbound rules for VcXsrv. This made the defender popup box appear again, I selected private and public, and now everything works great.

Microsoft

@jwimberl, I am glad that it worked!!!!! Thank you very much for your feedback!!!! :)

Microsoft

@sudevssuresh , thank you very much for sharing more details!!!!! :)

Microsoft

@luisdem you are my man of the hour! I was just looking for someway to make this happen.

Would you know if Plasma or LXQT will also work via this method. I plan on trying one this weekend.

EDIT: spoke too soon. I am having issues rdping to to wsl.

 

I have installed xfce and slim and started the slim service.

I also have vcxsrvr running. I am able to render xeyes on my windows desktop without issues.

rishavsharan_0-1596203723675.png

but when I try to rdp into wsl, i get the xorg login screen;

rishavsharan_1-1596203801058.png

And when I login, I get this error

rishavsharan_2-1596203825665.png

 

 

Microsoft

Hi @rishavsharan , thank you very much for your feedback! :)

 

I am facing the same issue in a machine with Ubuntu 20.04. What Ubuntu version are you using?

 

On Windows 10, it is possible to have more than one Linux distro installed. I have both 18.0 an 20.4 installed:

 

linux.png

 

You need to stop the xrdp service on Ubuntu 20.04:

 

sudo service xrdp stop

And start the same on 18.04 :

 

sudo service xrdp start

It worked after that.

 

Please let me know if it is your same scenario.

 

 

 

 

 

 

 

Microsoft

Hey @luisdem I am indeed on Ubuntu 20.04.1 LTS

I will give 18.0 a try and report back with my results.

EDIT:

On 18.0 I am able to get LXQT to work properly.  As long as my vcxsrv window is open, it works as the OS window.

All you need to do is install lxqt and sddm by

```

sudo apt install lxqt sddm

```

and then start the desktop manager using

```

sudo service sddm start

```

Sound is not working but it is something I will investigate.

rishavsharan_0-1596293781276.png

 

Microsoft

@rishavsharan I am glad that you made it work!

 

Related to the sound issue, I only could make it work using the X410 X Server App and following the steps available at:

https://x410.dev/cookbook/wsl/enabling-sound-in-wsl-ubuntu-let-it-sing/

 

I had to change the third step to:

 

load-module module-native-protocol-tcp auth-anonymous=1

 

I defined the PULSE_SERVER environment variable too, as:

 

export PULSE_SERVER=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0;export PULSE_SERVER=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0

 

satya youtube.png

 

This is the code bat file that I am using to load X410

 

@echo off
start /B x410.exe /wm
start "" /B "C:\wsl\pulseaudio\bin\pulseaudio.exe"

ubuntu1804.exe run "if [ -z $(pidof xfce4-panel) ]; then export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0;export PULSE_SERVER=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0; cd ~; xfsettingsd --sm-client-disable; xfce4-panel --sm-client-disable --disable-wm-check; taskkill.exe /IM x410.exe;taskkill.exe /IM pulseaudio.exe /F; fi;"

I need to investigate how to make it work on XLaunch.

 

Microsoft

I am actually good without sound for now as I plan to use wsl mostly for dev work.

Just wanted to add one more way of running the desktop. You don't really need xrdp at all.

 

Here are all the steps for lxqt (and hopefully any other desktop)

  1. Open bash. do `sudo apt update` and then install lxqt `sudo apt install lxqt sddm`
  2. in bash type `export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"`
  3. open up vcxrv
  4. and then in the bash type `startlxqt` (or startxfce4). 

That alone should be able to start the desktop env in the vcxsrv.

Visitor

I followed the steps outlined in the article, but I kept getting "Can't open display" messages.

 

Eventually I've figured out that there were 2 issues in my case:

  1. Grepping IP-address from resolv.conf did not work since nameserver address was different from my IP-address (I also had to manually fix the nameserver address in resolv.conf, since the auto-generated one did not work). I had to look up my actual IP-address by running `ipconfig` in PowerShell. Use the one associated with your machine (not the WSL one).

  2. The firewall settings described in the article were incomplete. I also had to click on "Public network" (which was active in my case) and uncheck "Block all incoming connections, including those in the list of allowed apps".

 

Maybe it's worth mentioning these options in the text.

Microsoft

Thank you @IgorGayday !!!!! :)

Occasional Visitor

Hi,

当我运行 chrome 时,发现显示的文字乱码,报错信息如下,希望能提供一些帮助,谢谢

(base) hao@LAPTOP-0EJFF4VB:~$ google-chrome
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[35:90:0807/210641.794253:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[35:104:0807/210641.968952:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[35:104:0807/210641.969000:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[99:99:0807/210642.031354:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
[35:104:0807/210642.032102:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

greedyhao_0-1596805699754.png

 

Microsoft

Thank you for the feedback @greedyhao !

Yes, the same happens here. Probably that will fixed in the version that Microsoft will implement the X Server feature.

 

WSLChromiumGIF.gif

 

Occasional Visitor

Im having problems with the step where we put the command at the end of /etc/bash.bashrc. I already put the command but when i try to run it its say "Error: Can't open display:" i really dont want to put this command everytime i have to run a GUI app. what can i do?Annotation 2020-08-19 235539.jpg

Occasional Visitor

Thanks @luisdem this post has been really helpful.

I have it all up and running, although the resolution in the linux windows is much less than the native windows. Is there a way of fixing this?

Regular Visitor

Thanks for the great article, but I am confused.   I do not understand how or why the following should work:

 

export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"

 

I have VcXxerv  and there are only two ip addresses by which I can get at it  one is  localhost and the other is the ip of my windows host machine NIC

 

Can someone please help me understand what is going on, thanks

 

 

 

 

Occasional Visitor

@steve_bovy I found that command didn't give me the right address, either.  Instead I ran "ipconfig" (in powershell or "command") and used second IPv4 address:

 

>ipconfig

Windows IP Configuration


Ethernet adapter vEthernet (WSL):

IPv4 Address. . . . . . . . . . . : xxx.xxx.xxx.xxx

 

Ethernet adapter Ethernet:

IPv4 Address. . . . . . . . . . . : 192.168.1.75    <------- use this one for DISPLAY

Microsoft

Hi @BartonBond, thank you for your great feedback!
X410 App has a better performance and graphics than VcXsrv, but it isn't 100% yet.

Microsoft is working in a X Server version that will have a great graphics support. :D

Regular Visitor

On the issue of getting the Windows Host IP-ADDRESS I would like to suggest using  "nslookup.exe"

 

Try this:  @homedesk:~$ nslookup.exe

 

Then This :  @homedesk:~$ nslookup.exe $HOSTNAME | grep Name
Name: homedesk.local.lan

 

Then This: 

 

export DISPLAY="`nslookup.exe $HOSTNAME | grep Name | sed -e 's/Name: //' -e 's/\r//'`:0"

 

And for  starting xrdp 

 

echo MYUSER |  sudo -S service xrdp start

 

 

Senior Member

Hi, I'm using Ubuntu 20.04 LTS, I have installed VcXsrv , xfce4 and xrdp.  The command "sudo startxfce4" start the GUI, but Remote Desktop doesn't work, it opens the window and shows Xorg as session type, I insert the login user name and password and then the window just close. Any help is appreciated.

Thanks, Marco

Microsoft

Hi @mrcgrg , please make sure that the xrdp service is running.

 

xrdp status start.png

Microsoft

@juancv3d ,

 

Please make sure that the DISPLAY environment has an IP:

 

echo $DISPLAY

 

In case it hasn't, please double check that the X Server App is running and that the firewall exception is set.

Occasional Visitor

Kudos for the excellent integration of WSL2 finally in the latest release version of Windows, leaving finally I can stop using Insider builds.

As a Linux software developer now experimenting with Windows development, I can't wait to see the Microsoft X-Server version being integrated as soon as possible as a Windows service and left to install third party applications and to support native Windows resolutions.

Regular Visitor

Good News !!!

 

New release  20H2   includes   wsl2  'localhost' fix 

Regular Visitor

WSL2  Wish-List Feature Fix ??  { I know this is not the correct forum for this request }

I am just sounding off :) 

 

PROBLEM DESCRIPTION: "DOUBLE TROUBLE"

 

NON UNIQUE WSL2 HOST NAME CREATES UNNECESSARY  "NAME RESOLUTION"  CONFUSION  WHICH CAN CURRENTLY ONLY BE WORKED

AROUND BY USING FULLY-QUALIFIED HOST NAME

 

Example of   problem   (Accessing  Windows Host X-Serv) 

 

The following will not work:   DISPLAY=HOSTNAME:0

 

THE WORK AROUND IS  DISPLAY=HOSTNAME.WINHOST-DOMAIN:0

 

Additional  wsl.conf   Network   Keywords  ??

 

Allow custom configuration of  HOSTNAME  file   so  that  WSL2 VM  machine network name is unique and different from windows

host machine name  (  I would prefer the default to be the linux distribution name )  this would of course impact the HOST file as well

 

 

Senior Member

Hi @luisdem , the xrdp is running but the login fails. I have tried this (172.24.97.149 is the IP address of Ubuntu), but it doesn't  work

 

marco@DP5820:~$ export DISPLAY=172.24.97.149:0
marco@DP5820:~$ sudo startxfce4
[sudo] password for marco:
/usr/bin/startxfce4: X server already running on display 172.24.97.149:0
xrdb: Connection refused
xrdb: Can't open display '172.24.97.149:0'
Unable to init server: Could not connect: Connection refused
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.

 

The Xorg.0.log file shows this error:

 

[ 4826.410] (EE) open /dev/fb0: No such file or directory
[ 4826.410] (EE) No devices detected.
[ 4826.410] (EE)
Fatal server error:
[ 4826.411] (EE) no screens found(EE)
[ 4826.411] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 4826.411] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 4826.411] (EE)
[ 4826.411] (EE) Server terminated with error (1). Closing log file.

 

Thanks, Marco

Senior Member

Hi @luisdem, the xrdp.log file shows that the connection is ok, but then just close the socket and disconnect:

 

[20200826-15:58:37] [DEBUG] xrdp_00000a3f_wm_login_mode_event_00000001
[20200826-15:58:37] [INFO ] Loading keymap file /etc/xrdp/km-00000410.ini
[20200826-15:58:37] [WARN ] local keymap file for 0x00000410 found and doesn't match built in keymap, using local keymap file
[20200826-15:58:44] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20200826-15:58:44] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20200826-15:58:44] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20200826-15:58:44] [DEBUG] return value from xrdp_mm_connect 0
[20200826-15:58:44] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20200826-15:58:44] [DEBUG] xrdp_wm_log_msg: started connecting
[20200826-15:58:44] [INFO ] lib_mod_log_peer: xrdp_pid=2623 connected to X11rdp_pid=2626 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:172.23.32.1 client_port=58172
[20200826-15:58:44] [DEBUG] xrdp_wm_log_msg: connected ok
[20200826-15:58:45] [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
[20200826-15:58:45] [DEBUG] Closed socket 17 (AF_INET6 ::1 port 39438)
[20200826-15:58:45] [DEBUG] Closed socket 11 (AF_INET6 ::ffff:172.23.40.174 port 3389)
[20200826-15:58:45] [DEBUG] xrdp_mm_module_cleanup
[20200826-15:58:45] [DEBUG] Closed socket 18 (AF_UNIX)
[20200826-15:58:45] [DEBUG] Closed socket 19 (AF_UNIX)

 

Thanks, Marco

Senior Member

Hi @luisdem, it seems that X is not running on display 10. Thanks, Marco

Senior Member

Hi @luisdem, I solved the problem modifying the  startwm.sh file. I commented out this two lines:

 

#test -x /etc/X11/Xsession && exec /etc/X11/Xsession
#exec /bin/sh /etc/X11/Xsession

 

and I added this line:

startxfce4

 

Now RDP connection work fine with xorg session type.

Thanks, Marco

Regular Visitor

**  PROBLEM WITH XRDP AND SYNAPTIC **

 

I order for synaptic to update your system you must run  as root , but when I try to use synaptic with xrdp I get the following:

 

bovy@homedesk:~$ sudo synaptic
[sudo] password for bovy:
No protocol specified
Unable to init server: Could not connect: Connection refused
Failed to initialize GTK.

Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without root permission

 

Visitor

thx for this guide and your answers to comments. I also ran into problem with xrdp/remote desktop using Ubuntu20.4. I would get the Xorg login fine. then it would die with the following message. I switched to using Ubuntu18.4 as you said then it's fine.

 

 

20200829_RDP_Ubuntu20.4.jpg