On Ubuntu 18.04, I am configuring a bond of 2 interfaces and using 2 interfaces of another NIC. Here is my netplan entry:
network: version: 2 renderer: networkd ethernets: eno1: dhcp4: yes eno2: dhcp4: yes enp129s0f0: dhcp4: no enp129s0f1: dhcp4: no bonds: bond0: interfaces: [enp129s0f0, enp129s0f1] dhcp4: yes parameters: mode: 802.3ad lacp-rate: fast primary: enp129s0f0 mii-monitor-interval: 100
The issue I am having is that when using networkd as the renderer, the connections work fine, but I can not find a way to enable screen sharing for use with VNC. The Gnome Control Center settings for screen sharing and networking are not active when using networkd instead of NetworkManager. I attempted to find settings to do this manually and found this Vino setting:
gsettings set org.gnome.Vino network-interface 'bond0' gconftool-2 --set --type=bool /desktop/gnome/remote_access/enabled true
but VNC still won't connect. Are there other relevant settings to change?
When I just change networkd to NetworkManager in the configuration above, the bond doesn't work, though I can enable Screen Sharing for the other interface. When I just use 2 network connections with no bonding, then screen sharing won't work after reboot.
Is there a solution or better way to accomplish this?