+ Post New Thread
Page 2 of 7 FirstFirst 123456 ... LastLast
Results 16 to 30 of 101
How do you do....it? Thread, Virtualbox + image for programming classes in Technical; Can you just try it like this: Code: "C:\Program Files\Oracle\VirtualBox\vboxsdl.exe" -vm "My Python" Friendly name ofc If it's still not ...
  1. #16

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,686
    Thank Post
    334
    Thanked 513 Times in 481 Posts
    Rep Power
    178
    Can you just try it like this:

    Code:
    "C:\Program Files\Oracle\VirtualBox\vboxsdl.exe" -vm "My Python"
    Friendly name ofc

    If it's still not loading it's more likely something else wrong.

    Steve

  2. #17

    Join Date
    Oct 2011
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yea that just pops up the vboxsdl cmd box and then closes as well. Does the vm image have to be stored in the virtualbox folder?

  3. #18

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,686
    Thank Post
    334
    Thanked 513 Times in 481 Posts
    Rep Power
    178
    Nope, you can run it from a shared drive if you want. You just need to use the whole filepath if you have it somewhere different. (or change the default save/image location so you don't need to bother with faff )

    Steve

  4. #19

    Join Date
    Oct 2011
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Seems It gives the following error when it stays on the screen SDL Error: 'DirectInputDevice::SetDataFormat: Invalid parameters'

  5. #20

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    5,844
    Thank Post
    570
    Thanked 994 Times in 766 Posts
    Blog Entries
    15
    Rep Power
    460
    I've gone down a different route which is pretty bulletproof (has to be, mandatory profiles). Shortcut to run it runs a batch file containing the following:

    Code:
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" registervm "C:\VM\Programming\Programming.vbox"
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata global GUI/SuppressMessages remindAboutAutoCapture,remindAboutMouseIntegrationOn,showRuntimeError.warning.HostAudioNotResponding,remindAboutGoingSeamless,remindAboutInputCapture,remindAboutGoingFullscreen,remindAboutMouseIntegrationOff,confirmGoingSeamless,confirmInputCapture,remindAboutPausedVMInput,confirmVMReset,confirmGoingFullscreen,remindAboutWrongColorDepth
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata global GUI/RestrictedGlobalSettingsPages General,Input,Update,Language,Display,Network,Extensions,Proxy
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VM\Programming\Programming.vbox" GUI/RestrictedRuntimeMenus Machine,View,Devices,Help,Debug
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VM\Programming\Programming.vbox" GUI/RestrictedStatusBarIndicators HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Features,Mouse,Keyboard
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VM\Programming\Programming.vbox" GUI/RestrictedCloseActions SaveState,PowerOff,Restore
    
    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" startvm "C:\VM\Programming\Programming.vbox"
    First bit registers the VM with the installation of Virtual Box. All lines up until "startvm" limit what can and can't be seen by the end user (ie nothing). Last bit, obviously, starts it.

  6. 5 Thanks to synaesthesia:

    Divaldo (31st March 2014), jbailey (15th January 2014), kevrage (28th February 2014), madurham (16th April 2014), victory2012 (17th December 2013)

  7. #21

    Join Date
    Oct 2011
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi

    That worked a treat I can nor run the VM from the shortcut. How are other people storing the VM? are you putting it locally on each PC or are you putting it into a shared area?

    Regards

  8. #22

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    5,844
    Thank Post
    570
    Thanked 994 Times in 766 Posts
    Blog Entries
    15
    Rep Power
    460
    Mine is copied to each PC. It's only 7gb (windows 7 x86 "lite") with all the relevant stuff installed.

  9. #23

    Join Date
    Oct 2011
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Only problem now is we are on a cc4 network and we have access to CMD blocked for all pupils so pupils cannot run the batchfile to access the software.

  10. #24

    Join Date
    Oct 2011
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    How did you get past the batch file being blocked synaesthesia? I have added the file to be allowed under software restrictions but it has not made a difference

  11. #25

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    5,844
    Thank Post
    570
    Thanked 994 Times in 766 Posts
    Blog Entries
    15
    Rep Power
    460
    We're on a vanilla network therefore we can control such permissions easier. The batch file however is no different in CC4's eyes to any other executable file - if you can't get software restrictions to work with it, then try copying it all into a folder within Program Files. That's usually sufficient to make CC4 sit up and beg.

  12. #26
    gumbygaz's Avatar
    Join Date
    Nov 2009
    Location
    Staffordshire
    Posts
    93
    Thank Post
    78
    Thanked 13 Times in 12 Posts
    Rep Power
    12
    Quote Originally Posted by synaesthesia View Post
    Nice easy one, just finished doing ours.
    Look up the shared folders option - we have ours set to the home drive. Networking is disabled apart from "host only network" for that to work.
    And yeah, keep it on the C: drive unless you have another drive specifically for the VM.

    If you want to push out Virtual Box by MSI (GPO, SCCM etc) then you'll need to install the certificate so the drivers will install without intervention - if you need that, give me a poke. I've just finished packaging the VM itself too (we used a stripped down version of Windows 7 - the image is 10GB including Netbeans, Notepad++, all windows updates, .net framework 4.5, Python etc)
    Morning,

    Been tasked with this and getting a 1604 MSI failure when pushing Virtualbox out. Guess it's down to the unsigned drivers. Any chance you could give me a couple pointers how you managed to get round that issues @synaesthesia? Huge thanks!

    Gaz

  13. #27

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    5,844
    Thank Post
    570
    Thanked 994 Times in 766 Posts
    Blog Entries
    15
    Rep Power
    460
    The certificate is within a cabinet file, within the MSI - send that out to your clients via GPO. I'll inbox you the certificate to save time.

    Import it via GPO> computer policies, windows settings, security settings, Public Key Policies, Trusted Publishers Certificates
    Push that out first, then try the package again.

  14. 2 Thanks to synaesthesia:

    FragglePete (3rd February 2014), gumbygaz (17th September 2013)

  15. #28
    gumbygaz's Avatar
    Join Date
    Nov 2009
    Location
    Staffordshire
    Posts
    93
    Thank Post
    78
    Thanked 13 Times in 12 Posts
    Rep Power
    12
    Wahey! Worked first time, damn simple in the end! Didn't know it was lurking in the cab file. Huge thanks for that - owe ya one!

  16. #29

    synaesthesia's Avatar
    Join Date
    Jan 2009
    Location
    Northamptonshire
    Posts
    5,844
    Thank Post
    570
    Thanked 994 Times in 766 Posts
    Blog Entries
    15
    Rep Power
    460
    No worries

  17. #30
    Divaldo's Avatar
    Join Date
    Feb 2008
    Location
    Leicestershire
    Posts
    80
    Thank Post
    25
    Thanked 4 Times in 4 Posts
    Rep Power
    14
    Thanks to the useful tips from you guys, I have got VirtualBox set up and ready for our forthcoming computing/programming classes.

    The only problem I'm having at our place, is that we don't allow students to run batch files, vbs or the command prompt (which is one of the reasons for the unrestricted virtual session). With that in mind, do any of you have any tips on how to allow students to actually launch VirtualBox? I don't want them to be able to run the VirtualBox Manager or alter any of the settings so I like the method of launching it via vboxmanage.exe with all the restrictions in place.

    I'm currently launching it from the following batch file which works really well for the teachers who do have access to the command prompt:

    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" registervm "C:\VirtualBox VMs\VirtualPC.vbox"

    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VirtualBox VMs\VirtualPC.vbox" GUI/SuppressMessages remindAboutAutoCapture,remindAboutMouseIntegration On,showRuntimeError.warning.HostAudioNotResponding ,remindAboutGoingSeamless,remindAboutInputCapture, remindAboutGoingFullscreen,remindAboutMouseIntegra tionOff,confirmGoingSeamless,confirmInputCapture,r emindAboutPausedVMInput,confirmVMReset,confirmGoin gFullscreen,remindAboutWrongColorDepth

    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata global GUI/RestrictedGlobalSettingsPages General,Input,Update,Language,Display,Network,Exte nsions,Proxy

    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VirtualBox VMs\VirtualPC.vbox" GUI/RestrictedRuntimeMenus Machine,View,Devices,Help,Debug

    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VirtualBox VMs\VirtualPC.vbox" GUI/RestrictedStatusBarIndicators HardDisks,OpticalDisks,FloppyDisks,Network,USB,Sha redFolders,Features,Mouse,Keyboard,VideoCapture

    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" setextradata "C:\VirtualBox VMs\VirtualPC.vbox" GUI/RestrictedCloseActions SaveState,PowerOff,Restore

    "C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" startvm "C:\VirtualBox VMs\VirtualPC.vbox"

SHARE:
+ Post New Thread
Page 2 of 7 FirstFirst 123456 ... LastLast

Similar Threads

  1. Replies: 2
    Last Post: 18th April 2008, 09:16 AM
  2. [CLOSED] Missing Content: Missing Image for a flag & flash
    By FN-GM in forum EduGeek.net Site Problems
    Replies: 1
    Last Post: 11th February 2008, 09:02 AM
  3. "turn off " internet for a class
    By jumpinjamez in forum How do you do....it?
    Replies: 5
    Last Post: 3rd November 2006, 01:29 PM
  4. Shared favourites for different classes
    By contink in forum How do you do....it?
    Replies: 7
    Last Post: 1st October 2006, 01:32 PM
  5. GNU Image Manipulation Program (GIMP)
    By _Bat_ in forum Downloads
    Replies: 1
    Last Post: 30th June 2006, 10:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •