You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xen-api/consoles.md
+26-13Lines changed: 26 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,8 @@ layout: default
5
5
6
6
Most XenAPI graphical interfaces will want to gain access to the VM consoles, in order to render them to the user as if they were physical machines. There are several types of consoles available, depending on the type of guest or if the physical host console is being accessed:
@@ -21,7 +22,8 @@ The physical host console is only available as a `vt100` console, which is expos
21
22
22
23
RFB (Remote Framebuffer) is the protocol which underlies VNC, specified in [The RFB Protocol](http://www.realvnc.com/docs/rfbproto.pdf). Third-party developers are expected to provide their own VNC viewers, and many freely available implementations can be adapted for this purpose. RFB 3.3 is the minimum version which viewers must support.
23
24
24
-
### Retrieving VNC consoles using the API
25
+
Retrieving VNC consoles using the API
26
+
=====================================
25
27
26
28
VNC consoles are retrieved using a special URL passed through to the host agent. The sequence of API calls is as follows:
27
29
@@ -49,35 +51,46 @@ This scheme requires direct access from the client to the control domain's IP, a
Use command-line utilities like `ping` to test connectivity to the IP address provided in the `location` field.
64
70
65
-
### Disabling VNC forwarding for Linux VM
71
+
Disabling VNC forwarding for Linux VM
72
+
=====================================
66
73
67
74
When creating and destroying Linux VMs, the host agent automatically manages the `vncterm` processes which convert the text console into VNC. Advanced users who wish to directly access the text console can disable VNC forwarding for that VM. The text console can then only be accessed directly from the control domain directly, and graphical interfaces such as XenCenter will not be able to render a console for that VM.
68
75
69
76
Before starting the guest, set the following parameter on the VM record:
On the host console, connect to the text console directly by:
80
91
81
-
/usr/lib/xen/bin/xenconsole
92
+
```sh
93
+
$ /usr/lib/xen/bin/xenconsole $DOMID
94
+
```
82
95
83
96
This configuration is an advanced procedure, and we do not recommend that the text console is directly used for heavy I/O operations. Instead, connect to the guest over SSH or some other network-based connection mechanism.
0 commit comments