ubuntu - 使用Anydesk无人值守模式控制ubuntu

标签 ubuntu authentication anydesk

我刚刚在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/

相关文章:

Python 日志记录 - 以格式保存到文件

php - 用于生产的 LAMP 堆栈?使用 PHP 5.4.x、Apache 2.4.x、MySQL 5.5.x

ubuntu - ubuntu 14.04 上的 libfontconfig

ubuntu - 在Raspberry Pi 4上的Ubuntu。anydesk:加载共享库时出错:libpolkit-gobject-1.so.0

linux - Anydesk无法解锁安全设置以进行无人值守访问吗?

php - log4php 无法在 linux 环境下创建文件

java - 如何在 SSL 配置的 tomcat 中缓存和更新 CRL(证书撤销列表)/OCSP 响应?

c# - Dot Net Core 2.0 多重cookie

.net - 表单例份验证票 : how to keep the user logged in after the browser has been closed?