File: guestxorgsetup.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (47 lines) | stat: -rw-r--r-- 3,363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="guestxorgsetup">
  <title>Guest Graphics and Mouse Driver Setup in Depth</title>
  
  <body>
    <p>This section assumes that you are familiar with configuring the X.Org server using xorg.conf and optionally the
      newer mechanisms using hal or udev and xorg.conf.d. If not you can learn about them by studying the documentation
      which comes with X.Org. </p>
    <p>The <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions includes drivers for X.Org. By default
      these drivers are in the following directory: </p>
    <p><filepath>/opt/VBoxGuestAdditions-<varname>version</varname>/other/</filepath>
      </p>
    <p>The correct versions for the X server are symbolically linked into the X.Org driver directories. </p>
    <p>For graphics integration to work correctly, the X server must load the <codeph>vboxvideo</codeph> driver. Many
      recent X server versions look for it automatically if they see that they are running in <ph
        conkeyref="vbox-conkeyref-phrases/product-name"/>. For an optimal user experience, the guest kernel drivers must
      be loaded and the Guest Additions tool <userinput>VBoxClient</userinput> must be running as a client in the X
      session. </p>
    <p>For mouse integration to work correctly, the guest kernel drivers must be loaded. In addition, for legacy X
      servers the correct <codeph>vboxmouse</codeph> driver must be loaded and associated with
        <filepath>/dev/mouse</filepath> or <filepath>/dev/psaux</filepath>. For most guests, a driver for a PS/2 mouse
      must be loaded and the correct vboxmouse driver must be associated with <filepath>/dev/vboxguest</filepath>. </p>
    <p>The <ph conkeyref="vbox-conkeyref-phrases/product-name"/> guest graphics driver can use any graphics
      configuration for which the virtual resolution fits into the virtual video memory allocated to the virtual
      machine, minus a small amount used by the guest driver, as described in <xref href="settings-display.dita">Display
        Settings</xref>. The driver will offer a range of standard modes at least up to the default guest resolution for
      all active guest monitors. The default mode can be changed by setting the output property VBOX_MODE to
      "&lt;width&gt;x&lt;height&gt;" for any guest monitor. When VBoxClient and the kernel drivers are active this is
      done automatically when the host requests a mode change. The driver for older versions can only receive new modes
      by querying the host for requests at regular intervals. </p>
    <p>With legacy X Servers before version 1.3, you can also add your own modes to the X server configuration file. Add
      them to the "Modes" list in the "Display" subsection of the "Screen" section. For example, the following section
      has a custom 2048x800 resolution mode added: </p>
    <pre xml:space="preserve">Section "Screen"
        Identifier    "Default Screen"
        Device        "VirtualBox graphics card"
        Monitor       "Generic Monitor"
        DefaultDepth  24
        SubSection "Display"
                Depth         24
                Modes         "2048x800" "800x600" "640x480"
        EndSubSection
EndSection</pre>
  </body>
  
</topic>