[Wine] Start two wine instances for two users
Gert van den Berg
wine-users at mohag.net
Fri May 15 10:31:24 CDT 2009
On Fri, May 15, 2009 at 15:06, vitamin <wineforum-user at winehq.org> wrote:
> jefrie wrote:
>> Application tried to create a window, but no driver could be loaded.
>> Make sure that your X server is running and that $DISPLAY is set correctly.
>> err:ole:apartment_createwindowifneeded CreateWindow failed with error 1114
> Exactly what it says.
> One of the the thing 'su' does is removing all the environment variables. And without $DISPLAY defined nothing can connect to your current X session.
a work-around might be to enable XForwarding in your sshd_config and run:
ssh -X user2 at localhost
This should allow you to run applications as the other user in your
current X session.
More information about the wine-users