Customizing OpenSolaris Screen Resolution running in VirtualBox

本文指导如何在MacBook Pro上安装VirtualBox,并在VirtualBox中设置OpenSolaris虚拟机。步骤包括安装Guest Additions以增强OpenSolaris与主机间的交互体验,以及调整分辨率等设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. Install VirtualBox on your MacBook Pro.

  2. Install OpenSolaris in the new VirtualBox instance.

  3. Start up OpenSolaris.

  4. From the VirtualBox VM application (the one OpenSolaris is running in), choose Devices->Install Guest Additions.

    This will mount the vboxadditions_2.0.2_36486 disk image on your OpenSolaris system.

  5. Become root in OpenSolaris (You can open a terminal window by choosing Applications->System Tools->Terminal).

    # su root

  6. Change directory to the disk image.

    # cd /cdrom/vboxadditions_2.0.2_36486

  7. Install the Solaris VirtualBox addition.

    # pkgadd -d ./vboxadditions_2.0.2_36486

    This package installation creates the /etc/X11/xorg.conf file.

  8. (Optional) In the /etc/Xll/xorg.conf file, add the new screen resolution to the Modes field in the default ViewPort section (I added the 1440x900 entry).

    ViewPort      0  0
               Depth               24
               Modes           "1440x900_60.00" "1024x768_75.00" "800x600_75_00" "640x480_60.00"

    NOTE: After some more testing, it looks like you don't need to do this step unless you want to be able to select a specific resolution from the Screen Resolution Preferences window.  Once you install the Solaris VirtualBox Addition, all you need to do is expand the VirtualBox window and the OpenSolaris desktop expands as well.  I swear this didn't work the first time I tried this, which is why I had this problem in the first place. That's a few hours I'll never get back...

  9. Reboot OpenSolaris.

  10. After OpenSolaris reboots, change the screen resolution by choosing System->Preferences->Screen Resolution.

    You'll see the new resolution that you added...at least I did.  Everything has been working so far.

  11. Be happy that you now have a larger area to enjoy OpenSolaris!
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值