Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-08-2016, 03:13 PM   #1
LQ Newbie
Registered: Nov 2016
Posts: 4

Rep: Reputation: Disabled
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?
Old 11-08-2016, 03:26 PM   #2
Doug G
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
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.
Old 11-08-2016, 09:48 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,308

Rep: Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744
If you are doing it remotely from MSWin, go with the cmd line.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to run virtual machine manager on linux machine. kavyashree A P Linux - Kernel 1 05-11-2014 04:56 AM
Is base memory of virtual machine used when virtual machine is not running? ravisingh1 Linux - Virtualization and Cloud 3 04-09-2013 03:41 AM
Is it possible to create a virtual LAN on my machine using virtual box or MS virtula nhammoud Linux - Networking 1 01-27-2011 03:49 PM
Virtual machine manager HELP. Onedayyou Linux - Virtualization and Cloud 3 03-01-2010 03:07 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 PM.

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