
Hi all, I am trying to get the VM console of a VM through SSH socks proxy. This is a scenario I will frequently face, as the ovirt cluster will be available only though a remote SSH tunnel. I am trying several console options without success. With SPICE or VNC I get issue with virt-viewer saying "Unable to connect to libvirt with URI [none]' With noVNC I get a separate tab on browser where it is stuck showing "loading". Has anyone success with this kind of remote console access? Thanx, Alex

Any idea how this can be addressed? On Sep 19, 2017 23:07, "Alex K" <rightkicktech@gmail.com> wrote: Hi all, I am trying to get the VM console of a VM through SSH socks proxy. This is a scenario I will frequently face, as the ovirt cluster will be available only though a remote SSH tunnel. I am trying several console options without success. With SPICE or VNC I get issue with virt-viewer saying "Unable to connect to libvirt with URI [none]' With noVNC I get a separate tab on browser where it is stuck showing "loading". Has anyone success with this kind of remote console access? Thanx, Alex

Hello, I run a local X-Windows server on my client and ssh to the remote host with the -Y option. This forwards all remote X windows commands to the local X-Window server. I can then get my remote windows to run locally. Good Luck, Robert O'Kane On 10/05/2017 11:58 PM, Alex K wrote:
Any idea how this can be addressed?
On Sep 19, 2017 23:07, "Alex K" <rightkicktech@gmail.com <mailto:rightkicktech@gmail.com>> wrote:
Hi all,
I am trying to get the VM console of a VM through SSH socks proxy. This is a scenario I will frequently face, as the ovirt cluster will be available only though a remote SSH tunnel.
I am trying several console options without success.
With SPICE or VNC I get issue with virt-viewer saying "Unable to connect to libvirt with URI [none]'
With noVNC I get a separate tab on browser where it is stuck showing "loading".
Has anyone success with this kind of remote console access?
Thanx, Alex
-- Robert O'Kane Systems Administrator Kunsthochschule für Medien Köln Peter-Welter-Platz 2 50676 Köln fon: +49(221)20189-223 fax: +49(221)20189-49223

I have this working through an SSH tunnel, although it adds some extra steps. 1. Figure out which port your VM console is bound to (5900 + offset). 2. SSH to the hypervisor tunneling a local port to that remote console port. 3. Click on the console link in the Engine and locally save the vv file. 4. Edit the vv file; change host to localhost and port to whichever port you configured for the local side of the tunnel. 5. Save and run the vv file with your SPICE client. You have two minutes to connect from downloading the vv file before the password expires. On 5 October 2017 at 22:58, Alex K <rightkicktech@gmail.com> wrote:
Any idea how this can be addressed?
On Sep 19, 2017 23:07, "Alex K" <rightkicktech@gmail.com> wrote:
Hi all,
I am trying to get the VM console of a VM through SSH socks proxy. This is a scenario I will frequently face, as the ovirt cluster will be available only though a remote SSH tunnel.
I am trying several console options without success.
With SPICE or VNC I get issue with virt-viewer saying "Unable to connect to libvirt with URI [none]'
With noVNC I get a separate tab on browser where it is stuck showing "loading".
Has anyone success with this kind of remote console access?
Thanx, Alex
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I open the Ovirt WEB User page (over the ssh tunnel) and open the "console". I have a spice/vnc client on my local computer. Actually, with the native windows Spice client you do not need the X-Windows. I do not need to go to the hypervisor(s) directly as they are on the same net as the Hosted server.... On 10/06/2017 12:20 PM, Alan Griffiths wrote:
I have this working through an SSH tunnel, although it adds some extra steps.
1. Figure out which port your VM console is bound to (5900 + offset). 2. SSH to the hypervisor tunneling a local port to that remote console port. 3. Click on the console link in the Engine and locally save the vv file. 4. Edit the vv file; change host to localhost and port to whichever port you configured for the local side of the tunnel. 5. Save and run the vv file with your SPICE client.
You have two minutes to connect from downloading the vv file before the password expires.
On 5 October 2017 at 22:58, Alex K <rightkicktech@gmail.com> wrote:
Any idea how this can be addressed?
On Sep 19, 2017 23:07, "Alex K" <rightkicktech@gmail.com> wrote:
Hi all,
I am trying to get the VM console of a VM through SSH socks proxy. This is a scenario I will frequently face, as the ovirt cluster will be available only though a remote SSH tunnel.
I am trying several console options without success.
With SPICE or VNC I get issue with virt-viewer saying "Unable to connect to libvirt with URI [none]'
With noVNC I get a separate tab on browser where it is stuck showing "loading".
Has anyone success with this kind of remote console access?
Thanx, Alex
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Robert O'Kane Systems Administrator Kunsthochschule für Medien Köln Peter-Welter-Platz 2 50676 Köln fon: +49(221)20189-223 fax: +49(221)20189-49223

Thank you Alan. I will try this. I guess if i define localhost as the spice proxy at each host i will not need to edit the vv file. Is there a way to change the default 2min expiration to sth greater? Lets say 5min, as mostly i use high latency satellite connections. On Oct 6, 2017 1:20 PM, "Alan Griffiths" <apgriffiths79@gmail.com> wrote:
I have this working through an SSH tunnel, although it adds some extra steps.
1. Figure out which port your VM console is bound to (5900 + offset). 2. SSH to the hypervisor tunneling a local port to that remote console port. 3. Click on the console link in the Engine and locally save the vv file. 4. Edit the vv file; change host to localhost and port to whichever port you configured for the local side of the tunnel. 5. Save and run the vv file with your SPICE client.
You have two minutes to connect from downloading the vv file before the password expires.
On 5 October 2017 at 22:58, Alex K <rightkicktech@gmail.com> wrote:
Any idea how this can be addressed?
On Sep 19, 2017 23:07, "Alex K" <rightkicktech@gmail.com> wrote:
Hi all,
I am trying to get the VM console of a VM through SSH socks proxy. This is a scenario I will frequently face, as the ovirt cluster will be available only though a remote SSH tunnel.
I am trying several console options without success.
With SPICE or VNC I get issue with virt-viewer saying "Unable to connect to libvirt with URI [none]'
With noVNC I get a separate tab on browser where it is stuck showing "loading".
Has anyone success with this kind of remote console access?
Thanx, Alex
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Alan Griffiths
-
Alex K
-
Robert O'Kane