1 |
On Wed, Feb 3, 2010 at 9:10 AM, Iain Buchanan <iaindb@××××××××××××.au> wrote: |
2 |
> On Tue, 2010-02-02 at 16:12 -0800, Mark Knecht wrote: |
3 |
>> Hi, |
4 |
>> I was running VMWare and the program inside of Windows has crashed. |
5 |
>> (Or maybe Windows crashed or maybe VMWare crashed - I cannot tell.) |
6 |
>> |
7 |
>> Gentoo is still alive and I can log in and look around but the |
8 |
>> mouse on that computer but its mouse is frozen so I cannot do anything |
9 |
>> at its screen. It seems the keyboard is dead also. |
10 |
> |
11 |
> So can you do things once logged in? Which screen are you talking |
12 |
> about? Sounds like you're host is locked up, not just the guest? |
13 |
> |
14 |
>> top says there's nothing going on. No CPU cycles at all. |
15 |
>> |
16 |
>> Is there a way for me to ask Linux to talk to VMWare and see if it |
17 |
>> can shut itself down before I hit the reset button? |
18 |
> |
19 |
> as in "tell VMWare to do a windows shutdown"? Not that I'm aware of. |
20 |
> |
21 |
> killall -15 vmware |
22 |
> |
23 |
> will send the SIGTERM to all vmware named processes. (You may need to |
24 |
> use vmware-workstation, or just use ps to get the PID). If that doesn't |
25 |
> work, follow up with a |
26 |
> killall -9 vmware |
27 |
> |
28 |
> Then if you're still stuck, gnome-session-save with either --logout or |
29 |
> --force-logout should log you out nicely. If that gets stuck, try |
30 |
> |
31 |
> kill -15 -1 |
32 |
> from your user login (not root) to kill all your processess. Again, |
33 |
> maybe a |
34 |
> kill -9 -1 |
35 |
> is required. It will log you out of the ssh session. |
36 |
> |
37 |
> If that fails (as you can tell I've done this before) try an acpi |
38 |
> shutdown. If that fails, use the magic SysRq, but I don't think you'll |
39 |
> need to go that far since you can ssh in. |
40 |
> -- |
41 |
> Iain Buchanan <iaindb at netspace dot net dot au> |
42 |
> |
43 |
> Simon: "My God - you're like a trained ape. Without the training." |
44 |
> --Episode #7, "Jaynestown" |
45 |
> |
46 |
> |
47 |
> |
48 |
|
49 |
i think Mark want to know if it is possible to send commands from host |
50 |
to guest. try "vmrun". i used it use send "showdown" command to my |
51 |
windows guest once, and it worked. but it is not very nice to use. you |
52 |
need to give the full path of the command you are going to execute. |
53 |
|
54 |
|
55 |
-- |
56 |
Best Regards, |
57 |
David Shen |
58 |
|
59 |
http://twitter.com/davidshen84/ |