KVM connection to a remote server (Ubuntu 18.04)

I am trying to set up a VPS on my local network. So, I have installed an Ubuntu 18.04 server (without GUI) on a computer with IP address of 192.168.0.109. I used these commands to install KVM on the server

sudo apt-get install qemu-kvm libvirt-bin virtinst bridge-utils cpu-checker
sudo apt-get install virt-manager ssh-askpass-gnome --no-install-recommends
sudo systemctl enable libvirtd
sudo systemctl start libvirtd

I ran all these commands on the server, through ssh, from my desktop computer. Now I want to run Virtual Machine Manager from other computer (desktop ubuntu with GUI) and remotely connect to the server. I get this error:

permission denied error askpass doesn't find file

I am not sure if it is possible to connect to Ubuntu server (without GUI) or not. If yes, how I can solve this problem?

0

1 Answer

The error message tells you that you need openssh-askpass, or more precisely something that provides the executable /usr/bin/ssh-askpass.

You already have installed ssh-askpass-gnome, but on your headless server, where it does not belong (and probably pulled in lots of dependencies for graphical applications which you would not want there).

You have to install it on your desktop client instead:

sudo apt install ssh-askpass-gnome
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like