Удаленное управление virtualbox linux
Administrator’s Guide for Release 6.0
- Preface
- Remote Virtual Machines
- Remote Display (VRDP Support)
- Common Third-Party RDP Viewers
- VBoxHeadless, the Remote Desktop Server
- Step by Step: Creating a Virtual Machine on a Headless Server
- Remote USB
- RDP Authentication
- RDP Encryption
- Multiple Connections to the VRDP Server
- Multiple Remote Monitors
- VRDP Video Redirection
- VRDP Customization
- Automated Guest Logins
- Automated Windows Guest Logins
- Automated Linux and UNIX Guest Logins
- Oracle VM VirtualBox Greeter for Ubuntu/LightDM
- Automated Windows System Preparation
- Manual Setup of Selected Guest Services on Linux
- Guest Graphics and Mouse Driver Setup in Depth
- Using a Host Webcam in the Guest
- Windows Hosts
- Mac OS X Hosts
- Linux and Oracle Solaris Hosts
- Custom VESA Resolutions
- Configuring the Maximum Resolution of Guests When Using the Graphical Frontend
- Using a Raw Host Hard Disk From a Guest
- Access to Entire Physical Hard Disk
- Access to Individual Physical Hard Disk Partitions
- Configuring the Address of a NAT Network Interface
- Configuring the Boot Server (Next Server) of a NAT Network Interface
- Tuning TCP/IP Buffers for NAT
- Binding NAT Sockets to a Specific Interface
- Enabling DNS Proxy in NAT Mode
- Using the Host’s Resolver as a DNS Proxy in NAT Mode
- User-Defined Host Name Resolving
- Configuring the Guest Time Stamp Counter (TSC) to Reflect Guest Execution
- Accelerate or Slow Down the Guest Clock
- Tuning the Guest Additions Time Synchronization Parameters
- Disabling the Guest Additions Time Synchronization
- Customizing the VirtualBox Manager
- VM Selector Customization
- Configure VM Selector Menu Entries
- Configure VM Window Menu Entries
- Configure VM Window Status Bar Entries
- Configure VM Window Visual Modes
- Host Key Customization
- Action when Terminating the VM
- Default Action when Terminating the VM
- Action for Handling a Guru Meditation
- Configuring Automatic Mouse Capturing
- Requesting Legacy Full-Screen Mode
- Removing Certain Modes of Networking From the GUI
- Linux: Starting the Web Service With init
- Oracle Solaris: Starting the Web Service With SMF
- Mac OS X: Starting the Web Service With launchd
- Memory Ballooning Control
- Host Isolation Detection
- More Information
- Linux: Starting the Watchdog Service With init
- Oracle Solaris: Starting the Watchdog Service With SMF
- Linux: Starting the Autostart Service With init
- Oracle Solaris: Starting the Autostart Service With SMF
- Mac OS X: Starting the Autostart Service With launchd
- Windows: Starting the Autostart Service With a Windows service
- Limitations of Disk Encryption
- Encrypting Disk Images
- Starting a VM with Encrypted Images
- Decrypting Encrypted Images
- Hyper-V Debug Options
- Setting up Windows Guests for Debugging with the Hyper-V Paravirtualization Provider
- Setting up USB/IP Support on a Linux System
- Security Considerations
- Synopsis
- Description
- VISO file format
- File specifications and —name-setup
- General
- Namespaces
- File Attributes
- Booting
- String properties (applied to active namespaces only)
- Compatibility:
- VISO Specific:
- Testing (not applicable to VISO):
- Where Oracle VM VirtualBox Stores its Files
- The Machine Folder
- Global Settings
- Summary of Configuration Data Locations
- Oracle VM VirtualBox XML Files
- Procedures and Tools
- Categorizing and Isolating Problems
- Collecting Debugging Information
- Using the VBoxBugReport Command to Collect Debug Information Automatically
- The Built-In VM Debugger
- VM Core Format
- Guest Shows IDE/SATA Errors for File-Based Images on Slow Host File System
- Responding to Guest IDE/SATA Flush Requests
- Performance Variation with Frequency Boosting
- Frequency Scaling Effect on CPU Usage
- Inaccurate Windows CPU Usage Reporting
- Poor Performance Caused by Host Power Management
- GUI: 2D Video Acceleration Option is Grayed Out
- No USB 3.0 Support in Windows 7 Guests
- Windows Bluescreens After Changing VM Configuration
- Windows 0x101 Bluescreens with SMP Enabled (IPI Timeout)
- Windows 2000 Installation Failures
- How to Record Bluescreen Information from Windows Guests
- No Networking in Windows Vista Guests
- Windows Guests may Cause a High CPU Load
- Long Delays When Accessing Shared Folders
- USB Tablet Coordinates Wrong in Windows 98 Guests
- Windows Guests are Removed From an Active Directory Domain After Restoring a Snapshot
- Windows 3.x Limited to 64 MB RAM
- Linux Guests May Cause a High CPU load
- Buggy Linux 2.6 Kernel Versions
- Shared Clipboard, Auto-Resizing, and Seamless Desktop in X11 Guests
- Certain Oracle Solaris 10 Releases May Take a Long Time to Boot with SMP
- VBoxSVC Out-of-Process COM Server Issues
- CD and DVD Changes Not Recognized
- Sluggish Response When Using Microsoft RDP Client
- Running an iSCSI Initiator and Target on a Single System
- Bridged Networking Adapters Missing
- Host-Only Networking Adapters Cannot be Created
- Linux Kernel Module Refuses to Load
- Linux Host CD or DVD Drive Not Found
- Linux Host CD or DVD Drive Not Found (Older Distributions)
- Linux Host Floppy Not Found
- Strange Guest IDE Error Messages When Writing to CD or DVD
- VBoxSVC IPC Issues
- USB Not Working
- PAX/grsec Kernels
- Linux Kernel vmalloc Pool Exhausted
- Cannot Start VM, Not Enough Contiguous Memory
- General Security Principles
- Secure Installation and Configuration
- Installation Overview
- Post Installation Configuration
- The Security Model
- Secure Configuration of Virtual Machines
- Networking
- VRDP Remote Desktop Authentication
- Clipboard
- Shared Folders
- 3D Graphics Acceleration
- CD/DVD Passthrough
- USB Passthrough
- CVE-2018-3646
- Disable Nested Paging
- Flushing the Level 1 Data Cache
- Buffer Overwriting and Disabling Hyper-Threading
- Experimental Features
- Known Issues
- Third-Party Materials
- Third-Party Licenses
- GNU General Public License (GPL)
- GNU Lesser General Public License (LGPL)
- Mozilla Public License (MPL)
- MIT License
- X Consortium License (X11)
- zlib License
- OpenSSL License
- Slirp License
- liblzf License
- libpng License
- lwIP License
- libxml License
- libxslt Licenses
- gSOAP Public License Version 1.3a
- Chromium Licenses
- Main License
- COPYRIGHT.LLNL File
- COPYRIGHT.REDHAT File
- Introduction
- Legal Terms
1.1. Remote Display (VRDP Support)
Oracle VM VirtualBox can display virtual machines remotely, meaning that a virtual machine can execute on one computer even though the machine will be displayed on a second computer, and the machine will be controlled from there as well, as if the virtual machine was running on that second computer.
For maximum flexibility, Oracle VM VirtualBox implements remote machine display through a generic extension interface called the VirtualBox Remote Desktop Extension (VRDE). The base open source Oracle VM VirtualBox package only provides this interface, while implementations can be supplied by third parties with Oracle VM VirtualBox extension packages, which must be installed separately from the base package. See Installing Oracle VM VirtualBox and Extension Packs.
Oracle provides support for the VirtualBox Remote Display Protocol (VRDP) in such an Oracle VM VirtualBox extension package.
VRDP is a backwards-compatible extension to Microsoft’s Remote Desktop Protocol (RDP). As a result, you can use any standard RDP client to control the remote VM.
Even when the extension is installed, the VRDP server is disabled by default. It can easily be enabled on a per-VM basis either in the VirtualBox Manager in the Display settings, see Display Settings, or with the VBoxManage command, as follows:
$ VBoxManage modifyvm
VM-name
--vrde onBy default, the VRDP server uses TCP port 3389 . You will need to change the default port if you run more than one VRDP server, since the port can only be used by one server at a time. You might also need to change it on Windows hosts since the default port might already be used by the RDP server that is built into Windows itself. Ports 5000 through 5050 are typically not used and might be a good choice.
The port can be changed either in the Display settings of the graphical user interface or with the —vrdeport option of the VBoxManage modifyvm command. You can specify a comma-separated list of ports or ranges of ports. Use a dash between two port numbers to specify a range. The VRDP server will bind to one of the available ports from the specified list. For example, VBoxManage modifyvm VM-name —vrdeport 5000,5010-5012 configures the server to bind to one of the ports 5000, 5010, 5011, or 5012. See VBoxManage modifyvm.
The actual port used by a running VM can be either queried with the VBoxManage showvminfo command or seen in the GUI on the Runtime tab of the Session Information dialog, which is accessible from the Machine menu of the VM window.
Oracle VM VirtualBox supports IPv6. If the host OS supports IPv6 the VRDP server will automatically listen for IPv6 connections in addition to IPv4.
1.1.1. Common Third-Party RDP Viewers
Since VRDP is backwards-compatible to RDP, you can use any standard RDP viewer to connect to such a remote virtual machine. For this to work, you must specify the IP address of your host system, not of the virtual machine, as the server address to connect to. You must also specify the port number that the VRDP server is using.
The following examples are for the most common RDP viewers:
- On Windows, you can use the Microsoft Terminal Services Connector, mstsc.exe , that is included with Windows. Press the Windows key + R, to display the Run dialog. Enter mstsc to start the program. You can also find the program in Start , All Programs , Accessories , Remote Desktop Connection . If you use the Run dialog, you can enter options directly. For example:
- IPv6 addresses must be enclosed in square brackets to specify a port. For example: mstsc [fe80::1:2:3:4]:3389
- When connecting to localhost in order to test the connection, the addresses localhost and 127.0.0.1 might not work using mstsc.exe . Instead, the address 127.0.0.2[:3389] has to be used.
- Remote Display (VRDP Support)