Paste to virtual terminal - linux

In a Ubuntu host system I have installed qemu and created a virtual machine with CentOS. The CentOS installation does not have an X server, just a virtual terminal. I would like to be able to copy strings from the host system to the virtual terminal of the virtual machine.
What I found so far is the suggestion to install spice-vdagent. If I understand correctly however, spice-vdagent requires an X server, which I don't have installed.
So, how can I paste strings to the virtual terminal (if possible at all)?

You have to enable clipboard in your virtual machine manager software (VirtualBox or VmWare).
In Vbox you have to install Guest Additions iso. In VmWare you have to enable it in the virtual machine's options.

Run your Vm and run next command:
# yum install spice-vdagent
# chkconfig --add spice-vdagentd
# service spice-vdagentd start

Related

make webserver from Ubuntu 14.04 desktop version in virtualbox

I'm thinking about creating a webserver from my Ubuntu 14.04 LTS running on virtualbox. I've made some test pages there but I have no idea how to connect from my computer (Ubuntu 14.04 LTS as well) to virtualbox computer and run created pages there.
I guess I have to acces virtualbox computer via IP somehow. Another think is that I want to acces this webserver for everybody in the network, not just my computer. These clients could have both Linux and Windows OSs.
Could you anybody help me to figure out this stuff, please?
set the guest os network interface in virtualbox to bridged
networking. assign a static ip address that corresponds to your LAN
restart your web server (typically its sudo service apache2 restart)

How to prevent Linux virtual machine to close/logout on VMWare?

I'm trying to run a CentOS distribution on VMWare. Because the Linux is running calculations, i need this machine to never stop.
I've tried to run it in VMWare player, after 20 minutes of "innactivity", the session logout. I've tried to run it in VMWare Workstation, it does the same.
How do i manage the Linux or VMWare to prevent this logout ?
Thank you.
I had the same problem a while ago, if I can remember correctly, you need to do the following:
Shutdown the Virtual Machine.
Locate the Virtual Machine .vmx File.
Open The .vmx file in any text Editor.
Add This line: suspend.disabled = "TRUE"
Start the Virtual Machine again.
Hope this helps.

How to set up Virtualbox 1366x768 resolution for a Linux guest?

I have been trying maybe weeks now to figure out how to configure VirtualBox to have 1366x768 resolution on a linux guest, which is on a windows 8.1 host.
My configuration:
Windows 8.1 as host
Linuxmint 17.1 as guest (tried ubuntu and debian too but no luck)
Virtualbox 4.3.26 and its extension pack
Laptop is powerful with 16GB ram and 4GB Nvdia
My problem is that it doesn't matter what I used, nothing worked.
Please do not post the answers on most known websites, I tried them already.
Once your VM is started, you need to run the VBox Linux Guest Additions.
First try to run it from the VirtualBox window's menu:
Devices >> Insert guest Additions CD image...
and follow the instructions.
If that fails, open a terminal and go to the directory where you CD reader is mounted (/run/media/ on Fedora or /media/ on Ubuntu for example).
Then type command sudo ./VBoxLinuxAdditions.run
Complete instructions can be found on the VirtualBox user manual
Once Guest Additions are installed, reboot your virtual machine. You should be able to resize your screen to your heart's content.
I installed the new VirtualBox 5.0.0_BETA2 and it solved my all problems. Great product is getting ready! Cant wait the latest release. more than a PERFECT software. Now you can remove top bar and/or bottom bar easily. Show what you need.
If you are having problem like me with 1366x768 I recommend you to install latest versin of VB even if it is Beta!

Installing Virtual PC in Fedora

I currently use a Windows 7 Home Basic. I need to run a certain application, which is, as of now not supported, i.e. compatible with/by W7HB. I tried downloading Virtual PC with XP mode, which does not support W7HB. Hence, I have installed Fedora as a dual boot, as there exists a separate edition of the application for Linux. As I am new to Linux CLI, I would like to install a version of XP in Fedora, i.e. via Virtual XP, assuming it supports. However, I am not able to find any suitable article for the same. Any suggestions...???
The easiest way to do this is to use VirtualBox.
There are 2 options:
run W7HB as the 'host' and install VirtualBox.Then install a guest operating system such as Fedora or WXP inside virtualbox.
OR
run Fedora as the host and install VirtualBox. Then install a guest operating system such as W7HB or WXP.
Be warned that if you install Windows in any form in a virtual machine you will need a Windows installation key. This may require a phone call to Windows support.
There are other solutions - VMWare, KVM, ... but IMHO VirtualBox is the simplest

Can vmWare Server be installed in a X-less host?

I am planning to move my vmWare's Virtual Machines from a Windows host to a Linux host (Ubuntu). It is possible to run vmWare Server in a Linux host that does not have the graphical environment (does not have X)?
I just wonder how the graphical setup of Windows/Linux guest work in this case.
Thanks in advance for your time.
Victor Marquez
Just install it on Ubuntu Server and install it via apt-get. Here's a good walkthrough
http://users.piuha.net/martti/comp/ubuntu/en/server.html
I did this on my development server and connect to it using the graphical client on my Windows machine. I have no gui installed.
the X libraries are required during the compilation and installation of VMware Server on Linux.
virtualbox has some command line tools that you can use and I don't believe it requires an x installation. You should compare the features and make sure that's what you want though.

Resources