Vm Vnc
VNC to a VM
Synopsis
VNC to a VM. This will:
- SSH to the target VM.
- Check to see if vncserver is running.
- If not, start vncserver on the remote machine
- If a vnc passwd file does not exist one will be created
- Copy the password file to the local machine
- Setup a tunnel to access vnc
- start vncviewer
carbon vm vnc [flags]
Examples
carbon vnc start -n vm-name
Options
-h, --help help for vnc
-k, --kill-vnc Kill VNC before starting
Options inherited from parent commands
--config string config file (default is $HOME/.carbon.yaml)
--debug Debug mode
--host strings Hostname or IP Address.
-i, --id string ID of machine to start.
-j, --json Output in JSON
-n, --name string Name of the VM.
-u, --user string SSH Username. (default "ubuntu")
SEE ALSO
- carbon vm - Manage and interact with VMs.