Page 1 of 1

Not able to copy and paste

Posted: 12. Dec 2016, 17:07
by RJD
Hi. I have installed a Ubuntu Server 16.04 in Virtualbox and I wanted to copy& paste commands from my Host (local) machine to the Guest (VM) which I'm not able to do so! Even after enabling the 'Bidirectional' option from the Settings - General - Advanced tab, it doesn't work. Tried installing guest additions also.

And I have created a NAT network for all the 3 VMs created so that they all can communicate with each other but which is not happening. They do not connect to internet too. What should be done so that my VM's connect to the internet.

I'm a new user, so pls help me!



Thanks in advance!

Re: Not able to copy and paste

Posted: 12. Dec 2016, 17:30
by mpack
RJD wrote:Tried installing guest additions also.
Copy/paste shared clipboard is a feature of the Guest Additions, I would certainly hope that installing the Guest Additions was more than the afterthought you made it sound!

Please post a VM log file. With the VM fully shut down, right click and "Show Log" in the GUI, save "VBox.log" (ONLY) to a zip, and attach the zip here.

Re: Not able to copy and paste

Posted: 12. Dec 2016, 17:39
by Perryg
Servers by default do not have a GUI and as such do not have X windows which are required for C/P to work. So unless you installed the graphics packages to the server ( which if you do you might as well just install the desktop version and be done with it ) it will not work. As for the rest we can discuss after the log file is attached.

Re: Not able to copy and paste

Posted: 12. Dec 2016, 20:22
by RJD
Attached the file. Pls check!

Re: Not able to copy and paste

Posted: 12. Dec 2016, 20:53
by Perryg
First question is already answered.
And I have created a NAT network for all the 3 VMs created so that they all can communicate with each other but which is not happening. They do not connect to internet too. What should be done so that my VM's connect to the internet.
Second question above is more than likely due to the fact that you have created an internal network ( intnet ) which only allows communications between guests and no Internet. See chapter 6 in your VBox manual for a description on networking modes. I would suggest you either use bridged or a combination of NAT and host-only.

Re: Not able to copy and paste

Posted: 12. Dec 2016, 21:11
by RJD
Thanks and sorry that I didn't zip the file. So, what I understand from your clarifications are,

1. Install Guest additions and try to copy/paste.
2. I either use bridged or a combination of NAT and host-only.

Correct?

Re: Not able to copy and paste

Posted: 12. Dec 2016, 21:43
by Perryg
Not really. I said that unless you installed the graphics packages required provided by the guest OS you will not be able to use copy/paste. Linux servers do not have these installed by default because you do not need them and if you do you should install a standard desktop OS instead.

Your #2 question is correct.

Re: Not able to copy and paste

Posted: 12. Dec 2016, 22:36
by RJD
Even in the desktop OS I was not able to copy/paste!

Re: Not able to copy and paste

Posted: 12. Dec 2016, 23:10
by Perryg
I will need to see the guests log file from the desktop then.

Re: Not able to copy and paste

Posted: 13. Dec 2016, 11:15
by RJD
Attached the zipped ubuntu desktop log file.


Thanks!

Re: Not able to copy and paste

Posted: 13. Dec 2016, 11:24
by RJD
By the way, I installed the guest additions in my ubuntu desktop machine, but still I'm not able to copy/paste. Attached the recent logs.

Re: Not able to copy and paste

Posted: 13. Dec 2016, 14:28
by Perryg
Did you reboot the guest after you installed the guest additions and did you see any warnings when you installed the additions? What exactly are you trying to copy and paste? C/P only works for text by the way.

Post the guests /var/log/vboxadd-install.log