SSH seems to work in powershell but x11 doesn't

%3CLINGO-SUB%20id%3D%22lingo-sub-236570%22%20slang%3D%22en-US%22%3ESSH%20seems%20to%20work%20in%20powershell%20but%20x11%20doesn't%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-236570%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20ConEmu%20working%20with%20powershell%20quite%20nicely%20now.%20I%20recently%20tried%20using%20%3CSSH%20remotehostname%3D%22%22%3E%20and%20because%20I%20have%20my%20own%20.ssh%2Fconfig%20file%2C%20public%20keys%2C%20etc...%20setup%20it%20works%20like%20a%20champ.%20However%2C%20whenever%20I%20want%20to%20open%20an%20application%20on%20the%20remote%20(while%20in%20a%20ssh%20session)%20it%20does%20not%20forward%20x11%20which%20doesn't%20allow%20me%20to%20see%20the%20GUI.%20What%20can%20I%20do%20to%20troubleshoot%20this%3F%3C%2FSSH%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20attached%20(err.png)%20the%20console%20output%20whenever%20I%20try%20to%20launch%20this%20GUI%20based%20application%20(which%20happens%20to%20be%20an%20IDE)%20using%20powershell.%20You%20can%20see%20that%20it%20says%20%22Eclipse%3A%20Cannot%20open%20display%3A%20%22.%20I'm%20stuck%20on%20how%20to%20proceed%20here.%20If%20you%20would%20be%20so%20kind%20to%20explain%20in%20detail%20how%20I%20might%20resolve%20to%20provide%20further%20debugging%20information%20it%20would%20be%20appreciated.%20I'm%20not%20to%20familiar%20with%20Powershell%20as%20I'm%20always%20working%20from%20within%20linux.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20411px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F43676iA0D771C55C013C94%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22err.PNG%22%20title%3D%22err.PNG%22%20%2F%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20important%20to%20mention%20that%20I%20have%20cygwin64%20running%20perfectly%20allowing%20me%20to%20use%20ssh%20and%20X11%20forwarding%20just%20fine.%20I%20can%20start%20any%20GUI%20based%20application%20on%20my%20remote%20host%20through%20a%20ssh%20session%20without%20any%20problems.%20For%20completeness%20I'm%20attaching%20(err2.png)%20the%20console%20output%20that%20appears%20from%20within%20cygwin64%20when%20I%20perform%20the%20same%20steps%20as%20above.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20328px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F43677iED8C26906C0F5973%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22err2.PNG%22%20title%3D%22err2.PNG%22%20%2F%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20see%20the%20same%20error%20appears%20regarding%20%22cairo%22.%20Therefore%2C%20this%20package%20%22cairo%22%20is%20not%20the%20issue%20because%20the%20GUI%20application%20is%20forwarded%20by%20X11%20perfectly%20showing%20up%20on%20my%20display.%20Any%20ideas%20to%20why%20powershell%20is%20not%20working%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-236570%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

I have ConEmu working with powershell quite nicely now. I recently tried using <ssh remotehostname> and because I have my own .ssh/config file, public keys, etc... setup it works like a champ. However, whenever I want to open an application on the remote (while in a ssh session) it does not forward x11 which doesn't allow me to see the GUI. What can I do to troubleshoot this?

 

I've attached (err.png) the console output whenever I try to launch this GUI based application (which happens to be an IDE) using powershell. You can see that it says "Eclipse: Cannot open display: ". I'm stuck on how to proceed here. If you would be so kind to explain in detail how I might resolve to provide further debugging information it would be appreciated. I'm not to familiar with Powershell as I'm always working from within linux.

err.PNG 

 

It's important to mention that I have cygwin64 running perfectly allowing me to use ssh and X11 forwarding just fine. I can start any GUI based application on my remote host through a ssh session without any problems. For completeness I'm attaching (err2.png) the console output that appears from within cygwin64 when I perform the same steps as above.

err2.PNG 

 

You can see the same error appears regarding "cairo". Therefore, this package "cairo" is not the issue because the GUI application is forwarded by X11 perfectly showing up on my display. Any ideas to why powershell is not working?

0 Replies