Page 1 of 2

Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 28. Jan 2011, 02:42
by BenW
Hello,

As my subject says, I am having an issue when installing Guest Additions in SUSE.

Before I tried to install guest additions I first installed gcc, kernal-source, and ruby while installing SUSE. When my installation was completed I selected "Install Guest Additions..." in the VirtualBox window containing my virtual machine. Almost immediately, the CD or DVD was mounted and appeared on my desktop. There was also a popup asking if I wanted to run the software. I did and nothing happened. After about 30 seconds I opened browsed the CD and ran "VBoxLinuxAdditions-x86.run" in the terminal (I have attached the terminal text). Everything looked good so I rebooted my machine and now Gnome is not running on startup. What have I done wrong or what can be done to repair this issue so that I can use Guest additions with SUSE?

As a side note I have just begun an introduction to Linux course, my knowledge is very limited. However, I am comfortable trying several different methods or pull up information from different corners of my installation.

Thanks in advance,
~Ben

Image
Image
Image

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 28. Jan 2011, 03:20
by particleman
What does your Xorg.0.log say about what failed? If I were you I would start checking my logs.

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 28. Jan 2011, 03:48
by Perryg
You may not have all that you need to compile kernel modules. Below is what I install.

Code: Select all

sudo zypper install gcc make automake autoconf kernel-source kernel-devel
Then install the guest additions again. (auto-mount and run usually does not work)
Use the command line in a terminal to access the guest additions and run them from there.

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 28. Jan 2011, 04:04
by BenW
Thanks for the quick replies guys.

Where can I find my xorg.0.log?

This is what the terminal spit out when I tried installing those packages

'gcc' is already installed.
'make' is already installed.
'automake' not found.
'autoconf' not found.
'kernel-source' is already installed.
'kernel-devel' not found.

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 28. Jan 2011, 04:11
by particleman
/var/log/Xorg.0.log

more /var/log/Xorg.0.log | grep EE

install linux-kernel-headers kernel-source kernel-syms make gcc gcc-c++

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 28. Jan 2011, 07:21
by BenW
I have attached the log. This log is pulled from my installation prior to the reboot that caused the GUI to disappear. Go snapshots! haha
Xorg.0.log
(12.98 KiB) Downloaded 23 times

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 29. Jan 2011, 22:14
by BenW
Oops, forgot to add, it said something like not a valid location. I'll pull up the exact error message in one second.

EDIT: The exact error message reads as:

install: target 'gcc-c++' is not a directory

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 29. Jan 2011, 23:21
by particleman
I forgot to tell you to install dkms also it recompiles modules for you when there are kernel updates and i have seen GA logs complain about certain things w/o dkms but GA's still work. Do you have a working desktop now? Sounds like you do now just run the VBoxLinuxAdditions.run and it should work.

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 30. Jan 2011, 18:04
by BenW
I'm still getting the 'is not valid directory' error. What am I doing wrong?

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 30. Jan 2011, 23:09
by particleman
install dkms and try to install th GA again I lost my 11.4 m5 iso but I had GA working fine so it *should* work for you.

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 31. Jan 2011, 04:17
by BenW
I tried install dkms and received the following error
install: missing destination file operand after 'dkms'

When I tried 'install linux-kernel-headers kernel-source kernel-syms dkms make gcc gcc-c++', I received the following error.
install: target 'gcc-c++' is not a directory

What am I missing at the end of the command? and thanks for your help so far!!!

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 31. Jan 2011, 12:46
by stefan.becker
Not "install ....".

"zypper install ..." is correct.

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 31. Jan 2011, 20:24
by BenW
Everything installed beautifully... except the additions.

Here are two screenshots of my Linux installation. The first one is what it looks like when I start up the machine now and the second one is an attempt to pull up the xorg.0.log file.

http://img338.imageshack.us/i/suseloginscreen.jpg/
http://img831.imageshack.us/i/susexorglog.jpg/

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 31. Jan 2011, 20:31
by stefan.becker
Try without an xorg.conf (mv /etc/X11/xorg.conf /etc/X11/xorg.bak).

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Posted: 31. Jan 2011, 20:43
by BenW
I don't think anything new happened, the screen flickered and then started up just like my last screenshot.

http://img407.imageshack.us/i/suseloginscreen2.png/