我正在尝试分享我的电脑屏幕(Ubuntu19.04)。计算机的设置是为了提供无线热点。其想法是VNC客户端通过热点连接到我的计算机。我需要这个,因为我计划在没有其他网络的偏远地区操作我的电脑。
如果我转到GNOME共享首选项(使用Vino进行屏幕共享),则无法打开屏幕共享。滑块/开关只是不允许打开它。
如果我禁用wifi热点,并将我的计算机连接到现有的wifi,我可以打开屏幕共享没有任何问题。
有什么不对的地方吗?怎么解决?
发布于 2022-03-19 12:19:53
看起来gnome无法正确地处理wifi热点--可能是个bug,但看起来更像是忘记了。
可以绕过这个问题,手动启动vino。
这就是我在20.04所做的,他也有同样的问题。
在此文件中:
/usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
找到这个:
<key name='network-interface' type='s'>
<summary>Network interface for listening</summary>
<description>
If not set, the server will listen on all network interfaces.
Set this if you want to accept connections only from some specific
network interface. For example, eth0, wifi0, lo and so on.
</description>
<default>''</default>
</key>在队伍中:
默认>‘’
在“”之间放置您的网络接口的名称,以便在终端上找到它的类型。
sudo ip r
之后,只需手动启动Vino。
/usr/lib/vino/vino-serverhttps://askubuntu.com/questions/1153803
复制相似问题