How (or can) I ---

Mike Rambo mrambo@lsd.k12.mi.us
Wed, 27 Jun 2001 14:13:05 -0400


Thanks for all the suggestions!

Ben Pfaff wrote:
> 
> Mike Rambo <mrambo@lsd.k12.mi.us> writes:
> 
> > start an app that runs under Wine automatically?
> 
> My first guess, not knowing much about Wine or about your
> application:
> 
> #! /bin/sh
> exec wine /path/to/application


This is how I normally start this process but it only works _after_ I
log into the GUI (either this app or wine requires a X server
connection). Manually logging in to the GUI is possible I suppose, but
is undesirable as we are limited in the ability to remotely manage the
server. I would prefer this to start automagically upon boot from
rc.local or some such.

Adam's suggestion has gotten me close. I have the vnc server running on
the box in question. When I 'wine /path/to/app -display localhost:1'
things start happening - among them an error that reads "extension
'XFree86-VidModeExtension' missing". The strange thing is that if I run
the vncviewer as a different user at this point, I find that the FAIRCOM
service I'm trying to start is waiting for a mouse click to place it on
the screen in the X session I'm viewing. It is unclear right now whether
it actually working at that point but I suspect not. I'm not real sure
yet whether it even works _after_ I place it on the virtual desktop. I
cannot find any XFree86 rpm's that appear to be related to the
VidModeExtension thing so I don't know what to do with that. Also, I
still have to deal with starting this whole thing from rc.local as a
normal user as the codeweavers version of wine will not work as root (I
assume for security).

Any further idea's?


-- 
Mike Rambo
mrambo@lsd.k12.mi.us