Results 1 to 5 of 5

Thread: general help, scripts, servers, VM and such

  1. #1
    Join Date
    Feb 2011
    Beans
    4

    Question general help, scripts, servers, VM and such

    Hi everyone

    Sorry in advance if double posted or such.
    I just got a windows on my VirtualMachine and would like to know how yo edit/add/write script that would associate data between VirtualMachine and my Ubuntu on startup.
    Second thing is another script to start and open my terminal window on startup.
    Another thing is that I got xfce GUI and would like to use this one over gnome but every time I boot my PC it always go to gnome. Should I just generally remove gnome or there is other way to do so.
    Last is that I would like to setup server between my Ubuntu and any other distro on VirtualMachine. How to do it?
    I would like to state that I am n00b in Linux and Ubuntu, got it for about a week.
    Where I can as well find a tutorial on how to start with shell scripts.

    Thank you everyone in advance for any help/links/tutorials/general directions where to find answers.

    Regards
    Last edited by kirior; April 21st, 2011 at 06:56 AM.

  2. #2
    Join Date
    Feb 2011
    Beans
    4

    Re: general help, scripts, servers, VM and such

    I am just replying to bring my post to the first page so more people could see it.

    Sorry if that's against rules or such.

    Tux for any help.

  3. #3
    Join Date
    Dec 2007
    Location
    /dev/null
    Beans
    121

    Re: general help, scripts, servers, VM and such

    Quote Originally Posted by kirior View Post
    I just got a windows on my VirtualMachine and would like to know how yo edit/add/write script that would associate data between VirtualMachine and my Ubuntu on startup.
    If you're using VirtualBox, there should be an option to specify a shared folder.
    Quote Originally Posted by kirior View Post
    Another thing is that I got xfce GUI and would like to use this one over gnome but every time I boot my PC it always go to gnome. Should I just generally remove gnome or there is other way to do so.
    In XDM/GDM/whatever login manager you have, you can set what session type you want. choose xfce and next time you log in just choose 'last session'.
    Quote Originally Posted by kirior View Post
    Where I can as well find a tutorial on how to start with shell scripts.
    http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
    It may look overwhelming at first, but it just breaks up a lot of the information into separate pages
    I can't answer all your questions, but this is a start

  4. #4
    Join Date
    Feb 2011
    Beans
    4

    Re: general help, scripts, servers, VM and such

    HI

    Thx for reply.
    The Login session i finally found where to change it so this is cool .
    About Virtual Machine there is a option to set shared folders but as well they give you a command 'mount -t vboxsf share mount_point' so does that mean that the 'mount_point' is the shared folder i specified and that line i would like to add to like startup script so i don't have to do it manually every time.
    So now just the server question left.

    Thank you all in advance for help.

    Regards

  5. #5
    Join Date
    Feb 2011
    Beans
    4

    Re: general help, scripts, servers, VM and such

    below solved, i just created a new folder in my home directory and added it to my shared folders on VM. working now


    ok so now i got to the point where i wanthed to set up a shared folder on my virtual box using this method
    Prepare host

    On the host (ubuntu) computer, run
    mkdir ~/VirtualBoxShare
    VBoxManage sharedfolder add "XP" -name "share" -hostpath /home/your/shared/folder/VirtualBoxShare/Where "XP" is the name of the virtual machine in VirtualBox, and "share" is the name of the share as the guest machine will see it. The hostpath must be a fully-qualified path.

    the mkdir part worked perfect but than i got some errors:
    root@marek-desktop:/home/marek# VBoxManage sharedfolder add "Win7" --name "share" --hostpath /home/marek/VirtualBox\ VMs/
    VBoxManage: error: Could not find a registered machine named 'Win7'
    VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
    Context: "FindMachine(Bstr(a->argv[1]).raw(), machine.asOutParam())" at line 648 of file VBoxManageMisc.cpp
    dunno that to do or how to solve this.
    Last edited by kirior; April 22nd, 2011 at 12:21 PM.

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
  •