LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-08-2016, 04:13 PM   #1
BKChicago
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 udevrhlmg03.city.internal 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 rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap 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 http://wiki.x.org
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, 04:26 PM   #2
Doug G
Member
 
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, 10:48 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,707

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


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 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 05:56 AM
Is base memory of virtual machine used when virtual machine is not running? ravisingh1 Linux - Virtualization and Cloud 3 04-09-2013 04: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 04:49 PM
Virtual machine manager HELP. Onedayyou Linux - Virtualization and Cloud 3 03-01-2010 04:07 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration