s0x IT Services Cloud How to manage VMs from the Multipass system tray tool

How to manage VMs from the Multipass system tray tool

How to manage VMs from the Multipass system tray tool post thumbnail image

Multipass includes a system tray GUI that makes managing your virtual machines simple and efficient.


Image: Jack Wallen

Multipass is one of the easiest virtual machine (VM) tools I have ever used. Period. Not only does it make spinning up a VM fast and easy, it makes it incredibly simple to manage those VMs, so you can start developing for your cloud, edge, IoT, or any given type of technology right away. In fact, Multipass includes a system tray tool that makes it possible for you to, with a quick click, start and stop a VM and even enter the VM’s shell.

I’m going to show you just how easy this tool is to use. I’ll be demonstrating on POP!_OS Linux, but the process is the same on any Linux distribution that supports Multipass.

SEE: Serverless computing: A guide for IT leaders (TechRepublic Premium)

What you’ll need

The only thing you’ll need is a Linux desktop distribution with Multipass installed. If you’ve not already installed Multipass, read: How to use Multipass, a new tool for launching virtual machines.

How to create a virtual machine

If you haven’t already created a virtual machine, you’ll need one before you can manage it from the system tray. Let’s launch a basic VM, based on the latest daily release of Ubuntu. This can be done with the command:

multipass launch --name=ubuntuvm daily:20.04 

This will launch a virtual machine, named ubuntuvm. If you issue the command multipass list, you’ll see the new virtual machine in a running state with an associated IP address  (Figure A).

Figure A

<a href="http://s0x.org/wp-content/uploads/2020/02/how-to-manage-vms-from-the-multipass-system-tray-tool-1.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

Our ubuntuvm virtual machine is running.

” data-credit rel=”noopener noreferrer nofollow”>multipassguia.jpgmultipassguia.jpg

Our ubuntuvm virtual machine is running.

To gain access to that VM, you would issue the command:

multipass shell ubuntuvm

This will land you inside of the newly launched VM, where you can start developing.

Once you’re finished working, get out of the shell with the exit command and then stop the VM with the command:

multipass stop ubuntuvm

Let’s make it easier

Thanks to the Multipass system tray indicator, you can avoid running those commands to start, enter, and stop your VMs. If you look at your system tray, you’ll see an orange circle with a white M in the center. Click that icon to reveal the Multipass GUI menu (Figure B).

Figure B

<a href="http://s0x.org/wp-content/uploads/2020/02/how-to-manage-vms-from-the-multipass-system-tray-tool-2.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

The Multipass GUI menu.

” data-credit rel=”noopener noreferrer nofollow”>multipassguib.jpgmultipassguib.jpg

The Multipass GUI menu.

To start the ubuntuvm virtual machine, click ubuntuvm | Start (Figure C).

Figure C

<a href="http://s0x.org/wp-content/uploads/2020/02/how-to-manage-vms-from-the-multipass-system-tray-tool-3.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

The ubuntuvm menu entries.

” data-credit rel=”noopener noreferrer nofollow”>multipassguic.jpgmultipassguic.jpg

The ubuntuvm menu entries.

Once the VM has started, it will then be listed as running (Figure D).

Figure D

<a href="http://s0x.org/wp-content/uploads/2020/02/how-to-manage-vms-from-the-multipass-system-tray-tool-4.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

Our ubuntuvm is now running.

” data-credit rel=”noopener noreferrer nofollow”>multipassguid.jpgmultipassguid.jpg

Our ubuntuvm is now running.

With the VM now running, you can access the shell by clicking the Multipass icon and then clicking ubuntuvm | Shell. A new terminal window will open at the bash prompt within the virtual machine (Figure E).

Figure E

<a href="http://s0x.org/wp-content/uploads/2020/02/how-to-manage-vms-from-the-multipass-system-tray-tool-5.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

We’ve entered the VM without having to type a single command.

” data-credit rel=”noopener noreferrer nofollow”>multipassguie.jpgmultipassguie.jpg

We’ve entered the VM without having to type a single command.

You can now begin working within the virtual machine. Once you’re done, leave the shell via the exit command, which will also close the shell terminal. If you need, you can then stop the VM by clicking the Multipass icon and then clicking ubuntuvm | Stop.


The only things you cannot do with the GUI are launching a new virtual machine and deleting an existing virtual machine. Maybe those features will come in future iterations of the software, but in the meantime you’ll have to touch the command line for those two tasks.

Even with the limitations, the Multipass system tray GUI is the tool to use to make this solution an efficient means to work with virtual machines. 

Also see

Related Post

Red Hat acquires Kubernetes security firm StackRoxRed Hat acquires Kubernetes security firm StackRox

<div class="teaser-image"> <a href="/it-infrastructure/security/8898/red-hat-acquires-kubernetes-security-firm-stackrox"><img src="http://s0x.org/wp-content/uploads/2021/01/red-hat-acquires-kubernetes-security-firm-stackrox-1.jpg" /></a> </div> <span class="field field-name-field-article-type field-type-taxonomy-term-reference field-label-hidden"> <span class="field-item even"><a href="/news">News</a></span> </span><div class="field field-name-field-published-date field-type-datetime field-label-hidden"> <div class="field-items"> <div class="field-item even"><span class="date-display-single">11 Jan, 2021</span></div> </div></div><span