LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Unable to copy paste between guest and host OS (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/unable-to-copy-paste-between-guest-and-host-os-836154/)

titan12345 10-04-2010 02:42 PM

Unable to copy paste between guest and host OS
 
I am using win 7 as my host and Ubuntu 9.1 as my guest OS in VM Ware 6.5.1.
I am unable to copy/paste files/text between the two. I have installed VM Tools in win XP guest OS and copy paste works fine there but I couldnt do the same here in Ubuntu.
I faced the same problem in Sun Virtual box also. Is there any method to enable copy/paste feature? Could I share a common folder between the 2?

Thanx

AlucardZero 10-04-2010 02:53 PM

It's not clear whether you install VMWare tools on the Ubuntu guest. Did you?

TobiSGD 10-04-2010 02:58 PM

Do you have installed the VM-Tools in your Ubuntu-guest? Or in Virtualbox the guest-additions? Without them Cut/Paste between your OSes will not work.

titan12345 10-04-2010 03:15 PM

When I tried to install them it said tht I cud enable the copy paste feature by installing vmware-configtools.pl later.
When I tried installing this file i got the following msgs:

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?

[yes]

If you would like the host to guest drag and drop and file copy/paste features,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel
are installed on your machine. These packages are available on your
distribution's installation CD.
[ Press Enter key to continue ]


After this I again get the above message. If I enter yes the whole process again repeats. If I enter no I get the following:

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/VMTools/vmware-toolbox" during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /VMTools/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

If the virtual printer feature is enabled, you will need to restart the CUPS
service to make use of this feature.


I logged off/ restarted but the copy paste feature was not enabled. Also i was not able to start /VMTools/vmware-user :(

AlucardZero 10-04-2010 03:16 PM

On the Ubuntu guest, did you install the build-essential package?

titan12345 10-04-2010 03:20 PM

Quote:

Originally Posted by AlucardZero (Post 4117589)
On the Ubuntu guest, did you install the build-essential package?


Ummm I m now sure abt tht!! how do u install tht?

GrapefruiTgirl 10-04-2010 03:24 PM

titan*,

it's less clear what you're typing when you don't spell your words out as you were doing so well in the first post. :) Please don't abbreviate common words, it causes confusion.

To install build essentials:
Code:

sudo apt-get install build-essential
:)

titan12345 10-05-2010 01:52 AM

Quote:

Originally Posted by GrapefruiTgirl (Post 4117602)
titan*,

it's less clear what you're typing when you don't spell your words out as you were doing so well in the first post. :) Please don't abbreviate common words, it causes confusion.

:)

I will keep that in mind:)

I installed the build-essential package but still I am facing the same problem :(
Cant I share a folder between the two systems?

jiml8 10-05-2010 05:06 AM

Does Ubuntu build-essentials include the kernel source and headers? That is needed to build any vmware stuff.

There should be messages in some of the logs. Look in /var/log to see if there is a vmware log.

I run Workstation the other way around; Linux host, Windows guests. I've only fiddled a bit with Linux guests; I'm not at all familiar with the details there, but there has to be a log that tells the tale.

titan12345 10-05-2010 09:46 AM

well I am not sure if build-essential contains kernel source and headers...

There was no vmware log in /var/log.

titan12345 10-06-2010 08:12 AM

no solutions anybody?? :-(

AlucardZero 10-06-2010 08:22 AM

Install the kernel headers for your running kernel version. Use Synaptic or Add/Remove Programs or sudo apt-get install linux-headers-`uname -r`

titan12345 10-06-2010 10:25 AM

I tried installing kernel headers but it says that the kernel headers of latest version are already installed.

taylorkh 10-11-2010 08:23 AM

I am running VMWare Player - latest version - on Ubuntu 10.04 64 bit. I have tried copy and paste into 3 Ubuntu VMs of various versions - all with VMTools installed. Copy/paste does not seem to work into an Ubuntu VM. It works fine with various Windows VMs.

When I get a chance I will try pasting into some non-Ubuntu Linux VMs

Ken

titan12345 10-14-2010 06:15 AM

Quote:

Originally Posted by taylorkh (Post 4123873)
I am running VMWare Player - latest version - on Ubuntu 10.04 64 bit. I have tried copy and paste into 3 Ubuntu VMs of various versions - all with VMTools installed. Copy/paste does not seem to work into an Ubuntu VM. It works fine with various Windows VMs.

When I get a chance I will try pasting into some non-Ubuntu Linux VMs

Ken

How did u install vmware tools? I am not able to do that also..:(


All times are GMT -5. The time now is 09:57 PM.