LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 02-20-2013, 03:09 AM   #1
shemeza
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
can virt-manager work without installing a full GUI?


hi all,

I'm trying to create VMs with virt-manager but i didn't succeed to launch it so i'm wondering if i have first to install a full GUI(ubuntu-desktop) in order to use virt-manager.Any comment is welcomed..

my system is Ubuntu server 12.04.1.

thnx
 
Old 02-20-2013, 06:20 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
It no need a full desktop, if you installed it by package manager then all required dependencies should be installed too. However, it is graphical application so it need somewhere to display its graphical output (it can't do that on text console), so explain how do you want to view its output. You can start real X server manually and display virt-manager on the same machine, or you can use VNC or XDMCP and display it on other machine where X server is already installed.

Last edited by eSelix; 02-20-2013 at 06:25 AM.
 
Old 02-21-2013, 02:12 AM   #3
shemeza
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
i want to view its output from another machine, what packages do i need to install? vnc and ssh i assume...
 
Old 02-21-2013, 05:27 AM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
If you choose VNC, install "vnc4server" package, choose password by "vncpasswd" command, optionally edit "~/.vnc/xstartup", for example, add autostart entry for virt-manager, and start server by "vncserver". It should display port on which is running (5900 or some higher) or display number after colon, like ":0", te rule is that port number is 5900 + display number, if display number for example will be 7, then port will be 5907. If you did not start your graphical application from that script, but later time from shell, then you need to export DISPLAY variable, for example, if server started on display :1, then do
Code:
export DISPLAY=:1
virt-manager
To connect to it from another computer, you can use any vnc viewer, for example, on Ubuntu there is
Code:
vncviewer SERVER_IP:1
You can use display number or port number, possibly that other vnc software does not recognize display number, then use a port.

vncserver can be also started by inetd, or just from autostart. SSH is not neccessary if you do not need crypted transmission.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] /var partition full after installing/removing virt-manager-0.9.1-2.fc16 michaelmas Linux - Newbie 14 03-19-2012 05:19 PM
how to work with virt-manager using redhat iguimar Linux - Virtualization and Cloud 3 07-15-2010 08:49 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Linux - Newbie 2 05-28-2009 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration