Web console rules
Everything the web console allows, blocks and records, in one place. To learn how to open and use it, start with Access the VM via console.
At a glance
| Rule | Value |
|---|---|
| Access mode of a new VM | Shared |
| Time to answer an access request | 60 seconds |
| How long an approval stays valid | 2 minutes |
| Largest file you can send to the VM | 5 MB |
| Largest file you can fetch from the VM | 16 MB, the rest is cut off |
| Reconnection attempts after the connection drops | 6 |
| Inactivity timeout | None |
Who can do what
| To | You need | Level |
|---|---|---|
| Open the console | vm:console:view | Critical |
| Switch the console between shared and exclusive | vm:console:manage-access | High |
| Send files to the VM and fetch files from it | vm:console:file-transfer | Critical |
- All three also require
vm:view. The last two also requirevm:console:view. - The permission has to reach the VM: grant it on the VM's VDC, on the customer that owns it, or at tenant scope, which covers every VDC of the tenant.
- Of the default groups,
VDC-OPERATORopens the console, andCUSTOMER-ADMINopens it and changes the access mode. No default group includes file transfer.
Files travel through the guest agent, which runs as root on Linux and as SYSTEM on Windows. Whoever holds vm:console:file-transfer reads and writes any file in the VM, without knowing any password of the operating system. Grant it only to people who would be administrators of that machine anyway.
Before the console opens
- The VM has to be powered on. Connect stays disabled while the VM is stopped, being created or destroyed, or in error.
- The console opens from the Connect button, every time. Each click creates a link that works once and expires in 5 minutes. Copying the address of the console window to another tab or to another person does not open the console.
Access modes
Each VM has its own access mode. It starts as shared.
| Shared | Exclusive | |
|---|---|---|
| Who gets in | Everyone with the permission, at any time | The first person. Everyone after that has to ask |
| What they can do | Full control | What the person connected chooses: full control or view only |
| Who else is connected | Shown in the top-right corner | Shown in the top-right corner |
Changing the mode applies to the next connections:
- Switching to exclusive does not remove anyone. Everyone already connected keeps full control.
- Switching back to shared does not let in whoever is waiting, and does not give control to whoever is in view only. They have to open the console again.
Exclusive mode, case by case
| Situation | What happens |
|---|---|
| Nobody with full control is connected | You get in straight away, with full control |
| You already have full control and open a second window | The second window gets in straight away |
| Someone else has full control | You wait. Everyone with full control receives your request |
| Someone answers Full control or View only | Your console reloads by itself and gets in with that access |
| Someone answers Deny | The console closes with the name of who denied. Ask again sends a new request |
| Nobody answers in 60 seconds | The request is denied. Ask again sends a new request |
| You close the window while waiting | The request is cancelled |
| The last person with full control leaves and someone is in view only | Whoever has been watching the longest receives full control. The others stay in view only |
| The last person with full control leaves and nobody is watching | Everyone waiting gets in with full control |

- The first answer counts. When more than one person has full control, all of them see the request, and it disappears for the others as soon as one answers.
- An approval is for one entry and lasts 2 minutes. If your console does not get in within that time, ask again.
- Several people can have full control at once, when the person connected answers Full control.
- Nobody can be removed or downgraded from inside the console. Once someone is in, they stay until they leave. To take someone out, see What closes your console.
View only
Someone let in with View only sees the screen and who is connected, and nothing they do reaches the VM: keyboard, mouse and text sent to the VM are discarded by the server, not just hidden in the browser.

View only also turns off file transfer. The Files panel is disabled and the server refuses the transfer, even for someone who has vm:console:file-transfer.

What the others see about you
Everyone connected to the same console sees, for each person:
- name and e-mail;
- since when they are connected;
- view only, when that is their access;
- interacting, while they type or move the mouse.
Someone waiting for approval also sees who is using the console and since when.
What closes your console
| Event | What you see |
|---|---|
| You sign out of the portal | "You signed out of the portal, so this console was closed." It closes every console window you have open, on every VM |
| Your account is disabled or archived | "Your access was revoked, so this console was closed." |
| The connection drops | The console reconnects by itself, up to 6 times, waiting 2, 4, 8, 15 and then 30 seconds between attempts. After that, Try again |

An idle console stays open: there is no inactivity timeout.
Taking vm:console:view or a group away from someone applies the next time they open the console. A window that is already open keeps working. To cut someone off right away, disable their account: see How to manage a user's access.
Closing the console never signs you out of the operating system. See Before you leave.
Pasting text
The console does not share the clipboard with the VM. Pasting means the console types the text into the VM, key by key.
- Ctrl+V on the console types what is in your clipboard.
- The Paste text panel, in the side menu, is for long text or for reviewing before sending.
- Typing speed has three levels. Use Safe on screens that lose keys, such as the BIOS and installers.
- VM keyboard has to match the keyboard layout configured inside the VM: Default (US) or ABNT2 (pt-BR).
- If the VM keyboard cannot type a character, the console warns you before typing and lets you cancel. It never changes the text without asking.
- Only plain text is pasted.

Files
Files travel through the guest agent, not through the screen. Sending and fetching require two things: the vm:console:file-transfer permission, and full control of the console at that moment.

| Rule | Value |
|---|---|
| Who can transfer | Only who has the console open with full control. In view only, while waiting for approval or with the console closed, the transfer is refused |
| Requirement | The guest agent (qemu-guest-agent) installed and running in the VM. Without it the panel says so |
| Sending | Up to 5 MB per file. A larger file is refused before it is sent |
| Destination | The full path of the file inside the VM. The folder has to exist already |
| File that already exists | On Linux, it is replaced without asking |
| Verify checksum | On by default. Compares the file that arrived in the VM with the one you sent. If they differ you get an error, and the file stays in the VM |
| Fetching | Up to 16 MB. A larger file comes cut off, and the console says TRUNCATED |
| What to fetch | Text files, such as logs and configuration. Other kinds of file can arrive altered |
| At the same time | One transfer per console window |
What is recorded
The Tasks tab of the VM keeps every access and every decision, with the e-mail of who did it.
| When | Text in the Tasks tab | Recorded under |
|---|---|---|
| Someone gets in | Web console opened (full control) or Web console opened (view only). When someone approved the entry, it ends with , approved by <e-mail> | Who got in |
| A request is answered with full control | Granted full web console access to <e-mail> | Who answered |
| A request is answered with view only | Granted view-only web console access to <e-mail> | Who answered |
| A request is denied | Denied web console access to <e-mail> | Who answered |
| Nobody answers in 60 seconds | Web console access request from <e-mail> expired (no answer from <e-mails>) | Who asked |
| Someone waiting gets in because the last person left | Granted full web console access to <e-mail> automatically (<e-mail> left) | Who asked |
| Control passes to whoever was watching | Web console control passed to <e-mail> (<e-mail> left) | Who received it |
| The access mode changes | Console access mode changed from shared to exclusive, or the other way round | Who changed it |
| A file is sent to the VM | File sent to the VM through the web console: <path> (<size>). With Verify checksum it ends with , checksum verified, or with the problem found | Who sent it |
| A file is fetched from the VM | File fetched from the VM through the web console: <path> (<size>). A file cut off at the limit ends with , cut off at the size limit | Who fetched it |
- Every time a console opens or reloads, it counts as a new
Web console opened. - Closing the console, cancelling a request and a console closed by signing out are not recorded.
- File transfers also go to the audit trail, with the checksum of the file. See How to use the audit trail.
The shared console notice
The notice that explains the shared screen appears when you open a console, in either mode, until you tick Don't show this again. The choice is saved to your user and applies to every VM.