-   Linux - Newbie (
-   -   How to : Open Virtual Machine Manager to create a new virtual machine (

BKChicago 11-08-2016 03:13 PM

How to : Open Virtual Machine Manager to create a new virtual machine
I'm trying to setup a RH Ceph cluster and part of the install requires the implementation of a KVM so I'm supposed to open virt-manager (I believe). I am running a RHEL server v7.2 and I am accessing it via ssh on a windows server.

I installed Xwindows (but it doesn't seem to work) and when I type in;

[root@udevrhlmg03 ~]# virt-manager

This is what I see and the system waits until I ctrl-c

[root@udevrhlmg03 ~]#
(virt-manager:13537): Gtk-WARNING **: cannot open display:

If I do a start X here is what I see;

[root@udevrhlmg03 ~]# startx
xauth: file /root/.serverauth.13616 does not exist

X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-642.1.1.el6.x86_64
Current Operating System: Linux 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel-root ro crashkernel=auto rhgb quiet LANG=en_US.UTF-8
Build Date: 08 August 2016 11:53:03AM
Build ID: xorg-x11-server 1.17.2-22.el7
Current version of pixman: 0.32.6
Before reporting problems, check
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 8 16:09:41 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
VMware: No 3D enabled (0, Success).
gnome-session-is-accelerated: llvmpipe detected.

Is there something I need to install on the Windows machine or the Linux server? What am I missing here?

Doug G 11-08-2016 03:26 PM

virt-manager is a gui application, and you are using command-line cli over ssh, which is why you see no display. Some options are available, you can locate and install an X-server for windows (I use VcXsrv0 and enable X-forwarding over your ssh connection. Or you could use a VNC connection.

KVM also provides the command-line program virsh, which allows full VM administration from the command line.

chrism01 11-08-2016 09:48 PM

If you are doing it remotely from MSWin, go with the cmd line.

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