Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Sometimes it happens that a Wine application crashes (slowing down the system and making it almost unusable). In most cases I'm able to kill the program with xkill, but sometime I've to restart as Ubuntu seems not to respond very well (the only thing that works is ALT+F2, the launcher; xkill doesn't). I've tried to use wineboot -r or -f but they don't seem to work very well.. If something is unclear, let me know I'll try to explain better :)

share|improve this question

2 Answers 2

up vote 0 down vote accepted
killall nameofexefile.exe

just like linux processes

share|improve this answer
    
is this just for wine or for all running process in linux? –  13east Jul 9 '11 at 1:22
    
this will kill any process, windows via wine, or linux –  Conor Rynne Jul 9 '11 at 6:41
    
So wineserver -k will kill all wine processes... it's what I meant... I don't use killall <file>.exe as often I don't know the exact name of the file (and when the system goes crazy I won't know in any case) –  Hadden Jul 10 '11 at 0:49
    
ahhh right then in that case wineserver -k will probably do the job. Just be careful you don't have any other wine processes open, that includes programs in PlayOnLinux and Crossover too. –  Conor Rynne Jul 10 '11 at 10:41
    
@Hadden - why have you accepted an answer that you say you wont use? –  fossfreedom Jul 10 '11 at 21:17

You can safely kill wine sessions either via ALT+F2 or via a terminal by typing

wineserver -k

If it is really doesnt want to shutdown then you can force it via

wineserver -k9
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.