我刚刚在Ubuntu 18.04上安装了Anydesk(版本5.1.2)。我正确设置了无人参与模式。
1)如果我在Ubuntu 18.04上本地登录,则可以使用Windows PC上的anydesk客户端进行连接。
2)如果我没有在Ubuntu 18.04上本地登录,如果尝试从Win连接,则会收到错误消息:“ display_server_not_supported”。
如果我发出
sudo systemctl状态Anydesk
在Ubuntu上
我得到以下状态:
anydesk [1579]:anydesk:致命IO错误11(临时资源
X服务器:0上不可用)。
如果设计使它如此工作,我认为它不是很有用。有什么建议吗?
最佳答案
我解决了这样的问题:
我禁用了Wayland的登录屏幕修改文件中的标志
/etc/gdm3/custom.conf
然后,我在/etc/Xorg/xorg.conf中为Xorg创建了一个虚拟显示器,如下所示
Identifier "Configured Video Device"
Driver "dummy"
#VideoRam 4096000
#VideoRam 256000
VideoRam 16384 EndSection Section "Monitor"
Identifier "Configured Monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
Modeline "1600x900" 33.92 1600 1632 1760 1792 900 921 924 946 EndSection Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 1600 900
EndSubSection EndSection
关于ubuntu - 使用Anydesk无人值守模式控制ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58076953/