VMware Communities
zerrax
Contributor
Contributor
Jump to solution

Linux short cut to start vm directly

Hi, I want to make a short cut on the desktop to start a virtual machine directly

Host: Edubuntu 10.10 64 bit

Guest: Windows 7 Home 64 bit (called: “Educatieve netwerk.vmx”)

Working directory:/home/zml/vmware/Educatieve netwerk

Virtual Machine Name: Educatieve netwerk

Full path to VM:/home/zml/vmware/Educatieve netwerk/Educatieve netwerk.vmx

Default Location for Virtual Machines and Teams: /home/zml/vmware

I'm using VMWare Workstation version 7.1.3

I have tried mutiple commands, but still no succes...

vmware -X /home/zml/vmware/Educatieve netwerk/Educatieve netwerk.vmx

didn't work...

Could anybody help me?

Maarten

0 Kudos
1 Solution

Accepted Solutions
Jubish
Enthusiast
Enthusiast
Jump to solution

Try the following:

vmware -X "/home/zml/vmware/Educatieve netwerk/Educatieve netwerk.vmx"

Make sure that you put quotes (" ") for the VM path.

View solution in original post

0 Kudos
9 Replies
Jubish
Enthusiast
Enthusiast
Jump to solution

Welcome to the forums.

Create a shortcut using the command 'vmrun start /home/zml/vmware/Educatieve netwerk/Educatieve netwerk.vmx' which will launch Workstation and power on the VM.

Thanks,

-J-

0 Kudos
zerrax
Contributor
Contributor
Jump to solution

Thank you Jubish for your fast response,

I have made a short cut with "vmrun start /home/zml/vmware/Educatieve netwerk/Educatieve netwerk.vmx"

But it didn't work, it didn't do anything no response message what so ever.

I have made some screenshots of the short cut that I made, and of the VMWare

Workstation shortcut (this shortcut works)

Best regards Maarten van Druten.

0 Kudos
Jubish
Enthusiast
Enthusiast
Jump to solution

Are you running this command as a user who has enough permissions to start Workstation? Can you try running this vmrun command directly in the linux terminal and see if it launches Workstation?

0 Kudos
zerrax
Contributor
Contributor
Jump to solution

Ik got the following error:

0 Kudos
Jubish
Enthusiast
Enthusiast
Jump to solution

Okay, I got it. Since you have a space in your VM's name (Educatieve<space>netwerk), its not taking the 'netwerk' part.

Try putting the " " for the VM's path; ie:

vmrun start "/home/zml/vmware/Educatieve netwerk/Educatieve netwerk.vmx" and see if it runs from the terminal.

0 Kudos
zerrax
Contributor
Contributor
Jump to solution

Thank you It works!

but the vm is still in a window, is posible to start it full screen?

Thanks indvance

Maarten

0 Kudos
Jubish
Enthusiast
Enthusiast
Jump to solution

Happy to hear that. But I am not sure if its possible to start the VM in fullscreen using vmrun. I will try if I can find out.

Thanks.

If you find this information useful, please award points for "correct" or "helpful"

Jubish
Enthusiast
Enthusiast
Jump to solution

Try the following:

vmware -X "/home/zml/vmware/Educatieve netwerk/Educatieve netwerk.vmx"

Make sure that you put quotes (" ") for the VM path.

0 Kudos
zerrax
Contributor
Contributor
Jump to solution

Thank you! it works!

Now I can finally deploy 34 Edubuntu linux pc's at my school Smiley Happy

Best regards,

Maarten van Druten

0 Kudos