Run Linux Apps with Frontend in Windows through CygwinX



Say you work somewhere where all workstations run Linux, only you have Windows on your laptop, which you basically use all the time. Now as I type this, I am not sure if anyone else shares my fate. Anyway; this does not stop you from running some of the cool Linux tools. Just install <a href="http://x.cygwin.com/" target="_blank">CygwinX</a> (through the regular <a href="http://www.cygwin.com/" target="_blank">Cygwin</a> installer) and start the XServer from the start menu. Icons will appear in your taskbar and you can start an XTerm. Inside that XTerm, type: ```bash rattle@windows.box$ ssh -Y rattle@linux.box Password: Last login: Thu Sep 17 12:43:19 2015 from windows.box rattle@linux.box$ xmaple ``` and there you go! <figure id="attachment_3473" aria-describedby="caption-attachment-3473" style="width: 300px" class="wp-caption aligncenter"><a href="http://blag.nullteilerfrei.de/wp-content/uploads/2015/09/maple.on_.windows.png"><img fetchpriority="high" decoding="async" src="http://blag.nullteilerfrei.de/wp-content/uploads/2015/09/maple.on_.windows-300x188.png" alt="Maple on Windows" width="300" height="188" class="size-medium wp-image-3473" srcset="https://blag.nullteilerfrei.de/wp-content/uploads/2015/09/maple.on_.windows-300x188.png 300w, https://blag.nullteilerfrei.de/wp-content/uploads/2015/09/maple.on_.windows-1024x640.png 1024w, https://blag.nullteilerfrei.de/wp-content/uploads/2015/09/maple.on_.windows.png 1920w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-3473" class="wp-caption-text">Maple on Windows</figcaption></figure> The `-Y` switch is the one that does all the magic, obviously.

Tags: - - - -

One Reply to “Run Linux Apps with Frontend in Windows through CygwinX”

  1. I'd recommend using -X instead of -Y whenever possible, unless you completely trust the remote box. -Y turns off the X11 Security Extension and gives the X11 client full access to your X11 display, including keystroke monitoring.

Leave a Reply

Your email address will not be published. Required fields are marked *