Changeset 35901 in vbox
- Timestamp:
- Feb 8, 2011 4:10:40 PM (14 years ago)
- Location:
- trunk/doc/manual/en_US
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_AdvancedTopics.xml
r35193 r35901 371 371 appropriate path to execute the system preparation tool.</para> 372 372 </note> 373 </sect2> 374 </sect1> 375 376 <sect1> 377 <title>Advanced configuration for Linux and Solaris guests</title> 378 379 <sect2> 380 <title>Manual setup of selected guest services on Linux</title> 381 382 <para>The VirtualBox Guest Additions contain several different 383 drivers. If for any reason you do not wish to set them all up, you can 384 install the Guest Additions using the following command:</para> 385 386 <screen> sh ./VBoxLinuxAdditions.run no_setup</screen> 387 388 <para>After this, you will need to at least compile the kernel modules 389 by running the command <screen> /usr/lib/VBoxGuestAdditions/vboxadd setup</screen> 390 as root (you will need to replace <emphasis>lib</emphasis> by 391 <emphasis>lib64</emphasis> on some 64bit guests), and on older guests 392 without the udev service you will need to add the 393 <emphasis>vboxadd</emphasis> service to the default runlevel to ensure 394 that the modules get loaded.</para> 395 396 <para>To setup the time synchronization service, run the command 397 <screen> /usr/lib/VBoxGuestAdditions/vboxadd-service setup</screen> 398 and add the service vboxadd-service to the default runlevel. To set up 399 the X11 and OpenGL part of the Guest Additions, run the command 400 <screen> /usr/lib/VBoxGuestAdditions/vboxadd-x11 setup</screen> (you 401 do not need to enable any services for this).</para> 402 403 <para>To recompile the guest kernel modules, use this command: 404 <screen> /usr/lib/VBoxGuestAdditions/vboxadd setup</screen> After 405 compilation you should reboot your guest to ensure that the new 406 modules are actually used.</para> 407 </sect2> 408 409 <sect2 id="guestxorgsetup"> 410 <title>Guest graphics and mouse driver setup in depth</title> 411 412 <para>This section assumes that you are familiar with configuring 413 the X.Org server using xorg.conf and optionally the newer mechanisms 414 using hal or udev and xorg.conf.d. If not you can learn about 415 them by studying the documentation which comes with X.Org.</para> 416 417 <para>The VirtualBox Guest Additions come with drivers for X.Org 418 versions 419 <itemizedlist> 420 <listitem>X11R6.8/X11R6.9 and XFree86 version 4.3 421 (vboxvideo_drv_68.o and vboxmouse_drv_68.o)</listitem> 422 <listitem>X11R7.0 (vboxvideo_drv_70.so and vboxmouse_drv_70.so) 423 </listitem> 424 <listitem>X11R7.1 (vboxvideo_drv_71.so and vboxmouse_drv_71.so) 425 </listitem> 426 <listitem>X.Org Server versions 1.3 and later (vboxvideo_drv_13.so 427 and vboxmouse_drv_13.so and so on).</listitem> 428 </itemizedlist> 429 By default these drivers can be found in the directory</para> 430 <para> 431 <computeroutput>/opt/VBoxGuestAdditions-<version>/lib/VBoxGuestAdditions</computeroutput> 432 </para> 433 <para>and the correct versions for the X server are symbolically linked 434 into the X.Org driver directories.</para> 435 436 <para>For graphics integration to work correctly, the X server must 437 load the vboxvideo driver (many recent X server versions look for it 438 automatically if they see that they are running in VirtualBox) and for 439 an optimal user experience the guest kernel drivers must be loaded and 440 the Guest Additions tool VBoxClient must be running as a client in the 441 X session. For mouse integration to work correctly, the guest kernel 442 drivers must be loaded and in addition, in X servers from X.Org X11R6.8 443 to X11R7.1 and in XFree86 version 4.3 the right vboxmouse driver must 444 be loaded and associated with /dev/mouse or /dev/psaux; in X.Org server 445 1.3 or later a driver for a PS/2 mouse must be loaded and the right 446 vboxmouse driver must be associated with /dev/vboxguest.</para> 447 448 <para>The VirtualBox guest graphics driver can use any graphics 449 configuration for which the virtual resolution fits into the virtual 450 video memory allocated to the virtual machine (minus a small amount 451 used by the guest driver) as described in 452 <xref linkend="settings-display" />. The driver will offer a range of 453 standard modes at least up to the default guest resolution for all 454 active guest monitors. In X.Org Server 1.3 and later the default mode 455 can be changed by setting the output property VBOX_MODE to 456 "<width>x<height>" for any guest monitor. When VBoxClient 457 and the kernel drivers are active this is done automatically when the 458 host requests a mode change. The driver for older versions can only 459 receive new modes by querying the host for requests at regular 460 intervals.</para> 461 462 <para>With pre-1.3 X Servers you can also add your own modes to the X 463 server configuration file. You simply need to add them to the "Modes" 464 list in the "Display" subsection of the "Screen" section. For example, 465 the section shown here has a custom 2048x800 resolution mode added: 466 </para> 467 468 <screen>Section "Screen" 469 Identifier "Default Screen" 470 Device "VirtualBox graphics card" 471 Monitor "Generic Monitor" 472 DefaultDepth 24 473 SubSection "Display" 474 Depth 24 475 Modes "2048x800" "800x600" "640x480" 476 EndSubSection 477 EndSection</screen> 373 478 </sect2> 374 479 </sect1> -
trunk/doc/manual/en_US/user_GuestAdditions.xml
r35442 r35901 408 408 409 409 <para>Like the Windows Guest Additions, the VirtualBox Guest Additions 410 for Linux take the form of a set of device drivers and system 411 applications which may be installed in the guest operating 412 system.</para> 410 for Linux are a set of device drivers and system applications which may 411 be installed in the guest operating system.</para> 413 412 414 413 <para>The following Linux distributions are officially supported:</para> … … 441 440 distributions.</para> 442 441 443 <para>Note that some Linux distributions already come with VirtualBox444 Guest Additions or a part thereof. You maykeep the distribution's445 version of the Guest Additions but often, these arenot up to date and446 limited in functionality . Therefore, you can choose the installthe447 Guest Additions that come with VirtualBox , overriding the already448 installed version. The VirtualBox Linux Guest Additions installer tries449 t o detect existing installation and replace them but depending on how450 the distribution integrates the Guest Additions, they may require some451 manual interaction. It is highly recommended to take a snapshot of the452 virtual machine before overriding the installation.</para>442 <para>Note that some Linux distributions already come with all or part of 443 the VirtualBox Guest Additions. You may choose to keep the distribution's 444 version of the Guest Additions but these are often not up to date and 445 limited in functionality, so we recommend replacing them with the 446 Guest Additions that come with VirtualBox. The VirtualBox Linux Guest 447 Additions installer tries to detect existing installation and replace 448 them but depending on how the distribution integrates the Guest 449 Additions, this may require some manual interaction. It is highly 450 recommended to take a snapshot of the virtual machine before replacing 451 pre-installed Guest Additions.</para> 453 452 454 453 <sect3> … … 456 455 457 456 <para>The VirtualBox Guest Additions for Linux are provided on the 458 same ISO CD-ROM as the Additions for Windows described above. They459 a lso come with an installation program guiding you through the setup460 process, although, due to the significant differences between Linux461 distributions, installation may be slightly more complex.</para>457 same virtual CD-ROM file as the Guest Additions for Windows described 458 above. They also come with an installation program guiding you through 459 the setup process, although, due to the significant differences between 460 Linux distributions, installation may be slightly more complex.</para> 462 461 463 462 <para>Installation generally involves the following steps:</para> … … 472 471 on a Linux host system, as described there.</para> 473 472 474 <para>Again, as with Linux hosts, we recommend using DKMS for 475 Linux guests as well. If it is not installed, use this command for 476 Ubuntu/Debian systems:<screen>sudo apt-get install dkms</screen> 473 <para>Again, as with Linux hosts, we recommend using DKMS if it is 474 available for the guest system. If it is not installed, use this 475 command for Ubuntu/Debian systems: 476 <screen>sudo apt-get install dkms</screen> 477 477 or for Fedora systems: <screen>yum install dkms</screen></para> 478 478 479 <para>Make sure to nstall DKMS <emphasis>before</emphasis> 480 installing the Linux Guest Additions.</para> 481 </listitem> 482 483 <listitem> 484 <para>Mount the 485 <computeroutput>VBoxGuestAdditions.iso</computeroutput> file as 486 your Linux guest's virtual CD-ROM drive, exactly the same way as 487 described for a Windows guest in <xref 479 <para>Be sure to install DKMS <emphasis>before</emphasis> 480 installing the Linux Guest Additions. If DKMS is not available 481 or not installed, the guest kernel modules will need to be 482 recreated manually whenever the guest kernel is updated using 483 the command <screen>/etc/init.d/vboxadd setup</screen> as root. 484 </para> 485 </listitem> 486 487 <listitem> 488 <para>Insert the 489 <computeroutput>VBoxGuestAdditions.iso</computeroutput> CD file 490 into your Linux guest's virtual CD-ROM drive, exactly the same way 491 as described for a Windows guest in <xref 488 492 linkend="mountingadditionsiso" />.</para> 489 493 </listitem> … … 498 502 </orderedlist> 499 503 500 <para>For your convenience, the following step-by-step instructions501 have been verified to work for freshly installed copies of the most504 <para>For your convenience, we provide the following step-by-step 505 instructions for freshly installed copies of recent versions of the most 502 506 popular Linux distributions. After these preparational steps, you can 503 507 execute the VirtualBox Guest Additions installer as described … … 505 509 506 510 <sect4> 507 <title>Ubuntu 10.04 ("Lucid Lynx")</title>511 <title>Ubuntu</title> 508 512 509 513 <para><orderedlist> 510 514 <listitem> 511 <para>In order to update your system to the latest version of512 t he packets, open a terminal and as root, execute <screen>apt-get update</screen>515 <para>In order to fully update your guest system, open a 516 terminal and run <screen>apt-get update</screen> as root 513 517 followed by <screen>apt-get upgrade</screen></para> 514 518 </listitem> … … 526 530 527 531 <sect4> 528 <title>Fedora 13 ("Goddard")</title>532 <title>Fedora</title> 529 533 530 534 <para><orderedlist> 531 535 <listitem> 532 <para>In order to update your system to the latest version of533 t he packets, open a terminal and as root, execute <screen>yum update</screen></para>536 <para>In order to fully update your guest system, open a 537 terminal and run <screen>yum update</screen></para> as root. 534 538 </listitem> 535 539 … … 547 551 548 552 <sect4> 549 <title>openSUSE 11.2</title>553 <title>openSUSE</title> 550 554 551 555 <para><orderedlist> 552 556 <listitem> 553 <para>In order to update your system to the latest version of554 t he packets, open a terminal and as root, execute <screen>zypper update</screen></para>557 <para>In order to fully update your guest system, open a 558 terminal and run <screen>zypper update</screen></para> as root. 555 559 </listitem> 556 560 … … 585 589 586 590 <sect4> 587 <title>SuSE Linux Enterprise Desktop (SLED) 11</title>591 <title>SuSE Linux Enterprise Desktop (SLED)</title> 588 592 589 593 <para><orderedlist> 590 594 <listitem> 591 <para>In order to update your system to the latest version of592 t he packets, open a terminal and as root, execute <screen>zypper update</screen></para>595 <para>In order to fully update your guest system, open a 596 terminal and run <screen>zypper update</screen></para> as root. 593 597 </listitem> 594 598 … … 622 626 623 627 <sect4> 624 <title>Mandrake 2010</title>628 <title>Mandrake</title> 625 629 626 630 <para><orderedlist> … … 631 635 632 636 <listitem> 633 <para>In order to update your system to the latest version of 634 the packets, open a terminal and as root and execute <screen>urpmi --auto-update</screen></para> 637 <para>In order to fully update your guest system, open a 638 terminal and run <screen>urpmi --auto-update</screen></para> 639 as root. 635 640 </listitem> 636 641 … … 650 655 651 656 <sect4> 652 <title>CentOS 5.5, Red Hat Enterprise Linux 5.5and Oracle653 Enterprise Linux 5.5</title>657 <title>CentOS, Red Hat Enterprise Linux and Oracle 658 Enterprise Linux</title> 654 659 655 660 <para><orderedlist> 656 661 <listitem> 657 <para> Add <computeroutput>divider=10</computeroutput> to the658 kernel boot options in662 <para>For versions prior to 6, add <computeroutput>divider=10</computeroutput> 663 to the kernel boot options in 659 664 <computeroutput>/etc/grub.conf</computeroutput> to reduce the 660 665 idle CPU load.</para> … … 662 667 663 668 <listitem> 664 <para> To update your system to the latest version of the665 packets, open a terminal and as root, execute <screen>yum update</screen></para>669 <para>In order to fully update your guest system, open a 670 terminal and run <screen>yum update</screen></para> as root. 666 671 </listitem> 667 672 … … 678 683 679 684 <listitem> 680 <para>Note that OpenGL support is not available unless you681 update to a later Linux kernel.</para>682 683 685 <para>In case Oracle Enterprise Linux does not find the 684 686 required packages, you either have to install them from a … … 691 693 692 694 <sect4> 693 <title>Debian 5 ("Lenny")</title>695 <title>Debian</title> 694 696 695 697 <para><orderedlist> 696 698 <listitem> 697 <para>In order to update your system to the latest version of698 t he packets, open a terminal and as root, execute <screen>apt-get update</screen>699 <para>In order to fully update your guest system, open a 700 terminal and run <screen>apt-get update</screen> as root 699 701 followed by <screen>apt-get upgrade</screen></para> 700 702 </listitem> … … 715 717 correct version of the linux-headers package, e.g. using 716 718 <screen>apt-get install linux-headers-2.6.26-2-686</screen></para> 717 718 <para>Note that OpenGL support is not available unless you719 update to a later Linux kernel.</para>720 719 </listitem> 721 720 </orderedlist></para> … … 724 723 725 724 <sect3> 726 <title>Manual setup of selected guest services</title> 727 728 <para>The VirtualBox Guest Additions contain several different 729 drivers. If for any reason you do not wish to set them all up, you can 730 install the Guest Additions using the following command:</para> 731 732 <screen> sh ./VBoxLinuxAdditions.run no_setup</screen> 733 734 <para>After this, you will need to at least compile the kernel modules 735 by running the command <screen> /usr/lib/VBoxGuestAdditions/vboxadd setup</screen> 736 as root (you will need to replace <emphasis>lib</emphasis> by 737 <emphasis>lib64</emphasis> on some 64bit guests), and on older guests 738 without the udev service you will need to add the 739 <emphasis>vboxadd</emphasis> service to the default runlevel to ensure 740 that the modules get loaded.</para> 741 742 <para>To setup the time synchronization service, run the command 743 <screen> /usr/lib/VBoxGuestAdditions/vboxadd-service setup</screen> 744 and add the service vboxadd-service to the default runlevel. To set up 745 the X11 and OpenGL part of the Guest Additions, run the command 746 <screen> /usr/lib/VBoxGuestAdditions/vboxadd-x11 setup</screen> (you 747 do not need to enable any services for this).</para> 748 749 <para>To recompile the guest kernel modules, use this command: 750 <screen> /usr/lib/VBoxGuestAdditions/vboxadd setup</screen> After 751 compilation you should reboot your guest to ensure that the new 752 modules are actually used.</para> 753 </sect3> 754 755 <sect3> 756 <title>Video acceleration and high resolution graphics modes</title> 757 758 <para>In Linux guests, VirtualBox video acceleration is available 759 through the X Window System. Typically, in today's Linux 760 distributions, this will be the X.Org server. During the installation 761 process, X will be set up to use the VirtualBox video driver shipped 762 with the Guest Additions.</para> 763 764 <para>For Linux and Solaris guests, the X.org server version 1.3 or 765 later is required for automatic resizing (the feature has been 766 disabled on Fedora 9 guests due to a bug in the X server they supply). 767 The server version can be checked with <computeroutput>Xorg 768 -version</computeroutput>.</para> 769 770 <para>You can also send video mode hints using the 771 <computeroutput>VBoxManage</computeroutput> tool.</para> 772 773 <para>If you are only using recent Linux guests systems, you can skip 774 the rest of this section. On older guest systems, whatever graphics 775 modes were set up before the installation will be used. If these modes 776 do not suit your requirements, you can change your setup by editing 777 the configuration file of the X server, usually found in 778 <computeroutput>/etc/X11/xorg.conf</computeroutput>.</para> 779 780 <para>VirtualBox can use any default X graphics mode which fits into 781 the virtual video memory allocated to the virtual machine, as 782 described in <xref linkend="generalsettings" />. You can also add your 783 own modes to the X server configuration file. You simply need to add 784 them to the "Modes" list in the "Display" subsection of the "Screen" 785 section. For example, the section shown here has a custom 2048x800 786 resolution mode added:</para> 787 788 <screen>Section "Screen" 789 Identifier "Default Screen" 790 Device "VirtualBox graphics card" 791 Monitor "Generic Monitor" 792 DefaultDepth 24 793 SubSection "Display" 794 Depth 24 795 Modes "2048x800" "800x600" "640x480" 796 EndSubSection 797 EndSection</screen> 725 <title>Graphics and mouse integration</title> 726 727 <para>In Linux and Solaris guests, VirtualBox graphics and mouse 728 integration goes through the X Window System. VirtualBox can use 729 the X.Org variant of the system (or XFree86 version 4.3 which is 730 identical to the first X.Org release). During the installation process, 731 the X.Org display server will be set up to use the graphics and mouse 732 drivers which come with the Guest Additions.</para> 733 734 <para>After installing the Guest Additions into a fresh installation of 735 a supported Linux distribution or Solaris system (many unsupported 736 systems will work correctly too), the guest's graphics 737 mode will change to fit the size of the VirtualBox window 738 on the host when it is resized. You can also ask the guest system to 739 switch to a particular resolution by sending a "video mode hint" using 740 the <computeroutput>VBoxManage</computeroutput> tool.</para> 741 742 <para>Multiple guest monitors are supported in guests using the X.Org 743 server version 1.3 (which is part of release 7.3 of the X Window System 744 version 11) or a later version. The layout of the guest screens can 745 be adjusted as needed using the tools which come with the guest 746 operating system.</para> 747 748 <para>If you want to understand more about the details of how the 749 X.Org drivers are set up (in particular if you wish to use them in a 750 setting which our installer doesn't handle correctly), you should read 751 <xref linkend="guestxorgsetup" />.</para> 798 752 </sect3> 799 753 … … 1319 1273 1320 1274 <listitem> 1321 <para>Linux or Solaris guests with an X.org server version 1.3 or 1322 higher<footnote> 1323 <para>The X server version is not the same as the version of the 1324 entire X.org suite. You can type <computeroutput>X 1325 -version</computeroutput> in a terminal to find out about the 1326 X.org server version level that is currently installed.</para> 1327 </footnote> (support added with VirtualBox 1.6). The exception is 1328 Fedora 9, due to a bug in its X server.</para> 1275 <para>Supported Linux or Solaris guests running the X Window System 1276 (added with VirtualBox 1.6).</para> 1329 1277 </listitem> 1330 1278 </itemizedlist></para>
Note:
See TracChangeset
for help on using the changeset viewer.