VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/additions-linux-graphics-mouse.dita@ 108796

Last change on this file since 108796 was 108796, checked in by vboxsync, 7 weeks ago

Docs: bugref:10705. The following commits from doc's team git repo has been applied:

2c0019d3093908ca1ee634d7b1811c0013b6ebbc Tidied up guest additions section
954c4a0bff90b9688bd723df2b6273e59f88577c Updated installation of guest additions and removed duplication between topics
a4792940a9457bfbaaf0c95aabd601ea3d78bd62 Further updates to guest additions installation and update
1d7f4f4e4f178322f0809b3342137b75587b2502 Dev feedback on GA changes
b2e482309d405433a778468d4a531e72abb5f3da Moved rcvboxadd instruction
493a7500aae18ae2414d0437782860cc2fbce03f Changed x86-64 to x86_64 for consistency. Added topic ID prefixes as test.
7202928f3c99e9de07b2d06779f53a0650fdd174 Moved files from advanced topics
545bf4121f5e8de9907bd2ef08378a233256881e Vbp 1285 video enc

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="additions-linux-graphics-mouse">
4 <title>Graphics and Mouse Integration</title>
5
6 <body>
7 <p>In Linux and Oracle Solaris guests, <ph conkeyref="vbox-conkeyref-phrases/product-name"/> graphics and mouse integration goes through the <?oxy_comment_start author="Mhari Duncan" timestamp="20250326T172823+0000" comment="Add Wayland"?>X Window System<?oxy_comment_end?>. <ph conkeyref="vbox-conkeyref-phrases/product-name"/> can use the X.Org variant of the system, or XFree86 version 4.3 which is identical to the first X.Org release. During the installation process, the X.Org display server will be set up to use the graphics and mouse drivers that come with the Guest Additions.</p>
8 <p>After installing the Guest Additions into a fresh installation of most Linux distributions or Oracle Solaris systems, the guest's graphics mode will change to fit the size of the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> window on the host when it is resized. You can also ask the guest system to switch to a particular resolution by sending a video mode hint using the <userinput>VBoxManage</userinput> tool.</p>
9 <p>Multiple guest monitors are supported in guests using the X.Org server version 1.3, which is part of release 7.3 of the X Window System version 11, or a later version. The layout of the guest screens can be adjusted as needed using the tools which come with the guest operating system.</p>
10 <p>The <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Guest Additions includes drivers for X.Org. You should not need to change these. By default these drivers are in the following directory: </p>
11 <p><filepath>/opt/VBoxGuestAdditions-<varname>version</varname>/other/</filepath></p>
12 <p>The correct versions for the X server are symbolically linked into the X.Org driver directories.</p>
13 <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>
14 <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>
15 <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>
16 <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>
17 <pre xml:space="preserve">Section "Screen"
18 Identifier "Default Screen"
19 Device "VirtualBox graphics card"
20 Monitor "Generic Monitor"
21 DefaultDepth 24
22 SubSection "Display"
23 Depth 24
24 Modes "2048x800" "800x600" "640x480"
25 EndSubSection
26EndSection</pre>
27 </body>
28
29</topic>
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette