1. 程式人生 > >Installing Guest Additions in VirtualBox for an Ubuntu Server Guest

Installing Guest Additions in VirtualBox for an Ubuntu Server Guest

Installing VirtualBox's "Guest Additions" is not as straight forward as I'd like it to be for an Ubuntu Server Guest but I figured out the solution.

In this tutorial I am using:

  • Host: Windows XP Professional
  • VirtualBox: 3.1.6
  • Guest: Ubuntu Server 10.04 (Lucid Lynx )

So say you have a host with VirtualBox installed (I have Windows XP, you have any version of Windows, Mac, Solaris, Linux, etc.) and have an Ubuntu Server installed as a guest. If you want to install "Guest Additions" for added features (such as seemless mode, copy and paste support, or shared folders in my case), you're supposed to click Devices > Install Guest Additions...

but when I clicked the button, nothing popped up. Why doesn't anything pop-up? Did it download? Was there an error?

Unbeknown to me, VirtualBox actually downloaded an image called VBoxGuestAdditions.iso, all without telling me. Great,  it's downloaded, but how do I mount and install it?

First off, let's grab some libraries we need for Guest Additions to install
sudo apt-get install build-essential linux-headers-`uname -r`


Then mount it
sudo mount /dev/cdrom1 /mnt

Then run the proper executable (make sure you look for the correct one for your machine)
sudo bash /mnt/VBoxLinuxAdditions-x86.run

There will be an error that states the not all features could be installed

Installing the Window System drivers ...fail!
(Could not find the X.org or XFree86 Window System.)

But this is okay. VirtualBox's Guest Additions installs some features that we don't need on a server (seemless mode, copy and paste, etc.) If you want these features, you'll have to install 67MB+ of X.Org libraries
sudo apt-get install xserver-xorg xserver-xorg-core

So it's up to you: GuestAdditions with 67MB+ of X.Org libraries or let these drivers fail and enjoy shared folders.

相關推薦

Installing Guest Additions in VirtualBox for an Ubuntu Server Guest

Installing VirtualBox's "Guest Additions" is not as straight forward as I'd like it to be for an Ubuntu Server Guest but I figured out the solution. In

VirtualBox下安裝Ubuntu Server 16.04

使用 title topic 另一個 主機名 pen 啟動 類型 布局 安裝環境: Windows;確保磁盤空間足夠,一般需要8個G左右。 所需文件: 首先在Ubuntu的官網上下載.iso的鏡像文件,鏈接是:http://www.ubuntu.org.cn/server;

virtualbox下安裝ubuntu server 16.04

安裝環境: Windows;確保磁碟空間足夠,一般需要8個G左右。 所需檔案: 首先在ubuntu的官網上下載.iso的映象檔案,連結是:http://www.ubuntu.org.cn/server; 本次安裝選擇的是16.04的版本。 然後在vir

What should be in my .gitignore for an Android Studio project?

發現開一個新的 Repository  來放 android studio 的 source code,需要手動去設定  ~/.gitignore 檔案,如果沒有設會加入很多垃圾檔案進 git 裡。設定檔: #built application files *.apk *.ap_ # files

VirtualBox 共享資料夾設定(安裝Guest Additions

為了實現Host主機與虛擬機器之間的資料夾對映,過程是各種艱辛,百度谷歌無數,直到大半夜才弄好,程式猿真心傷不起啊。 相對於這一點還是VMware實現的友好一點,不用設定安裝搞得這麼煩索,個人覺得這是一個必要的功能,何必弄個什麼擴充套件呢? 希望以後能整合進去,可是,現在我

VirtualBox虛擬機器CentOS安裝增強功能Guest Additions

沒有安裝Virtual Box增強功能Guest Additions的虛擬機器操作很不方便,比如:虛擬機器的解析度最大隻有1024x768;滑鼠被虛擬機器捕獲後要按右Ctrl鍵才能釋放,否則只能再虛擬機器裡移動;剪貼簿不能共享安裝Guest Additions可以解決上述所有問題。以CentOS 7.3虛擬機

CentOS6 在VirtualBox中實現全屏和根據視窗大小自動調整解析度 | Install Guest additions and run fullscreen mode on VirtualB

前一篇文章《CentOS6 Minimal 安裝桌面(GNOME)》寫了如何給CentOS安裝圖形桌面系統,這篇文章說明通過安裝增強包來實現VirtualBox中的CentOS6.x實現全屏和解析度自動調整。 環境 | Enviroment CentOS 6.6VirtualBox 4.3.28 安裝

ICCV2019 oral:Wavelet Domain Style Transfer for an Effective Perception-distortion Tradeoff in Single Image Super-Resolution

引言   基於低解析度的影象恢復高分辨影象具有重要意義,近年來,利用深度學習做單張影象超分辨主要有兩個大方向:1、減小失真度(distortion, 意味著高PSNR)的影象超分辨,這類方法主要最小化均方誤差;2、提高感知質量(perception)的影象。這類方法主要利用GAN來做約束,使得生成的影象和真

Determining if ip address is already in use for device eth0

determining if ip address is already in use for device eth0系統重啟網絡服務會提示Determining if ip address is already in use for device eth0提示。但是使用又沒有問題呢,那麽怎麽關閉這個顯示呢,

關於JSON類的兩個用途與for..infor循環的區別

進行 length 區別 prop per str 字符 number stringify JSON 這個類的兩個用途: 1)將Object 對象,轉換成string 類型 var obj = {"a":"1","b":"2","c":"json"}; var

linux導出Excel The maximum column width for an individual cell is 255 characters

class exce 方案 linu excel cnblogs cte for char linux環境到處Excel報錯: The maximum column width for an individual cell is 255 characters 解決方案:

for-infor-of,forEach和Map

循環對象 共同點 school 遍歷 fine 不能 name pre 包括 for-in和for-of   1.  for-in循環實際是為循環”enumerable“對象而設計的,是用來循環帶有字符串key的對象的。    使用for in會遍歷數組所有的可枚舉屬性,包

Virtualbox虛擬機Ubuntu共享文件夾設置 自動掛載

lin 完成 folders inux 4.0 虛擬 其中 一次 user 1. 安裝增強功能包(Guest Additions) 安裝好Ubuntu 14.04 後,運行Ubuntu並登錄。然後在VirtualBox的菜單裏選擇"設備(D)" -> "安裝增強功

build-qt.sh(Cross compile in Linux for Windows)

-i cdir pla sse install osi branch config break #!/bin/bash set -e MINGW=${MINGW:-${ARCH:-x86_64}-w64-mingw32} PREFIX=${PREFIX:-

G.Finding the Radius for an Inserted Circle 2017 ACM-ICPC 亞洲區(南寧賽區)網絡賽

return cas href ldo note bottom cat ota turn 地址:https://nanti.jisuanke.com/t/17314 題目: Three circles C_{a}C?a??, C_{b}C?b??, and C_{c

通過xsheel連接virtualBox裏的ubuntu

正常 解決方法 過程 install shee ubun 操作系統 com 方向 前提: 已經在virtualBox裏安裝了ubuntu操作系統,並能夠正常啟動。 安裝SSH 這裏需要的操作是進行ssh的安裝,因為系統安裝好以後ssh有可能並沒有附帶安裝(這是我的理解);

JavaScript中in操作符(for..in)、Object.keys()和Object.getOwnPropertyNames()的區別

定義 typeerror 轉換 異常 error: pan 不同 html gree   ECMAScript將對象的屬性分為兩種:數據屬性和訪問器屬性。每一種屬性內部都有一些特性,這裏我們只關註對象屬性的[[Enumerable]]特征,它表示是否通過 for-in 循環

Suggestion in searching for a job in NZ

his search achieved n-n minutes user jea log youtube https://ivangrigoryev.com/en/silver-fern-visa-or-how-i-got-work-in-new-zealand-in-te

for infor和EnumerateObjectsUsingBlock遍歷的區別

value cts mut 很多 普通 使用 keys bsp 枚舉 1.對於集合中對象數很多的情況下,for in 的遍歷速度非常之快,但小規模的遍歷並不明顯(還沒普通for循環快) 2. 如果在for in 循環裏,對這個數組進行了修改的話,無論是增,刪,修改數組

如何使用Putty登錄安裝在VirtualBox裏的ubuntu

ubuntu alt 文章 方便 本地 con http 公眾號 無法 我是在Windows操作系統裏用VirtualBox安裝了ubuntu操作系統。 在VirtualBox裏操作ubuntu的終端不是很方便,比如我想在Windows裏復制一些命令到ubuntu的終端執