Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.