ubuntu18.04的网络配置,Desktop Sharing 设置无法打开的问题

ubuntu18.04直接更改/etc/resolv.conf修改nameserver重启被重置解决方法:

vi /etc/systemd/resolved.conf,加上DNS,设置多个DNS服务器的地址,这样就完成了 DNS的修改,保存退出,然后重启机器

https://blog.csdn.net/lengye7/article/details/88877867?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param

ubuntu18.04的网络配置:

https://blog.csdn.net/lengye7/article/details/88889807

解决升级到 Ubuntu 18.04 LTS 后 Desktop Sharing 设置无法打开的问题:

https://www.somedoc.net/?p=3940

1) 编辑 org.gnome.Vino 方案来恢复缺失的 “enabled” 参数(复制自 16.04):
sudo nano /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml

加入以下 key 的内容:

    <key name='enabled' type='b'>
      <summary>Enable remote access to the desktop</summary>
      <description>
        If true, allows remote access to the desktop via the RFB
        protocol. Users on remote machines may then connect to the
        desktop using a VNC viewer.
      </description>
      <default>false</default>
    </key>

  

2) 编译 Gnome 方案:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas

3) 此时系统设置里的 Desktop Sharing 应该就可以用了,不过,还不足以使 vino 能运行起来!你需要在会话开始的时候把程序 Vino-server 用此命令行加入进去:
/usr/lib/vino/vino-server

现在就可以 VNC 你的 18.04-Unity 了!

原文地址:https://www.cnblogs.com/moonbaby/p/13686723.html