当前位置: 代码网 > 服务器>服务器>Linux > 【Ubuntu24.04无显示器远控】【Todesk远程桌面黑屏】【Linux虚拟显示器】解决方案

【Ubuntu24.04无显示器远控】【Todesk远程桌面黑屏】【Linux虚拟显示器】解决方案

2024年07月31日 Linux 我要评论
【Ubuntu24.04无显示器远控】【Todesk远程桌面黑屏】【Linux虚拟显示器】解决方案。

1️⃣版本

  • ubuntu 24.04
  • todesk 4.7.2.0
  • xserver-xorg-video-dummy 1:0.4.0-1build1

2️⃣安装配置虚拟显示器

  • sudo apt install xserver-xorg-video-dummy
  • 编辑/etc/gdm3/custom.conf关闭ubuntu24.04wayland切换为x11
    • waylandenable=false
  • /usr/share/x11/xorg.conf.d/目录下新建一个显示器配置文件99-dummy.conf
# 99-dummy.conf
section "device"
    identifier  "configured video device"
    driver      "dummy"
    videoram 256000
endsection

section "monitor"
    identifier  "configured monitor"
    horizsync 10.0-300
    vertrefresh 10.0-200
endsection

section "screen"
    identifier  "default screen"
    monitor     "configured monitor"
    device      "configured video device"
    defaultdepth 24
    subsection "display"
    depth 24
    modes "1920x1080"
    endsubsection
endsection

在这里插入图片描述

3️⃣重启后查看

xrandr

请添加图片描述

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com