Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Problem sharing files

  1. #1
    Join Date
    Apr 2006
    Beans
    3,923

    Problem sharing files

    Hi all,

    VirtualBox
    ========
    Host - Ubuntu 22.04
    VM - Kubuntu 22.04

    It took me more than an hour unable to sort out the problem of sharing files btw Ubunu 22.04 Host and Kubuntu 22.04 VM

    VirtualBox Guest Edition has been installed

    sharefolder has been created on Kubuntu

    On Kubuntu Terminal:
    $ ls -ald /home/satimis/sharefolder/
    Code:
    drwxrwxr-x 2 satimis satimis 4096 Dec  1 15:54 /home/satimis/sharefolder/
    Also having run;
    $ sudo usermod -a -G vboxsf "$USER"

    Drag files from Ubuntu (host) Transfer folder
    to:
    Kubuntu VM sharefolder doesn't work

    Is there a solution?
    Or I have to install Samba to do the job?

    Please help.

    Thanks

    Regards

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Problem sharing files

    vboxsf never worked right. There are locking issues.

    Just use NFS. Don't use samba to share files between Unix systems. Use NFS.

  3. #3
    Join Date
    Apr 2006
    Beans
    3,923

    Re: Problem sharing files

    Quote Originally Posted by TheFu View Post
    vboxsf never worked right. There are locking issues.

    Just use NFS. Don't use samba to share files between Unix systems. Use NFS.
    Thanks for your advice.

    Just checked other Ubuntu 22.04 VMs on this PC. They don't have problem sharing files with the Host, Ubuntu 22.04.

    Would following link be suitable for me to follow instaling NFS on Kubuntu 22.04?

    How To Set Up an NFS Mount on Ubuntu 20.04
    https://www.digitalocean.com/communi...n-ubuntu-20-04

    Do I need to make any change on the Host?

    Edit
    ====

    Ah I forgot to mention;
    On Kubuntu 22.04 there is already a network setup by default. It seems requiring SMB to connect. Pls see attached screenshot

    Regards
    Attached Images Attached Images
    Last edited by satimis; December 4th, 2023 at 04:09 PM.

  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Problem sharing files

    I'd use the NFS guide at help.ubuntu.com, if I needed it. NFS has basically "just worked" for 20+ yrs, so I haven't really looked at documentation beyond a quick check of NFS versions in many years.

    There is an nfs-server ... so that needs to be installed on the server. It is a kernel module to make performance fly. Between VMs and the host, you should have 25+ Gbps connections, so NFS should feel like local storage with real Unix permissions.

    Go try some things and if you get stuck, post what you tried with configs.

  5. #5
    Join Date
    Apr 2006
    Beans
    3,923

    Re: Problem sharing files

    Quote Originally Posted by TheFu View Post
    I'd use the NFS guide at help.ubuntu.com, if I needed it. NFS has basically "just worked" for 20+ yrs, so I haven't really looked at documentation beyond a quick check of NFS versions in many years.

    There is an nfs-server ... so that needs to be installed on the server. It is a kernel module to make performance fly. Between VMs and the host, you should have 25+ Gbps connections, so NFS should feel like local storage with real Unix permissions.

    Go try some things and if you get stuck, post what you tried with configs.
    I found the document on help.ubuntu.com

    SettingUpNFSHowTo
    https://help.ubuntu.com/community/SettingUpNFSHowTo

    Do I need to install NFS on the Host Ubuntu 22.04 ?


    If YES, I have to consider that should I make any mistake how can I come back? I have more than 15 VMs running on this PC. That is the important point I have to consider

    I will clone a new Kubuntu 22.04 for the test.

    Regards

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Problem sharing files

    What have you tired?

    NFS is very light. Lighter than samba, since there's no need for translations. NFS is used in enterprises around the world with tens of thousands of clients. At my first Unix job, all our HOME directories were NFS mounts for every workstation both in the development LAN (perhaps 50 clients) and in production LANs with 600+ clients and this was in the early 1990s. My 2 VM hosts sitting 3 ft from me are each faster than any system we had anywhere on that job, including all the servers that cost millions each. Effectively, my VM hosts are each Cray Y-XP system from 1990. You tend to through 2x more hardware at problems than I do, so I have ZERO concerns about NFS overhead.

    Heck, if you dropped virtualbox and used KVM+libvirt, and used virt-manager for the GUI, you'd be better off, but that's a different issue, for a different day.

  7. #7
    Join Date
    Apr 2006
    Beans
    3,923

    Re: Problem sharing files

    Quote Originally Posted by TheFu View Post
    - snip -
    Heck, if you dropped virtualbox and used KVM+libvirt, and used virt-manager for the GUI, you'd be better off, but that's a different issue, for a different day.
    Why I need Kubuntu 22.04 is to run kdenlive. Please see following link

    How to increase font size of KDE application
    https://ubuntuforums.org/showthread.php?t=2493005

    If I can increase the font size of kdenlive running on Ubuntu 22.04 I don't need Kubuntu 22.04

    On Internet searching I found;
    How can I change the font size of locally installed KDE application menus and dialogs?
    https://askubuntu.com/questions/6317...n-menus-and-di

    But I couldn't locate /.kde/share/config/

    I found;
    $ ls /home/satimis/snap/kdenlive/
    Code:
    101  103  common  current
    Can you help?

    Thanks

  8. #8
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Problem sharing files

    But isn't that setting in the attached photo... Kubuntu: System Settings > Appearance > Fonts?
    Attached Images Attached Images

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Problem sharing files

    Quote Originally Posted by satimis View Post
    Can you help?
    Nope. Not my skillset. I don't use any DE.

  10. #10
    Join Date
    Apr 2006
    Beans
    3,923

    Re: Problem sharing files

    Quote Originally Posted by TheFu View Post
    Nope. Not my skillset. I don't use any DE.
    Noted.

    I'm running both KVM and VirtualBox in this PC.

    KVM is running on a 500G SATA6 SSD drive. I seldomly run it. All the times I run VirtualBox, running on a 2TB PCIe 3.0 NVMe SSD drive and with faster in speed. Starting KVM again, it'll take me some times to update and ugrade its host, Ubuntu and its guests, some of its guests with Docker running on top.

    If I can't solve the problem, I'll get an old 120G SSD to install Kubuntu 22.04 or Ubuntu 22.04 with KDE desktop, for only running Kdenlive.

    Regards

Page 1 of 3 123 LastLast

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
  •