Ubuntu VM on macOS with libvirt+QEMU
naut.ca
naut.ca
/System/Library/CoreServices/Applications/Screen Sharing.app
You can drag it to the Dock or use Spotlight to find it, as it is indexed by default.
Maybe you have screen sharing already turned on?
netstat -an -p tcp
(is anything on port 5900?)Anyway, I use screen sharing a lot using SSH port forwarding on macos.
If a maching foo is running a vnc server, I put something like this in .ssh/config:
Host foo
(other settings)
LocalForward 5900 localhost:5900
to make screen sharing accessible, I add it to the dock.select finder. then open a folder in finder:
command-shift-G /System/Library/CoreServices/Applications
Drag "Screen Sharing.app" to the dock.Then log into the remote machine:
$ ssh foo
<etc>
foo$
Now back to the dock click on Screen Sharing.It will ask you for a host name. Enter 127.0.0.1 and press connect.
this will connect to localhost:5900 which ssh will port forward to foo and dump on foo's localhost:5900
bottom line - you will connect to foo port 5900 via screen sharing.
libvirt is most useful if you use it to abstract over different virtualization backends, like vmware/kvm/lxd etc.
https://developer.apple.com/documentation/hypervisor
which Apple oddly is introducing for Intel Macs only in MacOS 11, at the same time they’re introducing support for non Intel ‘Apple hardware’ Macs.
I would be interested in an Apple VM app overlay for the integrated Hypervisor though! And hopefully we see some speed improvements. :)