Author Topic: Zenity Script Help for getvirtualbox.  (Read 8152 times)

Offline hoos

  • Sr. Member
  • ****
  • Posts: 378
  • E=mc²
Re: Zenity Script Help for getvirtualbox.
« Reply #45 on: June 09, 2010, 04:47:18 AM »
No, not yet,
I´ll dive into it.
Come to think of it, Old-Polack mentioned something similar
a while back in another thread.
Anyway, I'll report back.

        Thanks, Hoos.
You have to be efficient if you're going to be lazy

Offline hoos

  • Sr. Member
  • ****
  • Posts: 378
  • E=mc²
Re: Zenity Script Help for getvirtualbox.
« Reply #46 on: June 09, 2010, 05:36:12 AM »
Mmmm.., at the moment forums.virtualbox.org
is unreachable.... :'(

    Ch, H.
You have to be efficient if you're going to be lazy

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: Zenity Script Help for getvirtualbox.
« Reply #47 on: June 09, 2010, 06:40:13 AM »
maybe the missing USB entries are because getvirtualbox3.2.4-1pclos2010 misses the requirement libpython2.5-devel which caused an error-message during installation. Installing libpython2.5-devel, then running getvirtualbox again and there are no more error messages. The script works very well, removed all previous vbox packages, and all seems to work fine, great job! Tex, could you please update the rpm to require libpython2.5-devel?
regards,
-p.

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Zenity Script Help for getvirtualbox.
« Reply #48 on: June 09, 2010, 06:55:51 AM »
...Waited a while for DKMS modules to build. They must have, because I didn't see any kernel module activity in verbose mode on next reboot. Never hurts to check. Works like a charm. Results are shown below. Thanks, Tex.

installing







..I changed the zenity dialog from a pulstating progress bar to a text dialog in the version I posted last; While this does make all of the output of the install process visible without xterm, it also makes it so that you have to click the close button...  I suppose you could call it a feature!  :D





« Last Edit: June 09, 2010, 10:01:14 AM by travisn000 »

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11598
  • ----IOFLU----
Re: Zenity Script Help for getvirtualbox.
« Reply #49 on: June 09, 2010, 07:02:29 AM »
No, not yet,
I´ll dive into it.
Come to think of it, Old-Polack mentioned something similar
a while back in another thread.
Anyway, I'll report back.

        Thanks, Hoos.

I have it on good authority he also posted about installing the libpython2.5-devel package, before running the installation script, so that VBox would build without errors. Missed that one, didn't you?  ;D

3.2.2 and 3.2.4 both had usable USB after installing the libpython2.5-devel package. You may need to run the current guest additions while the VM is running, and may also have to reboot the host machine as well as the guest VM before the USB works, but it will work.

When I replaced the 3.2.0 installation with 3.2.2, the USB attached items just worked, using the older guest additions. When I upgraded to the newer guest additions, the USB items grayed out and remained so after a reboot of the VM. Rebooting the host corrected that. With the upgrade to 3.2.4, the same thing happened. It needed a full reboot of the host before the USB attached hardware was fully recognized and operational with the newest guest additions.

« Last Edit: June 09, 2010, 07:16:08 AM by old-polack »
Old-Polack

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



Lest we forget...

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12539
Re: Zenity Script Help for getvirtualbox.
« Reply #50 on: June 09, 2010, 07:20:23 AM »
..I changed the zenity dialog from a pulstating progress bar to a text dialog in the version I posted last; while this does make all of the output of the install process visible without xterm, it also makes it so that you have to click the close button...  I suppose you could call it a feature!  :D

Yeh you did good bro!  ;)
« Last Edit: June 09, 2010, 08:28:15 AM by travisn000 »

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

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12539
Re: Zenity Script Help for getvirtualbox.
« Reply #51 on: June 09, 2010, 07:21:25 AM »
maybe the missing USB entries are because getvirtualbox3.2.4-1pclos2010 misses the requirement libpython2.5-devel which caused an error-message during installation. Installing libpython2.5-devel, then running getvirtualbox again and there are no more error messages. The script works very well, removed all previous vbox packages, and all seems to work fine, great job! Tex, could you please update the rpm to require libpython2.5-devel?
regards,
-p.

Dang that tex!

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

Offline hoos

  • Sr. Member
  • ****
  • Posts: 378
  • E=mc²
Re: Zenity Script Help for getvirtualbox.
« Reply #52 on: June 09, 2010, 07:30:03 AM »
O-P, thanks,
I had the libpython2.5-devel package already installed for other reasons.
Other than that I followed your suggestions and rebooted the lot,
but still no usb devices at hand...
For the record, VirtualBox is installed in /opt/,
the .vdi in /home/whatever/.VirtualBox

 Cheers, Hoos.
You have to be efficient if you're going to be lazy

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15322
  • ┌∩┐(◕_◕)┌∩┐
Re: Zenity Script Help for getvirtualbox.
« Reply #53 on: June 09, 2010, 11:16:59 AM »
I have downloaded getvirtualbox and its working fine.

If you have VBox already installed it drops the menu item into:

KMenu > More Applications > Emulators  Get Oracle VM VirtualBox.

When run it prompts for password and then asks it you want download and install VBox with Yes or No buttons to procede.

Very cool.
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 travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Zenity Script Help for getvirtualbox.
« Reply #54 on: June 09, 2010, 11:39:06 AM »
..I changed the zenity dialog from a pulsating progress bar to a text dialog in the version I posted last; while this does make all of the output of the install process visible without xterm, it also makes it so that you have to click the close button...  I suppose you could call it a feature!  :D

Yeh you did good bro!  ;)


 ;D ...hey, thanks man!  ;D


I'm not sure how closely you looked at it, but I also added a few more error checks and changed the wget|sed|zenity download/cancel mechanism a bit in that version;  I think this aspect of it is a bit cleaner now.

I was also planning on spending some time tonight or tomarrow night to see if I can get some feedback related to the user & group updates, .desktop menu install, etc to output to the same zenity text box (..and log file) that the Vbox install output uses.  This probably is not really necessary, but it gives me a reason to learn a little more about a couple of bash scripting techniques..  ;D

..I haven't installed / tested the packaged version of the script yet, but was curious about your thought of executing the script from the %post section of the spec so that the getVirtualBox script runs automagically with installation of the package.  We could probably also use the %postun section to remove the VB install.   ???
« Last Edit: June 09, 2010, 12:20:48 PM by travisn000 »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3801
Re: Zenity Script Help for getvirtualbox.
« Reply #55 on: June 09, 2010, 09:53:55 PM »
I just installed getvirtualbox from the pclosusers repo. The script worked perfectly! This kind of customization is going to make every thing else look like **** (the distro where you compile everything yourself!). Great job!

Galen

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12539
Re: Zenity Script Help for getvirtualbox.
« Reply #56 on: June 09, 2010, 10:03:58 PM »
I just installed getvirtualbox from the pclosusers repo. The script worked perfectly! This kind of customization is going to make every thing else look like **** (the distro where you compile everything yourself!). Great job!

Galen

PCLinuxOS - ranked number 5 out of 500 plus Linux distributions on distrowatch.com and Oracle says they can't build us a RPM anymore. That's ok. Maybe they will change their minds when they see all those wget downloads off their server. If not then we have a solution with our getvirtualbox script. :D

« Last Edit: June 09, 2010, 10:10:22 PM by Texstar »

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

robert21

  • Guest
Re: Zenity Script Help for getvirtualbox.
« Reply #57 on: June 10, 2010, 10:21:27 AM »
Script worked fine here. I had a chance to run it this morning, upgraded from my working 3.2.2 fine. Usb works fine and none of my groups got hosed.
Thanks much, it is  actually easier than using smart command line to install prebuilt rpm.

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: Zenity Script Help for getvirtualbox.
« Reply #58 on: June 10, 2010, 10:46:52 AM »
nicely done everyone.. just updated my VB ........everything went smooth .. 8) 8)
Please Donate Today..Or I Will Make You Wish You Had

Offline j-retired

  • Hero Member
  • *****
  • Posts: 983
  • To find out what 'busy' is, then try retiring!
Re: Zenity Script Help for getvirtualbox.
« Reply #59 on: June 13, 2010, 05:48:00 PM »
Excellent system now!!!! Thanks to all.
All seems to be working perfectly - - - after I read old_polack's note about re-booting THE HOST!!!!!

 ;D

j