Error message when installing guestAddition

Discussions about using Linux guests in VirtualBox.
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Error message when installing guestAddition

Post by Ryssen »

When I try to install guesst addition on Debian 6.0 i get the message:the automaic start of the program has failt.
Cant find the autostart program.

How to fix this?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error message when installing guestAddition

Post by Perryg »

Install them manually from a terminal as su.

See Chapter 4.2.2.1 Installing the Linux Guest Additions in your VirtualBox users manual.
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Re: Error message when installing guestAddition

Post by Ryssen »

Ok will try that.
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Re: Error message when installing guestAddition

Post by Ryssen »

First I install dkms with
sudo apt-get install dkms

Then I try to insall Vboxadittions with sh ./VBoxLinuxAdditions.run
then I get cant open ./VBoxadditions.run
What am I doing wrong?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error message when installing guestAddition

Post by Perryg »

use sudo ./VBoxLinuxAdditions.run
or switch to su if your build does not use sudo.
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Re: Error message when installing guestAddition

Post by Ryssen »

This is what I get:
sudo: ./VboxAddiotions run: command not found


Edit: How do I swich to su?
Last edited by Ryssen on 23. Mar 2011, 18:47, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error message when installing guestAddition

Post by Perryg »

No I said to use sudo ./VBoxLinuxAdditions.run
You must use the terminal and you must be in the directory that has VBoxLinuxAdditions.run
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Re: Error message when installing guestAddition

Post by Ryssen »

Not shure what you mean by be in the same directory (Newbiee).Can you explain it?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error message when installing guestAddition

Post by Perryg »

the guest additions are in your virtual CD/DVD
You must use cd /media/cdrom or where ever the exact location is to get to where the additions actually reside.
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Re: Error message when installing guestAddition

Post by Ryssen »

Ok,I made folder on my desktop and extracted the files there and from there I run sudo ./VBoxLinuxAdditions.run
Then I got
sudo: ./VBoxLinuxAditions.run: command not found
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error message when installing guestAddition

Post by Perryg »

You are using Debian so unless you have added you user name to the sudo'ers list you need to actually use su
type su and then enter the password then run ./VBoxLinuxAdditions.run

This really isn't a VirtualBox issue but a lack of Linux knowledge.
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Re: Error message when installing guestAddition

Post by Ryssen »

I get unknown id
I have added mu name during the instalation

And on the command it says "ryssen@debian:$
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error message when installing guestAddition

Post by Perryg »

Sorry can't help you with that.
Ryssen
Posts: 93
Joined: 17. May 2010, 01:10
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux

Re: Error message when installing guestAddition

Post by Ryssen »

Hmm. maybe someone else has had the same issue and want to tell... :oops:
Its the same when trying to run it automaticly,not found.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Error message when installing guestAddition

Post by stefan.becker »

Help yourself. Read howtos about Linux and learn what you are doing.

If you buy a new pc, you also cant ask the manufacturer howto to use windows.
Post Reply