How do I X forward a Windows application to a Linux system using ssh?

Posted by triunenature on Ask Ubuntu See other posts from Ask Ubuntu or by triunenature
Published on 2012-09-04T07:43:03Z Indexed on 2012/09/04 9:49 UTC
Read the original article Hit count: 288

Filed under:
|

Ok, so if I have two Linux Machines (A and B) and I have a program on one, and want to run it on be I do:

  • user@LinuxA:~$ ssh -X LinuxB
  • user@LinuxB:~$ programName

(Displays on LinuxA machine)


Ok same thing, WindowsA LinuxB (Program on Linux)

  1. Start Xming X Server on Windows
  2. Run Putty, use x11 port forward with :0.0
  3. After connect to LinuxB, run program, it loads in Windows!

Now here is the question, WindowsA LinuxB, (Program on Windows)

Run Windows Program On Linux, using a windows resources.

How to make it work? BTW, I know it can because years ago, I read a white paper on it, but never actually tested it out.

© Ask Ubuntu or respective owner

Related posts about x11

Related posts about x11-forwarding

  • How to use X11 forwarding with putty

    as seen on Super User - Search for 'Super User'
    I have a VM with RHEL 5 without an X server. My host has Windows 7. I need to connect to the VM and redirect the X11 output of the commands to my host. I know that if my host were a GNU/Linux machine it would be as easy as ssh -X . I'm ussing PuTTy to connect by SSH to the VM, I tried enabling… >>> More

  • fast X11 forwarding

    as seen on Super User - Search for 'Super User'
    Hi, I am using ssh -X to display GUI apps locally. Is there a better way to speedup this processes - something similar what NoMachine Nx server / client does? Thanks, Mariusz. >>> More

  • failed to enable x11 forwarding

    as seen on Super User - Search for 'Super User'
    I am trying to enable X11 forwarding on my server which is running on FreeBSD 7.1. I have a putty installed in my windows in which i have enabled X11 forwarding by checking on Enable X11 forwarding and specifying following parameter X display location localhost:0 after that i run… >>> More

  • failed to enable x11 forwarding

    as seen on Super User - Search for 'Super User'
    I am trying to enable X11 forwarding on my server which is running on FreeBSD 7.1. I have a putty installed in my windows in which i have enabled X11 forwarding by checking on Enable X11 forwarding and specifying following parameter X display location localhost:0 after that i run… >>> More

  • ssh xauth error Mac OS 10.6.3

    as seen on Super User - Search for 'Super User'
    Whenever I ssh with X11 forwarding to a remote box from my macbook I get the following error after a few seconds pause: Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. Any ideas on how to fix… >>> More