Wine doesn't do X11, does it?

Questions about Wine on Linux
Locked
w91745
Newbie
Newbie
Posts: 4
Joined: Mon May 14, 2012 1:18 pm

Wine doesn't do X11, does it?

Post by w91745 »

We have a box running Enterprise Redhat that several people SSH into. If we installed Wine on it and a windows application, does Wine automagically let us run the GUI of the application via X Window System? Didn't think so, but had to ask....
John Drescher

Wine doesn't do X11, does it?

Post by John Drescher »

On Mon, May 14, 2012 at 2:51 PM, w91745 <[email protected]> wrote:
We have a box running Enterprise Redhat that several people SSH into. If we installed Wine on it and a windows application, does Wine automagically let us run the GUI of the application via X Window System? Didn't think so, but had to ask....
I am unsure what you are asking. Wine will let you run windows
applications (not all but a lot - check appdb.winehq.org) on linux and
ones with GUIs will run under the X window system.

John
w91745
Newbie
Newbie
Posts: 4
Joined: Mon May 14, 2012 1:18 pm

Re: Wine doesn't do X11, does it?

Post by w91745 »

John Drescher wrote:I am unsure what you are asking. Wine will let you run windows applications (not all but a lot - check appdb.winehq.org) on linux and ones with GUIs will run under the X window system.
Sorry, let me ask my Q this way:

Let's say I install Wine + TextPad (a Windows text editing app) on our Linux box.

Can I log into our box remotely, launch TextPad, and have it show on my local desktop via X11? (Assuming I'm running an X server on my local desktop).

Sorry if this is a dumb question.

And thanks for that URL. I see several apps there useful for us.
John Drescher

Wine doesn't do X11, does it?

Post by John Drescher »

Let's say I install Wine + TextPad (a Windows text editing app) on our Linux box.

Can I log into our box remotely, launch TextPad, and have it show on my local desktop via X11? (Assuming I'm running an X server on my local desktop).
I understand the question now however I have never ever tried that so
I am not sure what will happen. Someone else will have to answer
that..

John
mangan88
Newbie
Newbie
Posts: 3
Joined: Mon May 14, 2012 12:34 pm

Post by mangan88 »

Looks like the key word here is remote X11.

https://help.ubuntu.com/community/Wine# ... 1_sessions

Appears to have a link to some resources to allow you to do what you need. It basically requires an addition to wine's regedit.exe to allow the window to be drawn, if I'm reading it properly. Hope that helps!
w91745
Newbie
Newbie
Posts: 4
Joined: Mon May 14, 2012 1:18 pm

Post by w91745 »

Thanks John D & Mangan88!
Bruno Jesus

Wine doesn't do X11, does it?

Post by Bruno Jesus »

On Mon, May 14, 2012 at 4:13 PM, w91745 <[email protected]> wrote:
Sorry, let me ask my Q this way:

Let's say I install Wine + TextPad (a Windows text editing app) on our Linux box.

Can I log into our box remotely, launch TextPad, and have it show on my local desktop via X11? (Assuming I'm running an X server on my local desktop).
Yes, if you mean forwarding X through ssh -X. You can run mostly every
program remotely by doing that. I have done that during remote debug
sessions.
Martin Gregorie

Wine doesn't do X11, does it?

Post by Martin Gregorie »

On Mon, 2012-05-14 at 15:23 -0400, John Drescher wrote:
Let's say I install Wine + TextPad (a Windows text editing app) on
our Linux box.
Can I log into our box remotely, launch TextPad, and have it show on
my local desktop via X11? (Assuming I'm running an X server on my
local desktop).

I understand the question now however I have never ever tried that so
I am not sure what will happen. Someone else will have to answer
that..
Yes, if you have ssh/sshd configured to allow X.11 port forwarding from
the host running Wine, then the Windows app's display will appear on
your local machine.

I do that all the time with my RH Fedora boxes. If you can start, say a
web browser or the GIMP on the remote host and control the program from
your display and keyboard, then Windows apps under Wine can do the same.

Martin
w91745
Newbie
Newbie
Posts: 4
Joined: Mon May 14, 2012 1:18 pm

Cool!

Post by w91745 »

Thanks Bruno & Martin. That was the answer I was hoping to hear.
Locked