VM icon move

Page 1 of 2 12 LastLast

  1. Posts : 1,333
    10 Pro retail 1909
       #1

    VM icon move


    Hello
    After installing Mint into the Oracle VM using Windows 10, I have the icon on my desktop. I am new to virtualization but have read one can share folders and test programs
    I usually only have the recycle bin there and wondered if there was an easy way to put it else where so I could access it as necessary[functionally too], but not see it all the time.
    Thank you
    Peter
    P.S. are additions recommended?
      My Computer


  2. Posts : 11,247
    Windows / Linux : Arch Linux
       #2

    Hi there
    Sharing folders etc with VM's is simply done via Networking - NAT/BRIDGED/HOST ONLY - choose what's best for your case. If you want to isolate the VM from the Internet chose Host only.

    On the Windows host enable the HDD's / directories you want to share

    From Windows Host to Linux VM -- the normal way is to Mount a specific device on the Linux machine with the appropriate privileges. Linux will need package ntfs-3g to be installed if you want READ/WRITE access to your Windows files on the VM. On some linux distros this package is generally installed by default.

    E.g as root mount /dev/hdb -t ntfs -o rw /mnt/shareddir

    On Windows to read Linux files you need to set up SAMBA shares (on the |Linux machine) and then you just go into File explorer-->networking-->computer-name--> then you'll see the files you've defined in SAMBA.

    When you boot up the Linux VM ensure services smb and nmb are started and active.

    Explaining SAMBA config is beyond the scope of this post but there's lots of documentation out there - and Linux Mint usually plays nice with networks.

    Note you WILL need to install vbox additions --this improves mouse / touchpads, video drivers and sound for your VM.

    Here's a test SAMBA file (smb.conf) that I use from time to time. Find it in directory root-->etc-->samba


    #======================= Global Settings =====================================

    [global]
    max protocol = SMB3
    # can set it to SMB2 if you want experimental SMB2 support.
    #
    workgroup = WORKGROUP
    server string = Samba Server Version %v

    ; max protocol = SMB2

    log file = /var/log/samba/log.%m
    max log size = 50
    security = user
    passdb backend = tdbsam


    load printers = yes
    cups options = raw

    ; printcap name = /etc/printcap
    # obtain a list of printers automatically on UNIX System V systems:
    ; printcap name = lpstat
    ; printing = cups


    #============================ Share Definitions ==============================

    [homes]
    comment = Home Directories
    browseable = yes
    writable = yes
    valid users = %S

    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    guest ok = no
    writable = no
    printable = yes

    [Music]
    comment Music files
    path = /mnt/Music
    guest ok = yes
    writeable = yes
    browseable = yes

    [Films]
    comment Films
    path = /mnt/Video/Films
    guest ok = yes
    writeable = yes
    browseable = yes

    [Television]
    comment TV series
    path = /mnt/Video/TV/TV
    guest ok = yes
    writeable = yes
    browseable = yes


    [BBC]
    comment BBC
    path = /mnt/Video/BBC
    guest ok = yes
    writeable = yes
    browseable = yes



    Don't forget to add your username initially (as root run command from a console : smbpasswd -a username) you'll be prompted for a password.


    When you've decided on your SAMBA conf file test it with (again as root) TESTPARM

    Cheers
    jimbo
      My Computer


  3. Posts : 1,333
    10 Pro retail 1909
    Thread Starter
       #3

    Mint


    Hi Jimbo and thank you for all of the information I have read your posts over and over and as a novice to Linux I am amazed at the complexity of the system I guess it is something you should have used for quite a while. I actually did set up Oracle with mint and establish the printer and was able to write a letter and have a good search of the operating system and setup it is so different than Windows and I wish I was more proficient with it.
    Like a language it would require me to be immersed or have someone at my side do to the complexity of it
    I think it is too much for me and will stick with Windows and I can't thank you enough for your time and effort.
    Peter
      My Computer


  4. Posts : 1,333
    10 Pro retail 1909
    Thread Starter
       #4

    May I ask, if I want to open a program from Win 10 and not use a desktop icon, can I go to program files or wherever the origin of the path is and open it from there. I was thinking of that hypothetically /generally but also specifically about removing the virtual box icon from the desktop.
    When I removed it fro the desktop last time I could not open it with the start I had sent it to. Right click>'send to start'.
      My Computer


  5. Posts : 1,323
    Windows 11 Pro 64-bit
       #5

    Hello Peter,

    The VirtualBox main window is the VM manager: from there you see all your VMs that you can launch.

    You can however create a shortcut of one VM and add it to the desktop:
    VM icon move-vm-shortcut.png

    This shortcut will launch the VM directly, without the manager window.
    VM icon move-shortcut.png
    Behind the scenes, a command line, with path to the virtualbox exe is sent with the right parameters.
      My Computers


  6. Posts : 1,323
    Windows 11 Pro 64-bit
       #6

    maranna said:
    Hello
    are additions recommended?
    Yes.
    The Guest Additions offer the following features:
    -Mouse pointer integration
    -Shared folders
    -Better video support
    -Seamless windows
    -Generic host/guest communication channels
    -Time synchronization
    -Shared clipboard
    -Automated logons (credentials passing)
    Source:
    Chapter*4.*Guest Additions
      My Computers


  7. Posts : 1,333
    10 Pro retail 1909
    Thread Starter
       #7

    @Hopachi - Yes, I understand about the desktop shortcut which I did create. I had only a recycle bin on my desktop and wish to keep it that way so; is there a way to send a functional shortcut to open the VM? Could I go to the path and open the VM there so the desktop is clear? If not I will place it on the desktop..
    @Hopachi - I read bout the additions which was quite complicated for me. I have someone who can tutor me o.l. so do you think a low level Linux person like me could create these additions one by one?
    Thank you for helping me get started.
    Peter
      My Computer


  8. Posts : 1,323
    Windows 11 Pro 64-bit
       #8

    maranna said:
    @Hopachi - Yes, I understand about the desktop shortcut which I did create. I had only a recycle bin on my desktop and wish to keep it that way so; is there a way to send a functional shortcut to open the VM? Could I go to the path and open the VM there so the desktop is clear? If not I will place it on the desktop..
    Certainly, Desktop can be used for some work of art, scenic panoramas... you name it!
    You can place the shortcut somewhere else instead of the Desktop -> Pin to Start for instance; or put it in another folder.
    You can even copy the whole path with parameters and launch it from Run or cmd window... or even place it in the startup folder and let is start when Windows starts... endless possibilities here.

    maranna said:
    @Hopachi - I read bout the additions which was quite complicated for me. I have someone who can tutor me o.l. so do you think a low level Linux person like me could create these additions one by one?
    Thank you for helping me get started.
    Peter
    This is quite easy:
    From the VM window menu -> Devices -> Insert guest addition CD... then something should pop up; otherwise browse to the virtual CD in the VM and launch the installer manually from there.

    Chapter*4.*Guest Additions
    For Linux guests:
    Code:
    sh ./VBoxLinuxAdditions.run
      My Computers


  9. Posts : 1,333
    10 Pro retail 1909
    Thread Starter
       #9

    I did "send to" start, but when I clicked upon it, nothing happened.
    That would have been the easiest place to put it if it had worked.
    How do you mechanically put the VM elsewhere so when you click on it the VM opens?
    By knowing this I will also know how to move something else.

    I guess I thought additions was hard because I was trying to understand chapter 4 - that is confusing for a novice.

    This is Windows 10 pro x 64.
      My Computer


  10. Posts : 1,323
    Windows 11 Pro 64-bit
       #10

    maranna said:
    I did "send to" start, but when I clicked upon it, nothing happened.
    That would have been the easiest place to put it if it had worked.
    How do you mechanically put the VM elsewhere so when you click on it the VM opens?
    By knowing this I will also know how to move something else.

    I guess I thought additions was hard because I was trying to understand chapter 4 - that is confusing for a novice.

    This is Windows 10 pro x 64.
    Try to click it again. Does your VM start if you launch it from the VirtualBox manager window?

    The pin to start works fine here.

    Actually the shortcut from desktop is the way to do it and should work everywhere you place it. If "nothing happens" when you click it, then you must have a bad config for the VM or some other issue.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:13.
Find Us




Windows 10 Forums