Page 6 of 6 FirstFirst ... 456
Results 51 to 60 of 60

Thread: VBox as a service in Lucid

  1. #51
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VBox as a service in Lucid

    Awesome. Glad you got it working!
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  2. #52
    Join Date
    May 2013
    Beans
    4

    Re: VBox as a service in Lucid

    i cant seem to make it work please help me.. what vbox user am i looking for? iv tried several user but cant make it work.. please help

  3. #53
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VBox as a service in Lucid

    You need to tell it to run as whatever user you have those VMs running as. I have mine running under vboxuser.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #54
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,378
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: VBox as a service in Lucid

    The user in these scripts should be the one that owns the VMs. The default installation of vbox puts the VM directories under $HOME of the user who's installing the package, which normally is your own home directory. In that case, VBOXUSER in the scripts should be set to your user name.

    Hope this helps...

    EDIT: I see that Charles runs his VMs under a different user name, but that may be a bit advanced for you if you're having problems getting the scripts to work. Use a search utility such as find or catfish to locate your *.vdi files, which will be in a subdirectory of some user's home directory. That user will be the one to use.
    Last edited by JKyleOKC; May 10th, 2013 at 06:11 AM. Reason: add some details
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

  5. #55
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VBox as a service in Lucid

    Quote Originally Posted by JKyleOKC View Post
    The user in these scripts should be the one that owns the VMs. The default installation of vbox puts the VM directories under $HOME of the user who's installing the package, which normally is your own home directory. In that case, VBOXUSER in the scripts should be set to your user name.

    Hope this helps...

    EDIT: I see that Charles runs his VMs under a different user name, but that may be a bit advanced for you if you're having problems getting the scripts to work. Use a search utility such as find or catfish to locate your *.vdi files, which will be in a subdirectory of some user's home directory. That user will be the one to use.
    This pretty much covers it.

    If there is only one user on the machine, the VMs would be run under that user's account.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #56
    Join Date
    May 2013
    Beans
    4

    Re: VBox as a service in Lucid

    im still trying to understand the script. could you help me understand ? i was wondering if i will only shutdown my ubuntu server without shuting down the VMs will the script safely shutdown the running VMs?

  7. #57
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VBox as a service in Lucid

    Yes. You can test it by running it manually:
    Code:
    /etc/init.d/scriptname stop
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #58
    Join Date
    May 2013
    Beans
    4

    Re: VBox as a service in Lucid

    i have tried the script. but i was afraid maybe my VMs would get corrupted? is there a possibility that this would occur? thank you for your response.

  9. #59
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VBox as a service in Lucid

    That is unlikely to occur. The script calls the functions VirtualBox uses when shutting down or saving the state of the VM. Unless your machine is powered off unexpectedly, you should be fine as long as the script is working.

    Have you tested it already?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  10. #60
    Join Date
    May 2013
    Beans
    4

    Re: VBox as a service in Lucid

    yes sir i have tried the script and it works thank you sir

Page 6 of 6 FirstFirst ... 456

Tags for this Thread

Bookmarks

Posting Permissions

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