当前位置: 首页 > news >正文

Jetson orin(Ubuntu20.04)不接显示器无法输出VNC图像解决办法以及vnc安装记录

sudo apt install vino

好像Jetpack 5.0中已经自带了。。

配置VNC server:

gsettings set org.gnome.Vino prompt-enabled false

gsettings set org.gnome.Vino require-encryption false

编辑org.gnome,增加一个“enabled key”的参数:

cd /usr/share/glib-2.0/schemas

sudo cp org.gnome.Vino.gschema.xml org.gnome.Vino.gschema.xml.old

sudo vi org.gnome.Vino.gschema.xml

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

 

编译:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas

手工启动vnc-server:

/usr/lib/vino/vino-server

 

 

Step 0: 在设置中打开屏幕共享,并且打开自动登录

Settings → Sharing → Screen Sharing → set ‘Active’

Step 1: 安装xserver-xorg-video-dummy

$ sudo apt update

$ sudo apt install xserver-xorg-video-dummy

Step 2: 创建虚拟显示器

$ cd /etc/X11$ sudo vim xorg.conf.dummy

Step3: xorg.conf.dummy中添加如下配置(下面1920x1080的配置)

jetsonorin系列虚拟显示配置文件资源-CSDN文库文件

Section "Device"Identifier "DummyDevice"Driver "dummy"VideoRam 256000
EndSectionSection "Screen"Identifier "DummyScreen"Device "DummyDevice"
Monitor "DummyMonitor"DefaultDepth 24SubSection "Display"Depth 24Modes "1920x1080_60.0"EndSubSection
EndSection
Section "Monitor"Identifier "DummyMonitor"HorizSync 30-70VertRefresh 50-75ModeLine "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +Hsync +Vsync
EndSection

Step 4: 替换 /etc/X11/xorg.conf

$ cp xorg.conf xorg.conf.backup

$ cp xorg.conf.dummy xorg.conf

Step 5: 重启

sudo reboot

1、如果想恢复hdmi的硬件显示,需要恢复配置然后reboot

                    cp xorg.conf.backup  xorg.conf

2、如果window平台连不上提示 server did not offer supported security type

gsettings set org.gnome.Vino prompt-enabled false

gsettings set org.gnome.Vino require-encryption false

http://www.lryc.cn/news/242203.html

相关文章:

  • LeetCode Hot100 108.将有序数组转为二叉搜索树
  • 微机原理_3
  • 4.操作系统常见面试题(2)
  • springboot 开启和关闭kafka消费
  • org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
  • 系统安全测试要怎么做?
  • Golang并发模型:Goroutine 与 Channel 初探
  • 批量添加PPT备注
  • 数据挖掘之PCA-主成分分析
  • 人工智能-注意力机制之注意力汇聚:Nadaraya-Watson 核回归
  • <HarmonyOS第一课>1·运行Hello World【课后考核】
  • Ubuntu18.04安装A-Loam保姆级教程
  • 重生之我是一名程序员 40 ——字符串函数(1)
  • Navicat 技术指引 | 连接 GaussDB 主备版
  • 【git】pip install git+https://github.com/xxx/xxx替换成本地下载编译安装解决网络超时问题
  • SQL Server对象类型(6)——4.6.存储过程和函数(Procedure和Function)
  • spring @Async异步执行
  • #Js篇:单线程模式同步任务异步任务任务队列事件循环setTimeout() setInterval()
  • html table样式的设计 表格边框修饰
  • 2023年【危险化学品经营单位安全管理人员】考试内容及危险化学品经营单位安全管理人员最新解析
  • 腾讯云 小程序 SDK对象存储 COS使用记录,原生小程序写法。
  • 【uniapp】本地资源图片无法通过 WXSS 获取,可以使用网络图片,或者 base64,或者使用image标签
  • 深入了解Spring Cloud中的分布式事务解决方案
  • 安装compiler version 5
  • 关闭vscode打开的本地服务器端口
  • VUE3+Springboot实现SM2完整步骤
  • CSS-背景属性篇
  • KyLin离线安装OceanBase
  • 插件预热 | 且看安全小白如何轻松利用Goby插件快速上分
  • pytorch下载离线包的网址