1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE topic
|
---|
3 | PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
4 | <topic xml:lang="en-us" id="startingvboxonlinux">
|
---|
5 | <title>Starting <ph conkeyref="vbox-conkeyref-phrases/product-name"/> on Linux</title>
|
---|
6 |
|
---|
7 | <body>
|
---|
8 | <p>
|
---|
9 | The easiest way to start an <ph conkeyref="vbox-conkeyref-phrases/product-name"/> program is by running
|
---|
10 | the program of your choice (<userinput>VirtualBox</userinput>,
|
---|
11 | <userinput>VBoxManage</userinput>, or
|
---|
12 | <userinput>VBoxHeadless</userinput>) from a terminal. These are
|
---|
13 | symbolic links to <userinput>VBox.sh</userinput> that start the
|
---|
14 | required program for you.
|
---|
15 | </p>
|
---|
16 | <p> The following detailed instructions should only be of interest if you want to
|
---|
17 | execute <ph conkeyref="vbox-conkeyref-phrases/product-name"/> without installing it first. You
|
---|
18 | should start by compiling the <userinput>vboxdrv</userinput> kernel module and inserting it
|
---|
19 | into the Linux kernel. <ph conkeyref="vbox-conkeyref-phrases/product-name"/> consists of a
|
---|
20 | service daemon, <userinput>VBoxSVC</userinput>, and several application programs. The daemon
|
---|
21 | is automatically started if necessary. All <ph conkeyref="vbox-conkeyref-phrases/product-name"
|
---|
22 | /> applications will communicate with the daemon through UNIX local domain sockets. There can
|
---|
23 | be multiple daemon instances under different user accounts and applications can only
|
---|
24 | communicate with the daemon running under the user account as the application. The local
|
---|
25 | domain socket resides in a subdirectory of your system's directory for temporary files called
|
---|
26 | <filepath>.vbox-<username>-ipc</filepath>. In case of communication problems or server
|
---|
27 | startup problems, you may try to remove this directory. </p>
|
---|
28 | <p>
|
---|
29 | All <ph conkeyref="vbox-conkeyref-phrases/product-name"/> applications (<userinput>VirtualBox</userinput>,
|
---|
30 | <userinput>VBoxManage</userinput>, and
|
---|
31 | <userinput>VBoxHeadless</userinput>) require the <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
|
---|
32 | directory to be in the library path, as follows:
|
---|
33 | </p>
|
---|
34 | <pre xml:space="preserve">LD_LIBRARY_PATH=. ./VBoxManage showvminfo "Windows XP"</pre>
|
---|
35 | </body>
|
---|
36 |
|
---|
37 | </topic>
|
---|