Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and I just double click, click on the “Install Package” button.
Then open VirtualBox and I installed OpenSuse Tumbleweed, 64 bit.
So, I am able to run the OpenSuse guest OS.
I am not sure how I can transfer a file from my host (Kubuntu 18.04) to the guest OS.
The clipboard transfer does not work either.
To transfer a file between computers, use tools like scp, sftp, ftp, rsync. You can also set up NFS.
Quote:
Originally Posted by vmelkon
and it still does not work.
What do you try, and what is the result?
EDIT:
It seems that you may be able to drag and drop icons between the host's and the VM's desktop or file managers after enabling bidirectional drag-and-drop in the Virtualbox Devices menu. I am not sure if this feature is mature, though. There are voices that declare it as buggy.
You can also create a shared folder managed by Virtualbox.
Finally, are you sure that VBoxLinuxAdditions.run was successful?
Last edited by berndbausch; 11-29-2020 at 05:14 PM.
Like berndbausch described, I would consider using sftp or similar (easy enough to do from CLI or Dolphin file manager). FWIW, I do similar with a Windows 10 host and openSUSE Leap guest using samba.
However, VirtualBox guest additions should work too. I haven't tried with a Linux host, but it does work with my Windows host/Linux guest situation.
This shouldn’t be complicated or is it suppose to be complicated?
It's a virtual machine! A simulated computer running inside your operating system. How cool is that!
And certainly very complex.
It's not "supposed" to be complicated, it is complicated.
Also many people use VMs precisely because they are separate from the host OS.
Separation from the host is a feature, not a problem.
Like berndbausch described, I would consider using sftp or similar (easy enough to do from CLI or Dolphin file manager). FWIW, I do similar with a Windows 10 host and openSUSE Leap guest using samba.
However, VirtualBox guest additions should work too. I haven't tried with a Linux host, but it does work with my Windows host/Linux guest situation.
OpenSuse was pissing me off since the update was taking 1 hour of downloading and then it fails with no message. The same happens on a real PC running OpenSuse.
So, I installed Kubuntu 18.04 as the guest OS.
-At the cmd, type
sudo apt install gcc
sudo apt install perl
sudo apt install make
sudo ./VBoxLinuxAdditions.run
-Reboot the guest OS Kubuntu 18.04
-Click on Devices → Shared Clipboard → Bidirectional
-Now, copy to clipboard works. I can copy from the guest text and past it into my host OS’s Kate or something. I can also do vice-versa.
-Click on Devices → Drag and Drop → Bidirectional
This one doesn’t work right. If I drag something from my Dolphin to the guest Kubuntu Dolphin, a menu pops up offering to create a link.
Type 'sftp://<IP address>' in the Dolphin location bar. If Avahi is in use, you can also use 'hostame.local'. The URL can be saved in Dolphin places if desired.
Type 'sftp://<IP address>' in the Dolphin location bar. If Avahi is in use, you can also use 'hostame.local'. The URL can be saved in Dolphin places if desired.
I am able to ping my Kubuntu 18.04 that is running in VirtualBox.
I also downloaded the latest DVD of OpenSuse to avoid the update issues. I installed it in VirtualBox.
I also get
No route to host
and I just double click, click on the “Install Package” button.
Then open VirtualBox and I installed OpenSuse Tumbleweed, 64 bit.
So, I am able to run the OpenSuse guest OS.
I am not sure how I can transfer a file from my host (Kubuntu 18.04) to the guest OS.
The clipboard transfer does not work either.
This shouldn’t be complicated or is it suppose to be complicated?
~~~~vmelkon
I don't remember exactly, but there is a way to create a space(partition) that can be seen in both the virtual machine and in the host OS. So you can easily transfer files. I think the way is to create a partition in your host that you mount in your virtualbox setup. Or perhaps it was the opposite. hmm..
But there is an easy way. And clipboard too, but I think that requires guest additions.
How are the VMs networking configured? Are you using NAT (the default) or bridged etc?
For systemd based distributions depends on distribution, the service name could be ssh or sshd.
systemctl status ssh
systemctl start ssh
To enable at boot
systemctl enable ssh
I am using bridge mode. OpenSuse has sshd
sudo systemctl status sshd
said that it is inactive so I did
sudo systemctl start sshd
and I rebooted OpenSuse Tumbleweed.
sudo systemctl status sshd
now says
Code:
jake@localhost:~> sudo systemctl status sshd
[sudo] password for root:
● sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: dis>
Active: failed (Result: exit-code) since Sat 2020-12-05 18:14:55 EST; 2min 59s ago
Process: 796 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, status=0/SUC>
Process: 800 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status=255/EX>
Dec 05 18:14:55 localhost systemd[1]: sshd.service: Scheduled restart job, restart cou>
Dec 05 18:14:55 localhost systemd[1]: Stopped OpenSSH Daemon.
Dec 05 18:14:55 localhost systemd[1]: sshd.service: Start request repeated too quickly.
Dec 05 18:14:55 localhost systemd[1]: sshd.service: Failed with result 'exit-code'.
Dec 05 18:14:55 localhost systemd[1]: Failed to start OpenSSH Daemon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.