Link to home
Create AccountLog in
Avatar of Imaginx
Imaginx

asked on

Virt-viewer can not open display. RHEL6. KVM.

Hey experts.

I'm hope most of you are home from work - not all of us are at the moment ... :(

Built the machine on monday - KVM enabled.
I have an rhel6 box, w/ libvirt installed.

After attempting to install / create first vm

using command line:
virt-install \
-n dev-rhel6-httpd \
-r 1536 \
--os-type=linux \
--os-variant=rhel6 \
--accelerate \
--hvm \
--vnc \
--network network:default \
--disk path=/tmp/dev-rhel6-httpd.img,size=100
--cdrom=/dev/cdrom

Open in new window


Results in "domain installation still in progress. you can reconnect to the console to complete the installtion process."

If I attempt to run virt-viewer, I get the error msg 'Can not open display:'

If I were to run virt-viewer --display= [whatever], i get 'Can not open display: [whatever]'

I am including the vm img file name when using virt-viewr command

Please advise experts.

Thank you in advance,
steve
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

I am having a similar issue with debian (Proxmox) creating virtual ubuntu server the display fails I think its connected to java openjdk is installed not sun I dont know if rhl6 is the same
Avatar of Imaginx
Imaginx

ASKER

From what I understand, qemu in rhel6 is the hypervisor - which is developed mostly on python ( & i think maybe C )
ASKER CERTIFIED SOLUTION
Avatar of Imaginx
Imaginx

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Imaginx

ASKER

doesnt solve the issue in the manner it was asked - no solution to the command line was found.

solution to technical problem was solved using virt-manager gui to create vm's