[DTK] 用dtk写的一个简易远程桌面连接工具
Tofloor
poster avatar
gfdgd_xi
Moderator
2022-01-18 22:42
Author

引言

@神末shenmo在https://bbs.deepin.org/post/228885中发了一些在UOS上才有的应用,然后我发现远程协助这个应用应该只能连接其他Linux电脑(没实验过,不太清楚),Windows(rdp协议)是连接不了的,而商店里的 Remmina 虽然功能强大,但并非是中文版的,于是我制作了这个程序

介绍

这是一款使用 dtk 写的一个简易远程连接工具,基于 rdesktop,适用于连接Windowsrdp 协议的远程计算机(xrdp也是可以的,测试过了),虽然和mstsc 差的有点远
在我测试中,我发现系统默认版本的 rdesktop(1.8.6) 是无法连接 Windows XP(不知道是不是个例),而编译的 rdesktop 1.9.0 是没有问题的,所以我也把编译好的应用放进 deb 包并支持选择版本(我编译的这个版本在优麒麟上无法运行)
顺便提示一下,因为我能力上的问题,缺陷有很多,如下:

  • 如果 rdesktop 连接的日志太多(多过 5000 个字符),程序就会崩溃(当然不是 rdesktop 崩溃)

  • 不管是连接成功还是失败,都会弹出提示窗口显示日志(如果连接正常就不要理了,不正常就要好好看看了,暂时只有英语版的)

  • 标题不支持中文

  • 在窗口填写的信息无法保存,关闭后会全部丢失

  • 代码结构较为混乱,只有少量注释

  • 连接远程桌面时(即运行 rdesktop 时),程序不会响应任何操作(堵塞线程,我暂时不会C++的多线程)

  • 更多选项的高级选项卡第一行会有乱码

  • ……

    截图

    截图_simple-remote-desktop-accessor_20220118124956.png
    截图_simple-remote-desktop-accessor_20220118124947.png
    截图_simple-remote-desktop-accessor_20220118124938.png
    截图_simple-remote-desktop-accessor_20220118124927.png
    截图_选择区域_20220118125655.png
    截图_选择区域_20220118125224.png
    截图_选择区域_20220118143511.png

下载连接

蓝奏云:https://gfdgdxi.lanzouj.com/b01p0pxej ,密码:djy1
Gitee:https://gitee.com/gfdgd-xi/simple-remote-desktop-accessor

Github:https://github.com/gfdgd-xi/simple-remote-desktop-accessor
星火应用商店:spk://store/tools/spark-simple-remote-desktop-accessor

Reply Favorite View the author
All Replies
deepin-superuser
deepin
2022-01-18 22:53
#1

牛皮

Reply View the author
liwl
deepin
2022-01-18 23:32
#2

牛皮

Reply View the author
rexlevin
deepin
2022-01-18 23:39
#3

👍👍👍👍牛逼~

Reply View the author
suibian555
deepin
2022-01-19 01:08
#4

好东西,谢谢分享

Reply View the author
sudo_free
deepin
2022-01-19 01:11
#5

挺好看的,能不能把大额头也利用起来😂 用那个搜索框的样式来输入IP?

Reply View the author
depend
deepin
2022-01-19 03:55
#6

厉害

Reply View the author
gfdgd_xi
Moderator
2022-01-19 04:36
#7
sudo_free

挺好看的,能不能把大额头也利用起来😂 用那个搜索框的样式来输入IP?

这个我还得想想,这样子弄感觉怪怪的

Reply View the author
hhts1987
deepin
2022-01-19 05:26
#8

支持,满满强大起来。

Reply View the author
神末shenmo
Moderator
Spark-App
2022-01-19 06:09
#9

非常支持!

Reply View the author
waittingsummer
deepin
2022-01-21 23:57
#10

牛皮

Reply View the author
jinchun
deepin
2022-01-26 17:19
#11
It has been deleted!
爱吃鱼
deepin
2022-01-27 18:28
#12

std::system启动rdesktop,个人觉得更好的是通过qt的QProcess::startDetach()方式,启动后,输出的buffer可以缓存到文件里。这样不会崩溃。

Reply View the author
秋胜春朝
deepin
2022-02-14 00:49
#13

牛逼

Reply View the author