Linux 安装Xrdp,实现RDP连接

2023-10-27

linux 安装xrdp,RDP 连接,安装前提 root 权限

[root@server-76 conf]# yum install xrdp     #  root 权限 安装 yum install xrdp
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                                                      | 6.8 kB  00:00:00
 * base: mirrors.aliyun.com
 * epel: mirrors.tuna.tsinghua.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                                                                                                                                      | 3.6 kB  00:00:00
epel                                                                                                                                                      | 4.7 kB  00:00:00
extras                                                                                                                                                    | 2.9 kB  00:00:00
updates                                                                                                                                                   | 2.9 kB  00:00:00
(1/4): epel/x86_64/group_gz                                                                                                                               |  99 kB  00:00:00
(2/4): epel/x86_64/updateinfo                                                                                                                             | 1.0 MB  00:00:01
(3/4): epel/x86_64/primary_db                                                                                                                             | 7.0 MB  00:00:04
(4/4): updates/7/x86_64/primary_db                                                                                                                        |  19 MB  00:00:26
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 1:0.9.21-1.el7 will be installed
--> Processing Dependency: libImlib2.so.1()(64bit) for package: 1:xrdp-0.9.21-1.el7.x86_64
--> Running transaction check
---> Package imlib2.x86_64 0:1.4.9-8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================
 Package                                  Arch                                     Version                                          Repository                              Size
=================================================================================================================================================================================
Installing:
 xrdp                                     x86_64                                   1:0.9.21-1.el7                                   epel                                   458 k
Installing for dependencies:
 imlib2                                   x86_64                                   1.4.9-8.el7                                      epel                                   210 k

Transaction Summary
=================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 669 k
Installed size: 2.8 M
Is this ok [y/d/N]: Y                # Y
Downloading packages:
(1/2): imlib2-1.4.9-8.el7.x86_64.rpm                                                                                                                      | 210 kB  00:00:00
(2/2): xrdp-0.9.21-1.el7.x86_64.rpm                                                                                                                       | 458 kB  00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                            787 kB/s | 669 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 29 pre-existing rpmdb problem(s), 'yum check' output follows:
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libACE.so.6.4.3()(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libACE_SSL.so.6.4.3()(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libaeron_client_shared.so()(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libmdc_gateway_client.so()(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libprotobuf.so.11()(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of librdkafka++.so.1()(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of librdkafka.so.1()(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(CXXABI_1.3.11)(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(CXXABI_1.3.9)(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
yusurconnectionforward-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libACE.so.6.4.3()(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libACE_SSL.so.6.4.3()(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libaeron_client_shared.so()(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libmdc_gateway_client.so()(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libprotobuf.so.11()(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of librdkafka++.so.1()(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of librdkafka.so.1()(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(CXXABI_1.3.11)(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(CXXABI_1.3.8)(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(CXXABI_1.3.9)(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
yusurriskcop-2.0.2-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
yusurtoedaemon-0.1.0-1.x86_64 has missing requires of libstdc++.so.6(CXXABI_1.3.9)(64bit)
yusurtoedaemon-0.1.0-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
yusurtoedaemon-0.1.0-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
yusurtoedaemon-0.1.0-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
  Installing : imlib2-1.4.9-8.el7.x86_64                                                                                                                                     1/2
  Installing : 1:xrdp-0.9.21-1.el7.x86_64                                                                                                                                    2/2
  Verifying  : imlib2-1.4.9-8.el7.x86_64                                                                                                                                     1/2
  Verifying  : 1:xrdp-0.9.21-1.el7.x86_64                                                                                                                                    2/2

Installed:
  xrdp.x86_64 1:0.9.21-1.el7

Dependency Installed:
  imlib2.x86_64 0:1.4.9-8.el7

Complete!

# 

Enable xrdp

[root@server-76 conf]# systemctl enable xrdp && systemctl start xrdp
Created symlink from /etc/systemd/system/multi-user.target.wants/xrdp.service to /usr/lib/systemd/system/xrdp.service.
[root@server-76 conf]#

check xrdp status

[root@server-76 conf]# systemctl status xrdp
● xrdp.service - xrdp daemon
   Loaded: loaded (/usr/lib/systemd/system/xrdp.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2023-03-07 18:07:44 CST; 13s ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
 Main PID: 130144 (xrdp)
    Tasks: 1
   CGroup: /system.slice/xrdp.service
           └─130144 /usr/sbin/xrdp --nodaemon

Mar 07 18:07:44 server-76 systemd[1]: Started xrdp daemon.
Mar 07 18:07:44 server-76 xrdp[130144]: [INFO ] starting xrdp with pid 130144
Mar 07 18:07:44 server-76 xrdp[130144]: [INFO ] address [0.0.0.0] port [3389] mode 1
Mar 07 18:07:44 server-76 xrdp[130144]: [INFO ] listening to port 3389 on 0.0.0.0
Mar 07 18:07:44 server-76 xrdp[130144]: [INFO ] xrdp_listen_pp done
[root@server-76 conf]#
[root@server-76 conf]#

查看xrdp

[root@server-76 conf]# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      17562/sshd: root@pt

tcp6       0      0 :::3389                 :::*                    LISTEN      130144/xrdp

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Linux 安装Xrdp,实现RDP连接 的相关文章

  • Locale.getDefault() 始终返回 en

    unix 机器上的服务器始终使用 en 作为默认区域设置 以下是区域设置输出 LANG en US LC CTYPE C LC NUMERIC C LC TIME C LC COLLATE C LC MONETARY C LC MESSAG
  • 为什么我收到的数据包数据大小大于mss?

    我在两台 PC 上使用 ifconfig ethX mtu 300 修改了 MTU 并使用 netperf 测试网络 我用 WireShark 嗅探了 SYN 数据包中的 MSS 260 但我得到了一些大于 260 的数据包 为什么 嗅探器
  • 在 Mac OS X 上构建 Linux 内核

    我正在做一个修改Linux内核的项目 我有一台桌面 Linux 机器 在上面构建内核没有问题 不过 我要去旅行 我想在途中工作 我只有一台 MacBook 当我尝试构建 Linux 内核时 它抱怨说elf h was not found 我
  • Unix 命令列出包含字符串但*不*包含另一个字符串的文件

    如何递归查看包含一个字符串且不包含另一个字符串的文件列表 另外 我的意思是评估文件的文本 而不是文件名 结论 根据评论 我最终使用了 find name html exec grep lR base maps xargs grep L ba
  • Elasticsearch 无法写入日志文件

    我想激活 elasticsearch 的日志 当我运行 elasticsearch 二进制文件时 我意识到我在日志记录方面遇到问题 无法加载配置 这是输出 sudo usr share elasticsearch bin elasticse
  • 在 Linux 上更快地分叉大型进程?

    在现代 Linux 上达到与 Linux 相同效果的最快 最好的方法是什么 fork execve combo 从一个大的过程 我的问题是进程分叉大约 500MByte 大 并且一个简单的基准测试只能从进程中实现约 50 个分叉 秒 比较最
  • 是否可以在Linux上将C转换为asm而不链接libc?

    测试平台为Linux 32位 但也欢迎 Windows 32 位上的某些解决方案 这是一个c代码片段 int a 0 printf d n a 如果我使用 gcc 生成汇编代码 gcc S test c 然后我会得到 movl 0 28 e
  • Android:ANT 构建失败,并显示 google-play-services-lib:“解析为没有项目的 project.properties 文件的路径”

    我正在尝试使用 ANT 构建我的应用程序 但在包含 google play services lib 库项目后 我惨遭失败 Step 1 我在 project properties 文件中设置了对库项目的引用 android library
  • Bash 解析和 shell 扩展

    我对 bash 解析输入和执行扩展的方式感到困惑 对于输入来说 hello world 作为 bash 中的参数传递给显示其输入内容的脚本 我不太确定 Bash 如何解析它 Example var hello world displaywh
  • 如何通过替换为空页映射来取消映射 mmap 文件

    Linux 用户空间有没有办法用空页面 映射自 dev null 或者可能是一个空页面 重复映射到从文件映射的页面的顶部 对于上下文 我想找到这个 JDK bug 的修复 https bugs openjdk java net browse
  • 通过特定分隔符删除字符串

    我的文件中有几列 其中第二列有 分隔符 我想删除第二列中的第一个 第三个和第四个字符串 并将第二个字符串留在该列中 但我有正常的分隔符空间 所以我不知道 input 22 16050075 A G 16050075 A G 22 16050
  • 应用程序无缘无故地被杀死。怀疑 BSS 高。如何调试呢?

    我已经在CentOs6 6中成功运行我的应用程序 最近 硬件 主板和内存 更新了 我的应用程序现在毫无理由地被杀死 root localhost PktBlaster PktBlaster Killed 文件和 ldd 输出 root lo
  • nginx 上的多个网站和可用网站

    通过 nginx 的基本安装 您的sites available文件夹只有一个文件 default 怎么样sites available文件夹的工作原理以及如何使用它来托管多个 单独的 网站 只是为了添加另一种方法 您可以为您托管的每个虚拟
  • gdb查找行号的内存地址

    假设我已将 gdb 附加到一个进程 并且在其内存布局中有一个文件和行号 我想要其内存地址 如何获取文件x中第n行的内存地址 这是在 Linux x86 上 gdb info line test c 56 Line 56 of test c
  • 从 Python 调用 PARI/GP

    我想打电话PARI GP http pari math u bordeaux fr dochtml gpman html仅从Python计算函数nextprime n 对于不同的n是我定义的 不幸的是我无法得到帕里蟒蛇 http code
  • Linux中的定时器类

    我需要一个计时器来以相对较低的分辨率执行回调 在 Linux 中实现此类 C 计时器类的最佳方法是什么 有我可以使用的库吗 如果您在框架 Glib Qt Wx 内编写 那么您已经拥有一个具有定时回调功能的事件循环 我认为情况并非如此 如果您
  • fopen 不返回

    我在 C 程序中使用 fopen 以只读模式 r 打开文件 但就我而言 我观察到 fopen 调用没有返回 它不返回 NULL 或有效指针 执行在 fopen 调用时被阻止 文件补丁绝对正确 我已经验证过 并且不存在与权限相关的问题 任何人
  • CentOS:无法安装 Chromium 浏览器

    我正在尝试在 centOS 6 i 中安装 chromium 以 root 用户身份运行以下命令 cd etc yum repos d wget http repos fedorapeople org repos spot chromium
  • Linux:如何从特定端口发送TCP数据包?

    如何打开原始套接字以从特定 TCP 端口发送 我希望所有连接始终来自临时端口以下的一系列端口 如果您正在使用raw套接字 然后只需在数据包标头中填写正确的 TCP 源端口即可 相反 如果您使用 TCP 套接字接口 socket connec
  • 在 Linux 上使用多处理时,TKinter 窗口不会出现

    我想生成另一个进程来异步显示错误消息 同时应用程序的其余部分继续 我正在使用multiprocessingPython 2 6 中的模块来创建进程 我试图用以下命令显示窗口TKinter 这段代码在Windows上运行良好 但在Linux上

随机推荐

  • flutter获取状态栏高度

    获取状态栏高度 import dart ui MediaQueryData fromWindow window padding top 系统默认的appBar等高度 位于Dart Packages flutter src material
  • 物理渲染学习笔记(三)——Cook-Torrance微表面模型

    从 Phong 到 GGX 光照模型林林总总 一直没能找机会梳理一遍 这几天依次都自己实现了一遍 也正好总结下 Microfacet 普通的着色模型假设着色的区域是一个平滑的表面 表面的方向可以用一个单一的法线向量来定义来定义 而 Micr
  • 程序员吃青春饭?程序员在35岁以后是否需要转行?你规划好了吗?

    都说程序员是一个吃青春饭的职业 都认为程序员到了35岁以后不转管理岗位就没有什么前途了 可能就要考虑换别的行业了 年龄越大可能越写不动代码了 那么程序员是不是35岁以后需要转行 我说说我自己的观点 关于程序员35岁之后是不是要转行这个问题
  • 区块链技术基础(笔记)

    一 区块链本质上是一个对等网络 peer to peer 的分布式账本数据库 二 区块链本身其实是一串链接的数据区块 其链接 指针是采用密码学哈希算法对区块头进行处理所产生的区块头哈希值 三 基本概念 1 数据区块 比特币的交易会保存在数据
  • Element ui 导航栏 刷新时高亮

    1 在组件中
  • 原理解析:JS 代码是如何被浏览器引擎编译、执行的?

    原理解析 JS 代码是如何被浏览器引擎编译 执行的 分析浏览器引擎对 JS代码的编译情况 并结合日常的 JavaScript开发经验 重新理解底层的编译解析机制 对其底层原理的理解 将有助于理解前端的跨端应用 以及一套代码生成多种小程序相关
  • csu 1809 Parenthesis 2016湖南省赛 G

    Problem acm csu edu cn csuoj problemset problem pid 1809 vjudge net contest 161962 problem G Reference blog csdn net l95
  • spring之bean注入的意义

    简而言之就是 首先 service注解在当前类的上边 表示在当前类是spring管理的一个bean 使用 autowired 将另外一个A类的实体bean注入到当前类中 让当前类具备那个A类的功能
  • Android SDK & AVD Manager

    0 前言 Android源码中的prebuilts devtools tools android程序可根据不同的参数来启动SDK Manager或AVD Manager 1 SDK Manager 1 启动 android or andro
  • Chrome 基于 Wappalyzer 查看网站所用的前端技术栈

    1 找到谷歌商店 https chrome google com webstore search wappalyzer utm source ext app menu 2 搜索 Wappalyzer 3 添加至Chrome 4 使用 插件
  • MySQL的脏读、幻读、不可重复读

    首先我们要知道 我们的脏读 幻读 不可重复读这些概念是在事务中的概念 脏读 也就是读取了未提交的数据 比如我开启了一个事务A 在里面操作一个用户表 获取里面一个用户的积分 比如此时这个用户的积分是100 此时有另外一个事务B也操作了这个用户
  • LD3320语音识别

    芯片介绍 LD3320 不需要外接任何辅助的Flash芯片 RAM芯片和AD芯片 就可以完成语音识别功能 每次识别最多可以设置50项候选识别句 每个识别句可以是单字 词组或短句 另一方面 识别句内容可以动态编辑修改 只需要主控MCU把识别关
  • 碎碎念,浅浅饮-------Day30

    这不是一篇关乎技术的文章 它偏离了我原本的计划轨迹 但是 相信它的意义会远超出任何一项技术带给我的价值 高考已经开始了 不知道在这片宁静的夜空下有多少人已经美美的睡了 香甜憨然 又有多少人这睡着的眼角还挂着泪滴 偶尔蹙起眉头 却也记载不下那
  • 固态硬盘接口类型介绍

    固态硬盘接口类型介绍 现在装机硬盘肯定会首选SSD 容量小一点不怕 后面再补一个机械硬盘不迟 SSD有着稳固和高速的优势 深受用户喜爱 然而SSD有着各种各样的尺寸和接口 并不是每一个用户的电脑都能通用 所以选购SSD硬盘前必须先了解SSD
  • ajax请求出现闪屏,jquery $.Ajax 火狐浏览器闪屏解决办法

    本文章介绍了关于jquery的async false Ajax 火狐浏览器闪屏解决办法 jquery的async false 这个属性 默认是true 异步 false 同步 代码如下 复制代码 ajax type post url pat
  • vue2知识点梳理

    Vue梳理 对于Vue 我们并不陌生 现在我们来梳理一下关于它的东西吧 知识点 1 生命周期 最基本的就是它的生命周期 beforeCreate 在 beforeCreate 生命周期函数执行时 data 和 methods 中的数据都还没
  • Open3D (C++) 点云按坐标值大小进行排序

    目录 一 概述 二 点云排序 三 结果展示 一 概述 如题 点云按坐标大小进行排序 二 点云排序 代码以按照Z坐标的大小按照从小到大进行排序为例 include
  • java输出1~100之间的全部素数的5种方法

    文章目录 一 前言 二 需求分析 2 1 什么是素数 2 2 分析 三 代码实现 3 1 方法一 根据素数的定义来遍历检查 3 2 方法二 根据判断条件2进行遍历检查 减少遍历次数 3 3 方法三 根据判断条件3进行遍历检查 减少遍历次数
  • 达梦数据库调优组合索引的使用

    调优工程中对组合索引的使用的一个小总结 一 组合索引的执行计划 首先关于几个概念 等值条件和范围条件 1 等值条件 C1 X C1 X OR C1 Y 会被优化成C1 IN X Y C1 IN X Y 这种形式的我们都叫做等值条件 2 范围
  • Linux 安装Xrdp,实现RDP连接

    linux 安装xrdp RDP 连接 安装前提 root 权限 root server 76 conf yum install xrdp root 权限 安装 yum install xrdp Loaded plugins fastest