Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been digging around looking for an answer to my question but have no been able to come up with anything.

I know that xming server allows you to transparently run linux applications on windows through ssh window forwarding, but can it do the opposite and connect from the linux box to the windows box and display the windows apps in linux using this protocol?

I am thinking this is a one way ticket but I was hoping it was possible.

share|improve this question
up vote 4 down vote accepted

Depends on the Windows program, but generally, no.

The reason those linux programs can throw up their display on a PC is because they are written for the X Window System, which completely separates the client from the display server.

X has been ported to virtually every system out there, and is the defacto standard for grpahical programs on Unix/Linux variants. More specifically, any program that linked against Xlib would work in the other direction just fine. So if you were running, say, GNU Emacs in a Cygwin/X environment on Windows, you could put that program's display on Linux no problem.

But generally, no: your classic win32 programs (say, anything that ships with Windows, or Office, or your web browser, games, etc) are not going to be able to ship their display to an X Server, because they are not using Xlib at all.

What you can do is run an RDP client to let you log into the Windows desktop and run a full desktop session (but admittedly, that's quite a different solution that displaying individual programs).

share|improve this answer
see also the -A option to rdesktop. – derobert May 8 '13 at 22:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.