[virt-tools-list] virt-tools-list Digest, Vol 108, Issue 3

Ross Decker rossjdecker at gmail.com
Mon Jun 4 23:21:36 UTC 2018


As I continue troubleshooting, I regenerated keys = no joy.
What I did find, if I use the command "ssh -X root at server
virt-manager" from a terminal, it asks for the server's root password,
the virt-manager gui appears and populates, I open a VM and all works
great! Doesn't ask for any other passwords; The VM console works.

When I open the Virtual Machine Manager from the gui, and open the
properties of the connection I see "qemu+ssh://root@server/system"
There is no -X in this command.
I have deleted the connection, and created a new one, selected SSH,
and there doesn't seem to be any way to append the -X to the default
"qemu+ssh://root@server/system".

I have checked the config files in the /etc/libvirt directory, but
have not been able to find how to change the default Libvirt URI to
include the -X

ps. you are correct, testing your suggestion about spice, I made the
connection to the remote vm, (from the virt-manager gui) I entered my
password 8 times, and the console appeared... had to type the PW every
time, it didn't allow copy/paste (so much for 16 char passwords!!!)

So cool, but not, it's just cool starting to understand how this
works, and even COOLer having individuals to ask for help.... Thank
you SO BIG.

On Mon, Jun 4, 2018 at 12:00 PM,  <virt-tools-list-request at redhat.com> wrote:
> Send virt-tools-list mailing list submissions to
>         virt-tools-list at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.redhat.com/mailman/listinfo/virt-tools-list
> or, via email, send a message with subject or body 'help' to
>         virt-tools-list-request at redhat.com
>
> You can reach the person managing the list at
>         virt-tools-list-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of virt-tools-list digest..."
>
>
> Today's Topics:
>
>    1. Re: Fwd: Remote VM no display (Christophe Fergeau)
>    2. Re: Fwd: Remote VM no display (Daniel P. Berrang?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 4 Jun 2018 10:45:17 +0200
> From: Christophe Fergeau <cfergeau at redhat.com>
> To: Ross Decker <rossjdecker at gmail.com>
> Cc: virt-tools-list at redhat.com
> Subject: Re: [virt-tools-list] Fwd: Remote VM no display
> Message-ID: <20180604084517.GC4866 at natto.ory.fergeau.eu>
> Content-Type: text/plain; charset="us-ascii"
>
> Could it be that you need to upload a new ssh key to the remote servers
> so that ssh-agent can log you in without additional password prompt once
> you have unlocked the key?
>
> Christophe
>
> On Sat, Jun 02, 2018 at 10:10:23AM -0400, Ross Decker wrote:
>> I recently changed my desktop from Centos Server (GUI) to RHEL WS 7.5
>> (required by employer). With my Centos server as a desktop all worked
>> good.
>>
>> Now:
>> Desktop = rhel WS 7.5
>> Remote server = Centos 7 Server (CLI)
>>
>> I launch virt-manager on my rhel desktop and all VM's work great. I
>> connect to my remote server and I'm asked by ksshaskpass for the root
>> password and connection is made with remote vm's displayed in
>> virt-manager.
>>
>> I launch a remote vm, and I'm asked again by ksshaskpass for the root
>> password = no good, it just keeps asking. The VM launches (remote
>> server verifies that with virt-top) but I don't get any display.
>>
>> This worked perfectly with my Centos Server as a desktop.  I have X
>> forward in ssh, I'm using spice, I have disabled kde wallet and
>> ksshaskpass, but it still pop's up requesting a password, which I know
>> is right since it populated virt-manager with all my remote vms. I
>> tried the Remote server root PW and even the root PW of the VM=no joy.
>> When I log into the remote server I see ssh:notty errors.
>>
>> I do believe it is the password request when opening a VM that is
>> stopping the display from showing up and nothing else..maybe...:(
>>
>> Sorta lost... any ideas other than reinstalling Centos Server as my desktop?
>>
>> --
>> When the power of love overcomes the love of power, the world will
>> know peace. --- J. Hendrix
>>
>> _______________________________________________
>> virt-tools-list mailing list
>> virt-tools-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/virt-tools-list
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 833 bytes
> Desc: not available
> URL: <https://www.redhat.com/archives/virt-tools-list/attachments/20180604/60e0d5c4/attachment.bin>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 4 Jun 2018 09:50:09 +0100
> From: Daniel P. Berrang? <berrange at redhat.com>
> To: Ross Decker <rossjdecker at gmail.com>
> Cc: virt-tools-list at redhat.com
> Subject: Re: [virt-tools-list] Fwd: Remote VM no display
> Message-ID: <20180604085009.GA19749 at redhat.com>
> Content-Type: text/plain; charset=utf-8
>
> On Sat, Jun 02, 2018 at 10:10:23AM -0400, Ross Decker wrote:
>> I recently changed my desktop from Centos Server (GUI) to RHEL WS 7.5
>> (required by employer). With my Centos server as a desktop all worked
>> good.
>>
>> Now:
>> Desktop = rhel WS 7.5
>> Remote server = Centos 7 Server (CLI)
>>
>> I launch virt-manager on my rhel desktop and all VM's work great. I
>> connect to my remote server and I'm asked by ksshaskpass for the root
>> password and connection is made with remote vm's displayed in
>> virt-manager.
>>
>> I launch a remote vm, and I'm asked again by ksshaskpass for the root
>> password = no good, it just keeps asking. The VM launches (remote
>> server verifies that with virt-top) but I don't get any display.
>
> By default virt-manager creates VMs using SPICE remote display protocol.
> Using SPICE requires openin of many TCP connections (as many as 10 in
> some cases). So if you've not setup SSH agent with keys, you are going
> to see a large number of password prompts due to all the connections
> that must be opened.
>
> We strongly recommend against relying on password prompting - SSH agent
> and keys are what you should aim for otherwise usability is horrible with
> all the password prompting.
>
>
> Regards,
> Daniel
> --
> |: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org         -o-            https://fstop138.berrange.com :|
> |: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
>
>
>
> ------------------------------
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
>
> End of virt-tools-list Digest, Vol 108, Issue 3
> ***********************************************



-- 
When the power of love overcomes the love of power, the world will
know peace. --- J. Hendrix




More information about the virt-tools-list mailing list