[Wine] How to open apps...

Martin Gregorie martin at gregorie.org
Thu May 7 15:28:15 CDT 2009


On Thu, 2009-05-07 at 14:03 -0500, Austin English wrote:
> On Thu, May 7, 2009 at 1:56 PM, Kaboo <wineforum-user at winehq.org> wrote:
> >
> >>
> >> Just as you would in windows. Close the program.
> >
> > Is there any command? Because i will open it remotely, with Putty, no graphical things, hehe.
> 
> Wine requires X to run.
> 
... or you can use VNC provided you have either vncviewer or Java
installed on your Windows PC. If Java, you need a browser that can run
Java applets, e.g. FireFox.

T start VNC, login to the directory that contains WINE with PuTTY, run:
vncserver

and make a note of the desktop number it says it will use (usually 1).
You can logout from PuTTY or not, as you please. 

If you have vncviewer, start it:

vncviewer

When prompted, enter "hostname:n" where 'n' is the desktop number.
Now it will prompt for the password for the login where you ran
vncserver. When that's accepted it will open a desktop for your remote
host.

Alternatively, fire up your web browser and type in the url
"hostname:580n" where 'n' is the desktop number (usually 1). The browser
will show a VNC banner page and pop yo a dialogue box showing
"hostname:n". Click OK and another popup appears, asking for the login
where you ran vncserver. When that's accepted it will open a desktop for
your remote host.

To close either desktop, click its 'close' icon. You can leave vncserver
running and close and reopen the desktop as many times as you want.

vncserver will keep running until you either reboot the host or login
again via PuTTY and stop it by running:

vncserver -kill :n

where 'n' is the desktop number.

VNC's desktop defaults to xfce and opens a terminal window on starting,
where you can type the wine command, etc. When an app wants to open a
window, a ghost window trails from the mouse pointer: click where you
want to put its top left corner on the VNC desktop. If you like VNC but
not xfce, you can configure it to use Gnome or KDE instead, but two
thinks to note: (1) accept the default desktop size and (2) you'll find
the colours are relatively poor because VNC only uses 16 bit colour.  


HTH
Martin





More information about the wine-users mailing list