OpenVZ Forum


Home » General » Support » Open VNC console and Windows
Open VNC console and Windows [message #37578] Sun, 27 September 2009 11:33 Go to next message
shatter is currently offline  shatter
Messages: 18
Registered: September 2009
Location: Germany
Junior Member
Hi *;

using Proxmox Virtual Environment, I am trying to create a Windows (7/XP) container on a i7 base machine.

I followed the instructions of the video, stored an ISO image of Windows XP installation cd in the base machines directory "/var/lib/vz/template/iso", could select it.

I could start the new VM, see it pick up memory and cpu time. If I then try to access the VM via vnc console, a window opens very shortly, then it closes again and the web session (Firefox) to the base machine closes too.

After reestablishing the Proxmox connection I can see that the VM is still running, but it stays inaccessible. If I try to connect with VM -> same procedure as before.

I searched the forum but found nothing so far.

*** That statement was wrong, I just used the wrong search words.
*** If found a hint to enter the VM manually and tried that.
*** "vzctl enter 104"
*** the answer:
*** "Container config file does not exist"
*** and so it seems; there is no "/etc/vz/conf/104.conf"
*** but: it is a brand new container of type windowsXP ... and I don't know yet whether there should already by a conf file.
*** So still:

Any pointers?

Joachim

[Updated on: Sun, 27 September 2009 11:44]

Report message to a moderator

Re: Open VNC console and Windows [message #37582 is a reply to message #37578] Mon, 28 September 2009 01:51 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

you cannot use MS Windows on OpenVZ, only Linux (distribution).
so please switch to kvm on your Hostnode, see wiki pages:

http://pve.proxmox.com/wiki/Installation#Fully_virtualized_M achines_.28KVM.29

and

http://pve.proxmox.com/wiki/Windows_2003_Server_on_KVM_%28Vi deo%29

Bye,
Thorsten
Re: Open VNC console and Windows [message #37584 is a reply to message #37582] Mon, 28 September 2009 08:10 Go to previous messageGo to next message
shatter is currently offline  shatter
Messages: 18
Registered: September 2009
Location: Germany
Junior Member
Hi Thorsten,

... thank you for the hint.
I already saw the video to install the Win 2003 and followed it "to the letter".
The problem is that a click on the "open vnc" does not start a VNC session but terminates the browser session to Proxmox too (get kicked out completly); I have to open the proxmox page on the server again and re-login.

This happens every time I try to open a VNC connection; I don't get access to the windows console.

Kind regards,

Joachim

[Updated on: Mon, 28 September 2009 08:11]

Report message to a moderator

Re: Open VNC console and Windows [message #37603 is a reply to message #37584] Tue, 29 September 2009 18:37 Go to previous message
shatter is currently offline  shatter
Messages: 18
Registered: September 2009
Location: Germany
Junior Member
Hello *,

in SYSLOG I found:


Sep 29 22:30:02 nwi-test-01 proxwww[3921]: Starting new child 3921
Sep 29 22:30:43 nwi-test-01 pvedaemon[3925]: starting vnc proxy UPID:3925-110972:1254256243:vncproxy:0:104:root:5900:iLOS+8e B2Bzth6ZGq7bqzNVCqTE
Sep 29 22:30:43 nwi-test-01 pvedaemon[3925]: CMD: /bin/nc -l -p 5900 -w 30 -c /usr/sbin/qm vncproxy 104 iLOS+8eB2Bzth6ZGq7bqzNVCqTE 2>/dev/null
Sep 29 22:31:13 nwi-test-01 pvedaemon[3925]: VM 104 vnc proxy failed - 256


A test with


nwi-test-01:/var/log# /bin/nc -l -p 5900 -w 30 -c /usr/sbin/qm vncproxy 104 iLOS+8eB2Bzth6ZGq7bqzNVCqTE
no connection : Connection timed out

nwi-test-01:/var/log# vzctl enter 104
Container config file does not exist



The operating system is NOT installed yet in the container.

Any ideas?

Kind regards,

Joachim

[Updated on: Tue, 29 September 2009 18:49]

Report message to a moderator

Previous Topic: Disable migration
Next Topic: It is not run vzctl with any parameters to the command line
Goto Forum:
  


Current Time: Sun Aug 18 12:32:20 GMT 2024

Total time taken to generate the page: 0.02932 seconds