On Fri, May 15, 2009 at 15:06, vitamin <wineforum-user@xxxxxxxxxx> 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@localhost This should allow you to run applications as the other user in your current X session. Gert