OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 692|回复: 1

求助!!!有大佬做过开发板跑Qt然后用VNC远程同步显示控制

[复制链接]

15

主题

38

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
325
金钱
325
注册时间
2022-4-12
在线时间
41 小时
发表于 2023-11-2 17:15:37 | 显示全部楼层 |阅读模式
10金钱
有大佬做过开发板跑Qt,然后电脑用VNC同步显示控制吗?????目前用正点原子的出厂文件系统 ,启动qt应用指令如下
./qt_app -platform vnc:size=1024x600,port=5900
开发板屏幕不显示Qt界面,但是用vnc viewer可以查看也可以操作


用x11vnc,提示XOpenDisplay(":0.0") failed.,
网上有人说需要startx一下,提示
hostname: Host name lookup failure
xauth:  file /home/root/.serverauth.1551 does not exist

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

15

主题

38

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
325
金钱
325
注册时间
2022-4-12
在线时间
41 小时
 楼主| 发表于 2023-11-2 18:41:24 | 显示全部楼层
使用xcb也不行
root@ATK-IMX6U:~# /usr/local/data/module_HMI -platform xcb      
qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted
root@ATK-IMX6U:~#
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-5-29 13:49

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表