PDA

View Full Version : Virtual Machine Manager - access to remote XEN host server



John_Gill
11-Jan-2013, 14:14
Hi,

Local XEN host server running Suse11sp2 and remote XEN host running
SUSE11sp1.

Using the Virtual Machine Manager I want to connect to the remote XEN host
and monitor the VMs.
I select "File" ---> "Add Connection" ---> "Xen, Connect to remote host,
SSH, root, Server_name, connect"
I then receive an error "Unable to open a connection to the libvirt
management daemon.

The error suggests that "libvirtd" is not running, but this is running on
both servers.

Further details state
"Cannot rec data: No protocol specified"
"Error: Can't open display 0:0"
Host key verification failed.
Connection reset by peer"

There is no firewalling between the servers and I can SSH between the
servers.

I am able to "Add connection" from remote to local server.

Regards
John

jmozdzen
15-Jan-2013, 14:39
Hi John,

Hi,

Local XEN host server running Suse11sp2 and remote XEN host running
SUSE11sp1.

Using the Virtual Machine Manager I want to connect to the remote XEN host
and monitor the VMs.
I select "File" ---> "Add Connection" ---> "Xen, Connect to remote host,
SSH, root, Server_name, connect"
I then receive an error "Unable to open a connection to the libvirt
management daemon.

The error suggests that "libvirtd" is not running, but this is running on
both servers.

Further details state
"Cannot rec data: No protocol specified"
"Error: Can't open display 0:0"
Host key verification failed.
Connection reset by peer"

There is no firewalling between the servers and I can SSH between the
servers.

I am able to "Add connection" from remote to local server.

Regards
John

I haven't done this myself, so I've never come across these messages in this context, but things to check are:

- "host key verification failed" <-> "ssh works": Can you confirm that you can reach the remote host via ssh using the exact notation as you specified the host in the VMM? If you then once have to confirm the remote's key, that ought to have been the problem. Of course this has to be done as the user that's running the VMM.

- "No protocol specified", "Can't open display 0:0" sounds like an X11 error message to me. My crystal ball says that you're running with security on your local display server, which is not automatically lifted to allow your remote to connect to your local display server. How's your local "$DISPLAY" set in the session where you invoke VMM? Does issuing "xhost +<remote server dns name or IP>" on your local machine, before activating the remote session in VMM, help?

- "Connection reset by peer" seems to be just a follow-up message.

Regards,
Jens