[kwlug-disc] SSH to a VM
CrankyOldBugger
crankyoldbugger at gmail.com
Fri Feb 13 11:53:16 EST 2015
You're right: dconf-editor is great for this..
Well, to confirm a theory, the problem lies in the "require-encryption"
setting. I did a couple of hops through some other machines to bring the
VM up in VMM, opened dconf-editor and I can fix or break TightVNC's ability
to connect from work by turning "require-encryption" off or on. So the
problem is encryption.
Normally not having encryption on would upset me but it's easy for me to
run through a VPN tunnel anyway, so it's no biggie for the time being.
For future reference, turning off the VM's encryption requirement is as
easy as:
gsettings set org.gnome.Vino require-encryption false
or going through dconf-editor.
Thanks alot for your helpful suggestions, though. They really helped, and
I think I need to do some more research on using dconf-editor. It's handy!
On Thu Feb 12 2015 at 10:24:37 PM Nick Guenther <nguenthe at uwaterloo.ca>
wrote:
>
> On 12/02/15 02:44 PM, CrankyOldBugger wrote:
>
> First off, to do a sort of cleaning I got rid of the existing VIRBR0 (with
> the troublesome 192.168.122.x address) on the host machine using:
>
> # virsh net-destroy default
> # virsh net-undefine default
> # service libvirtd restart
>
> Then I created a new VIRBR1 with an address in the right subnet
> (10.x.x.x) .
>
> So at this point, I can SSH to the VM from a remote location. This is a
> good milestone.
>
>
> So it was just a subnet problem! Hooray! I'm happy I was able to help. VMs
> like popcorn sound tasty... I've always only used qemu as a toy because
> networking is such a pain.
>
>
>
> However, VNC is still giving me some grief. If I try to log in remotely
> using TightVNC (from a Windows client), I get the error "Error in TightVNC
> Viewer: No security types supported. Server sent security types, but we do
> not support any of their". This is strange as the same TightVNC
> configuration works on other Ubuntu boxes at home. In fact, I did much of
> the above goofiness over a TightVNC connection to an existing Ubuntu
> desktop with similar configuration. Most of the results I found in Google
> say to disable encryption but that's not in my plans. If I get past this
> issue I'll let you know.
>
>
> I think I've run into this before because I remember having the same
> grossed out reaction to what passes for good advice as you did. Let me see
> if I can help.
>
> Since you're running Ubuntu, I assume VNC is handled by Vino? Check out
> dconf folder org.gnome.desktop.remote-access.authentication-methods (the
> dconf-editor GUI really helps with exploring this and I entirely recommend
> you skip the command line for this part). If that doesn't help, the nearby
> keys can; for example, temporarily turning off encryption can't hurt if
> you're just on your LAN and can help you debug if something is deeply
> broken or if it's just that the handshake is going wrong. You could also
> look at this dconf key on a working system to compare.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20150213/b013e549/attachment.htm>
More information about the kwlug-disc
mailing list