I would like to integrate Ubuntu,Fedora,Arch or maybe some other distro into one only single,homogeneous and flexible operating (OS) context. I would like to use Ubuntu as host os and the rest of the OSes (Fedora,Arch) will be virtualized within different virtual machines.
The idea is to install the Fedora OS within a qemu-kvm VM and mount all the relevant directories needed to run an application on Ubuntu. My knowledge of linux is decent,but for sure is not advanced. So,I would like to read your opinions regarding the method that I would like to use.
Let's say that I want to integrate Fedora in Ubuntu as much as possible. At this stage of the project I've installed Fedora 37 on a qemu-kvm VM and I've mounted the remote Directory / over SSH on ubuntu within the directory /Fedora and then I've exported all the necessary paths to run smplayer succesfully (I've installed mplayer only on Fedora,but not on Ubuntu,to avoid overlaps).
Below you can read the commands that I have issued : (vm = Fedora = 192.168.122.156 ; /Fedora = the directory on Ubuntu where I have mounted the Fedora's /)
ziomario@Z390-AORUS-PRO-DEST:~$ sshfs -o allow_other marietto@192.168.122.156:/ /Fedora
The authenticity of host '192.168.122.156 (192.168.122.156)' can't be established.
ED25519 key fingerprint is
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
marietto@192.168.122.156's password:
ziomario@Z390-AORUS-PRO-DEST:~$ export PATH="/Fedora/usr/lib:/Fedora/usr/lib64:/Fedora/root/.local/bin:/Fedora/root/bin:/Fedora/usr/local/sbin:/Fedora/usr/local/bin:/Fedora/usr/sbin:/Fedora/usr/bin:$PATH"
ziomario@Z390-AORUS-PRO-DEST:~$ echo $PATH
/Fedora/usr/lib:/Fedora/usr/lib64:/Fedora/root/.local/bin:/Fedora/root/bin:/Fedora/usr/local/sbin:/Fedora/usr/local/bin:/Fedora/usr/sbin:/Fedora/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
ziomario@Z390-AORUS-PRO-DEST:~$ smplayer
smplayer: error while loading shared libraries: libQt5Solutions_SingleApplication-2.6.so.1: cannot open shared object file: No such file or directory
root@Z390-AORUS-PRO-DEST:/home/ziomario# find /Fedora -name libQt5Solutions_SingleApplication-2.6.so.1
...
find: ‘/Fedora/etc/strongswan/ipsec.d’: Access Denied
find: ‘/Fedora/etc/strongswan/swanctl/bliss’: Access Denied
find: ‘/Fedora/etc/strongswan/swanctl/ecdsa’: Access Denied
find: ‘/Fedora/etc/strongswan/swanctl/pkcs12’: Access Denied
find: ‘/Fedora/etc/strongswan/swanctl/pkcs8’: Access Denied
find: ‘/Fedora/etc/strongswan/swanctl/private’: Access Denied
find: ‘/Fedora/etc/strongswan/swanctl/rsa’: Access Denied
find: ‘/Fedora/etc/ipsec.d’: Access Denied
find: ‘/Fedora/etc/libvirt’: Access Denied
find: ‘/Fedora/lost+found’: Access Denied
/Fedora/usr/lib64/libQt5Solutions_SingleApplication-2.6.so.1
find: ‘/Fedora/usr/libexec/initscripts/legacy-actions/auditd’: Access Denied
find: ‘/Fedora/usr/share/empty.sshd’: Access denied
As you can see,it does not work. Mplayer does not start when invoked on Ubuntu because it seems that it can't find that shared library. Where could be the problem ?