Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
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.


  Search this Thread
Old 11-23-2013, 04:41 PM   #1
Registered: May 2010
Location: UK
Distribution: RHEL6
Posts: 70

Rep: Reputation: 10
Cannot Connect to Guest Console using VNC or SPICE


My issue is with connecting to the console of any guest created in on my Ovirt host. I'm running:

Host OS:
Centos 6.4

Virtualisation SW:
ovirt-engine.noarch                 3.3.1-2.el6
libvirt.x86_64                      0.10.2-18.el6_4.15
libvirt-client.x86_64               0.10.2-18.el6_4.15

Client SW (local hosts entries for FQDN of Host server):
virt-viewer 0.5.7  # On Windows 7
virt-viewer # Ubuntu 12.04
FireFox on Ubuntu # Spice Browser Plugin
I have installed Ovirt fine on Centos and have configured my host in a cluster with some local storage and created a test VM. I boot the VM in the Admin portal with the Centos ISO I used to build the host.

The guest starts ok and I can see the qemu process on the host begins listening on 5900 and 5901 for my guest. Firewall is disabled on the host and SELinux is in permissive mode.

I've tried setting the guest console to use VNC and also Spice, but I can't get either working - I either end up with a blank screen or "Unable to connect to the graphic server" message. As per the above I have tried both Windows and Linux native and browser based clients with no joy.

When I've used libvirt (without Ovirt) in the past I've never had any issues connecting to the guest consoles with virt-manager or virt-viewer.

Anybody any ideas or any pointers of some logs or config I could review?
Old 11-25-2013, 12:50 PM   #2
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
the spice client logs are usually under .spice in your homedir. In any case, ask te question on mailing list, the developers are very responsive over there


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] Spice client is slow on Windows XP guest. ThomasRonshof Linux - Virtualization and Cloud 9 03-13-2013 10:22 AM
[SOLVED] Control Virtual Machine through Spice console disconnect00 Linux - Virtualization and Cloud 4 05-16-2012 08:37 AM
[SOLVED] Virtual XP guest shuts down when spice client disconnects from qemu-kvm allend Slackware 3 03-22-2012 10:34 AM
KVM Guest installed from console. How to get the guest's console? Toomas Linux - Virtualization and Cloud 3 05-04-2011 12:42 PM
Connect to a listening Vnc viewer from the linux RHEL 4.5 console ndidomenico Linux - Server 1 02-17-2009 11:01 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:47 AM.

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