Question: How to kill a Windows application that runs with wine? I have installed new stable version of wine for Debian. Then the Windows application starts OK but hangs for some reason (its the application logic fault). However I can't see any way to close the application window or to kill the application. I tried as in documentation: # wineserver -k bash: wineserver: command not found I also checked: # ls -l /usr/bin/wineserver ls: cannot access /usr/bin/wineserver: No such file or directory #which wineserver # However, the process is running: ps -A | grep wine 2232 ? 00:00:04 wineserver 2250 ? 00:00:00 winedevice.exe This time I did: # kill -9 2232 But it left messed remains of the application window graphics and I think this is not the way to go: I'd like wine to kill one of its applications and not kill the whole wineserver. So, how to do it?
On Thu, May 26, 2011 at 07:58, drazone <wineforum-user at winehq.org> wrote:> Question: How to kill a Windows application that runs with wine? > > I have installed new stable version of wine for Debian. Then the Windows application starts OK but hangs for some reason (its the application logic fault). However I can't see any way to close the application window or to kill the application. I tried as in documentation: > > # wineserver -k > bash: wineserver: command not foundCheck the installed package files (e.g. "dpkg -S wineserver") Check your PATH (maybe it was installed in /usr/local/bin or similar; normally it should be in the same place as the wine binary) If locate is installed, try 'updatedb' then 'locate wineserver'.> I also checked: > # ls -l /usr/bin/wineserver > ls: cannot access /usr/bin/wineserver: No such file or directory > #which wineserver > # > > However, the process is running: > ps -A | grep wine > ?2232 ? ? ? ? ?00:00:04 wineserver > ?2250 ? ? ? ? ?00:00:00 winedevice.exe > > This time I did: > # kill -9 2232 > > But it left messed remains of the application window graphics and I think this is not the way to goKill winedevice.exe as well>: I'd like wine to kill one of its applications and not kill the whole wineserver. > > So, how to do it?You can try "wine taskmgr" (doesn't seem to work for me, though) Alternatively, use different wineprefixes
On Thu, 2011-05-26 at 00:58 -0500, drazone wrote:> Question: How to kill a Windows application that runs with wine? >Did you try clicking the 'Close Window' icon in the app window's title bar? That usually works for me (Fedora 13/14, Gnome). There is usually a pause of several seconds and then a dialogue box appears asking whether you want to wait or force a quit. Forcing quit generally cleans up pretty well, though its worth opening a terminal window and running ps -u $USER to see if anything is left that shouldn't be there. If there is, you can try logging out and in again and/or using 'kill -9 ' to get rid of the unwanted processes: it won't kill processes you don't own. If you accidentally mess up your login session by killing something you shouldn't, logging out and in should fix that. Martin
Apparently Analagous Threads
- Two servers One virtual desktop
- Wineserver causing heavy CPU load
- Fwd: Unable to Get Sony IC Recorder (Digital Voice Editor 3.3.01) to Work with 32-bit Wine (Windows Emulator) in 64-bit Fedora 11 x86_64 Linux
- wine client error:0: version mismatch 432/431
- Wine taking unacceptably long to start up (Fedora 14 x86_64)