Author Topic: VirtualBox 3.2.0 not working on 2010.1KDE  (Read 5963 times)

Offline The_Dadu

  • Sr. Member
  • ****
  • Posts: 411
    • Not much of a website
VirtualBox 3.2.0 not working on 2010.1KDE
« on: May 23, 2010, 02:24:59 PM »
Postby alanbcohen » Sun May 23, 2010 3:12 pm on the VirtualBox Forums
I have tried the 'all distributions' version of the 3.2.0 release unsuccessfully on a new install of PCLinuxOS 2010.1 (and all updates performed).
I get no results from selecting the 'Oracle VM VirtualBox' from the menus. When I tried to run it from the console, the old console command 'virtualbox' was not found. After browsing my /usr/bin directory, I found a 'VirtualBox' command and tried that from the concole with the following results:

    [alanbcohen@localhost ~]$ virtualbox
    bash: virtualbox: command not found
    [alanbcohen@localhost ~]$ VirtualBox
    VirtualBox: supR3HardenedVerifyDir: Cannot trust the directory "/opt/VirtualBox/components": group and/or other writable (st_mode=040775)

I need the USB connections into VM's, so the OSE version doesn't meet my needs. Short of reinstalling the previous version of VirtualBox, do you guys have any suggestions for getting the current one working, based on the error message?


If I am not for myself, then who will be for me? And when I am only for myself, what am I? And if not now, when?
That which is hateful to you, do not do to your fellow.
 - Hillel 100 BCE

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #1 on: May 23, 2010, 02:28:27 PM »

what does this command give you?

ls -dl /opt/VirtualBox/components
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline The_Dadu

  • Sr. Member
  • ****
  • Posts: 411
    • Not much of a website
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #2 on: May 23, 2010, 03:35:16 PM »
[alanbcohen@localhost ~]$ ls -dl /opt/VirtualBox/components
drwxrwxr-x 2 root root 4096 2010-05-23 15:37 /opt/VirtualBox/components/
[alanbcohen@localhost ~]$
If I am not for myself, then who will be for me? And when I am only for myself, what am I? And if not now, when?
That which is hateful to you, do not do to your fellow.
 - Hillel 100 BCE

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #3 on: May 23, 2010, 03:46:30 PM »
it seem to want the permissions of the folder to be in a certain way but doesnt say which way, while on the terminal, log in as root and then type the following command and try again

chmod 755 /opt/VirtualBox/components/

edit:
looking at the error msg and it seems to require permissions to be 755(no writing permissions to group or other)
« Last Edit: May 23, 2010, 03:50:02 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Tuxfriend

  • Hero Member
  • *****
  • Posts: 1256
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #4 on: May 23, 2010, 04:08:11 PM »
What does PCC (the PCLinuxOS Control Center) say? Is virtualboxusers in the user setup ticked, as in here:
Best regards

Eddie

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #5 on: May 23, 2010, 04:13:40 PM »
The_Dadu:

It doesn't really help if it does run. It's quite a bit slower than the previous Sun versions, and the USB part seems to be broken. Even thought the USB items are plugged in, turned on, and marked for use for each VM,



When the VM is running the USB devices are grayed out, and can't be selected or used.



This is the same with three VMs created so far. If you really need the USB, as I do for my scanner, (no Linux drivers available) You'd be better off with one of the previous Sun versions.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Tuxfriend

  • Hero Member
  • *****
  • Posts: 1256
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #6 on: June 03, 2010, 07:17:33 AM »
Version 3.2.2 is out and still no PCLinuxOS RPM to be seen:
http://www.virtualbox.org/wiki/Linux_Downloads
Best regards

Eddie

Offline DLWood

  • Sr. Member
  • ****
  • Posts: 309
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #7 on: June 03, 2010, 04:04:34 PM »
Has anyone tried the "Mandriva" package?

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12532
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #8 on: June 03, 2010, 04:13:19 PM »
Has anyone tried the "Mandriva" package?


Doesn't work because they have different python and rpm version than PCLinuxOS.


I think we need to do a package like getopenoffice...

#su to root mode
su

# download VirtualBox
wget http://download.virtualbox.org/virtualbox/3.2.2/VirtualBox-3.2.2-62298-Linux_x86.run

#make file executable
chmod a+x VirtualBox-3.2.2-62298-Linux_x86.run

# run the installer
sh VirtualBox-3.2.2-62298-Linux_x86.run


# add users to group vboxusers
SYSUSERS=`cat /etc/passwd | grep "/bin/bash" |grep "[0-9][0-9][0-9]" |cut -d: -f1`
for idx in $SYSUSERS
 do INP1= usermod -a -G vboxusers,usb $idx; done

# create menu entry for PCLinuxOS

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Oracle VM VirtualBox
GenericName=Virtual Machine
Type=Application
Exec=VirtualBox
TryExec=VirtualBox
DocPath=file:///opt/VirtualBox/UserManual.pdf
Icon=VBox
Categories=Emulator;System;X-MandrivaLinux-MoreApplications-Emulators;
Comment=Run several virtual systems on a single host computer

« Last Edit: June 08, 2010, 10:47:42 PM by Texstar »

Thanks to everyone who donates. You keep the servers running.

ceramics

  • Guest
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #9 on: June 05, 2010, 02:13:23 AM »
A package for VirtualBox similar to getopenoffice would be really helpful for those of us that need USB access and are afraid to "break" something with a bad install.  (getopenoffice is marvelous by-the-way!)

Offline The_Dadu

  • Sr. Member
  • ****
  • Posts: 411
    • Not much of a website
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #10 on: June 05, 2010, 10:24:26 AM »
Okay, an update for others who may encounter similar problems. I have been able to install VirtualBox 3.2.2 using the .run installer from the vendor's website.  I did have to manually add myself to the virtualboxusers group and use the chmod 755 command on the directories, as others have advised previously in this thread and on the VB forums. I have not gotten USB working on guest systems at all. The work-arounds I am using are:
- Printing; I've defined another system on my network as sharing it's printer and am using it via the Network. I've also attempted to define a PDF printer in each VM, which allows me to create pdf files that I can transfer to another machine for printing.
- USB drives; I've installed Guest Additions in each VM. Then defined my host /media folder as shared to each VM.  For most purposes, this has been sufficient although a nuisance.
- Palm device connectivity; no solution so far.  And since I have not got jpilot working, I am left synching my Palm to my wife's otherwise-no-longer-user netbook.
If I am not for myself, then who will be for me? And when I am only for myself, what am I? And if not now, when?
That which is hateful to you, do not do to your fellow.
 - Hillel 100 BCE

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15316
  • ┌∩┐(◕_◕)┌∩┐
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #11 on: June 05, 2010, 10:47:12 AM »
Quote
A package for VirtualBox similar to getopenoffice would be really helpful for those of us that need USB access and are afraid to "break" something with a bad install.  (getopenoffice is marvelous by-the-way!

+1
+1

Quote
I have not gotten USB working on guest systems at all.

Ditto re USB.

Apart from that USB issue it seems to be working okay.

Note: I read some of the PCLinuxOS users posts on the VBox forum (including Tex's) and he (VBox guy) suggested that their statistics showed only a few users downloaded the PCLinuxOS version and a decision was made to not have it anymore.

It begs the question, how many is  "only a few users"  as from my reading on this forum lots of people downloaded it (and most likely a fair few others who don't visit the forum very often)
« Last Edit: June 07, 2010, 05:17:39 AM by menotu »
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline MCP

  • Sr. Member
  • ****
  • Posts: 371
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #12 on: June 06, 2010, 06:21:54 PM »
Okay, an update for others who may encounter similar problems. I have been able to install VirtualBox 3.2.2 using the .run installer from the vendor's website.  I did have to manually add myself to the virtualboxusers group and use the chmod 755 command on the directories, as others have advised previously in this thread and on the VB forums. I have not gotten USB working on guest systems at all.

I also tried out the .run file.  However my results tend to be a bit different.  After telling synaptic to remove the previous ver.  I then ran the .run file in a terminal as root.  I did not have to add myself to virtualboxusers group since it was still there from the previous install.  I did not use chmod on the directories and it ran as it should.  I never did get usb to work. It looks like everything is set right but the device icons are all greyed out.  I don't know why my experience is so different from others but I did have the problem of my vm crashing.  Every time I tried to run Autocad it either locked up or caused the vm to abort.  So because of all this I downgraded to 3.1.8 which is very stable.  Could the problems I experienced with 3.2.2 be because of an incorrect install?

Just my 2 cents,
MCP

robert21

  • Guest
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #13 on: June 07, 2010, 03:55:36 PM »
I followed texstars post and installed vbox fine. To get usb working, I followed the following from gregPCLOS on another post.

 I went through the whole USB thing myself with my printer and webcam a few months ago.  Finally what I discovered was that the usb and the user were not set to the same group.  So:

Go to PCC>System>Mangage users
Go to Options  in the menu at the top and uncheck "Filter system users"
Go to tab "Groups" and find in the list "usb" and right click,  then Edit.
Go to tab "Group users" and check your username to join the group.  Press OK and reboot.

Now the usb device in virtualbox when you start Windows will not be grayed out anymore.

There may be another better way of accomplishing the same, but that one works for me.

Offline Duvid

  • Sr. Member
  • ****
  • Posts: 270
Re: VirtualBox 3.2.0 not working on 2010.1KDE
« Reply #14 on: June 07, 2010, 05:25:00 PM »
Before I had read the post from gregPCLOS to solve this problem, I solved it another way it this way. I thought the usb was being greyed out due to write permissions. When I looked at virtualbox.desktop in  /opt/VirtualBox I found the permissions were for read only.
 While in  the /opt/VirtualBox directory, as root, in a terminal I typed chmod 666 virtualbox.desktop.This gives read and write permissions to the owner and the group. The greyed out USB devices were now available.

 
« Last Edit: June 07, 2010, 05:57:01 PM by Duvid »