Skip to main content

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​

RuleValue
Access mode of a new VMShared
Time to answer an access request60 seconds
How long an approval stays valid2 minutes
Largest file you can send to the VM5 MB
Largest file you can fetch from the VM16 MB, the rest is cut off
Reconnection attempts after the connection drops6
Inactivity timeoutNone

Who can do what​

ToYou needLevel
Open the consolevm:console:viewCritical
Switch the console between shared and exclusivevm:console:manage-accessHigh
Send files to the VM and fetch files from itvm:console:file-transferCritical
  • All three also require vm:view. The last two also require vm: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-OPERATOR opens the console, and CUSTOMER-ADMIN opens it and changes the access mode. No default group includes file transfer.
File transfer skips the operating system login

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.

SharedExclusive
Who gets inEveryone with the permission, at any timeThe first person. Everyone after that has to ask
What they can doFull controlWhat the person connected chooses: full control or view only
Who else is connectedShown in the top-right cornerShown 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​

SituationWhat happens
Nobody with full control is connectedYou get in straight away, with full control
You already have full control and open a second windowThe second window gets in straight away
Someone else has full controlYou wait. Everyone with full control receives your request
Someone answers Full control or View onlyYour console reloads by itself and gets in with that access
Someone answers DenyThe console closes with the name of who denied. Ask again sends a new request
Nobody answers in 60 secondsThe request is denied. Ask again sends a new request
You close the window while waitingThe request is cancelled
The last person with full control leaves and someone is in view onlyWhoever has been watching the longest receives full control. The others stay in view only
The last person with full control leaves and nobody is watchingEveryone waiting gets in with full control

The console of someone whose request was denied, with the name of who denied it and the Ask again button

  • 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.

The console in view only, with the notice View only: you can watch, not type or click in the top-right corner

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.

The Files panel of the console in view only, disabled, with the notice File transfer is off while you are in view only

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​

EventWhat 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 dropsThe console reconnects by itself, up to 6 times, waiting 2, 4, 8, 15 and then 30 seconds between attempts. After that, Try again

The console closed after signing out of the portal

An idle console stays open: there is no inactivity timeout.

Removing a permission does not close an open console

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.

The Paste text panel of the console, with the text box, the typing speed and the VM keyboard

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.

The Files panel of the console, with Send to the VM and Fetch from the VM

RuleValue
Who can transferOnly who has the console open with full control. In view only, while waiting for approval or with the console closed, the transfer is refused
RequirementThe guest agent (qemu-guest-agent) installed and running in the VM. Without it the panel says so
SendingUp to 5 MB per file. A larger file is refused before it is sent
DestinationThe full path of the file inside the VM. The folder has to exist already
File that already existsOn Linux, it is replaced without asking
Verify checksumOn 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
FetchingUp to 16 MB. A larger file comes cut off, and the console says TRUNCATED
What to fetchText files, such as logs and configuration. Other kinds of file can arrive altered
At the same timeOne 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.

WhenText in the Tasks tabRecorded under
Someone gets inWeb 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 controlGranted full web console access to <e-mail>Who answered
A request is answered with view onlyGranted view-only web console access to <e-mail>Who answered
A request is deniedDenied web console access to <e-mail>Who answered
Nobody answers in 60 secondsWeb console access request from <e-mail> expired (no answer from <e-mails>)Who asked
Someone waiting gets in because the last person leftGranted full web console access to <e-mail> automatically (<e-mail> left)Who asked
Control passes to whoever was watchingWeb console control passed to <e-mail> (<e-mail> left)Who received it
The access mode changesConsole access mode changed from shared to exclusive, or the other way roundWho changed it
A file is sent to the VMFile sent to the VM through the web console: <path> (<size>). With Verify checksum it ends with , checksum verified, or with the problem foundWho sent it
A file is fetched from the VMFile fetched from the VM through the web console: <path> (<size>). A file cut off at the limit ends with , cut off at the size limitWho 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.