Skip to main content

vnc

-h, --help#

To show help and all available options run:

magic vnc --help
Hypervnc is a containerized Linux desktop session,
that allows you to remotely connect to any available lab rig.
The session is stateless, meaning once it gets terminated,
all saved files and usage history will be erased.
Usage examples:
magic vnc --key <magic key>
magic vnc --key <magic key> --resolution <1280x1024> --memory 2
Usage:
magic vnc [flags]
Flags:
-h, --help help for vnc
-k, --key string Magic key (Required)
-m, --memory int Memory size in gigabyte (default 1)
-r, --resolution string hypervnc desktop resolution (default "1280x1024")
Global Flags:
--config string config file (default is $HOME/.magic.yaml)

-k, --key#

This is your magic key, to request a key refer to the service request guide

magic vnc --key <magic key>

-m, --memory#

Memory is the Docker instance shared memory. For example the instance browser could crash if you opened too many tabs which exceeds the default 1 Gigabyte shared memory. We can overcome such limitation by assigning more memory this way:

magic vnc --key <magic key> --memory 2
note

Memory size in gigabyte the default is 1

-r, --resolution#

This is the instance desktop resolution, you can change it in such way:

magic vnc --key <magic key> --resolution <1280x1024>
note

The default desktop resolution is set to 1280x1024

--config#

Point to a config file other than the default one. For more info refer to Config file User Guide

Example:

magic vnc --config <file name> --key <magic key>