如何远程连接linux桌面
远程连接linux桌面的方法:
1、保证Linux是有桌面界面的版本
2、安装xrdp,xrdp在 EPEL仓库可以使用,所以配置 EPEL仓库:sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
3、安装插件:sudo -y yum install xrdp,结果如下:
[hadoop@master ~]$ sudo yum -y install xrdp Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile epel/x86_64/metalink | 8.5 kB 00:00:00 * base: mirrors.163.com * epel: ftp.cuhk.edu.hk * extras: mirrors.163.com * updates: ftp.sjtu.edu.cn epel | 4.7 kB 00:00:00 http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel Trying other mirror. epel | 3.2 kB 00:00:00 (1/3): epel/x86_64/group_gz | 88 kB 00:00:00 (2/3): epel/x86_64/updateinfo | 943 kB 00:00:15 (3/3): epel/x86_64/primary | 3.6 MB 00:01:37 epel 12687/12687 Resolving Dependencies --> Running transaction check ---> Package xrdp.x86_64 1:0.9.7-1.el7 will be installed --> Processing Dependency: xorgxrdp for package: 1:xrdp-0.9.7-1.el7.x86_64 --> Running transaction check ---> Package xorgxrdp.x86_64 0:0.2.7-1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================== Installing: xrdp x86_64 1:0.9.7-1.el7 epel 416 k Installing for dependencies: xorgxrdp x86_64 0.2.7-1.el7 epel 62 k Transaction Summary ============================================================================================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 478 k Installed size: 2.2 M Downloading packages: warning: /var/cache/yum/x86_64/7/epel/packages/xorgxrdp-0.2.7-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA Public key for xorgxrdp-0.2.7-1.el7.x86_64.rpm is not installed (1/2): xorgxrdp-0.2.7-1.el7.x86_64.rpm | 62 kB 00:00:01 (2/2): xrdp-0.9.7-1.el7.x86_64.rpm | 416 kB 00:00:07 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 62 kB/s | 478 kB 00:00:07 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Importing GPG key 0x352C64E5: Userid : "Fedora EPEL (7) <epel@fedoraproject.org>" Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5 Package : epel-release-7-11.noarch (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. ** Found 11 pre-existing rpmdb problem(s), 'yum check' output follows: icedtea-web-1.7.1-1.el7.x86_64 has missing requires of java-1.8.0-openjdk icedtea-web-1.7.1-1.el7.x86_64 has missing requires of jpackage-utils icedtea-web-1.7.1-1.el7.x86_64 has missing requires of jpackage-utils jline-1.0-8.el7.noarch has missing requires of java >= ('0', '1.5', None) jline-1.0-8.el7.noarch has missing requires of jpackage-utils 1:libreoffice-core-5.3.6.1-10.el7.x86_64 has missing requires of java-headless >= ('1', '1.6', None) 1:libreoffice-ure-5.3.6.1-10.el7.x86_64 has missing requires of libjvm.so()(64bit) rhino-1.7R5-1.el7.noarch has missing requires of jpackage-utils rhino-1.7R5-1.el7.noarch has missing requires of jpackage-utils tagsoup-1.2.1-8.el7.noarch has missing requires of jpackage-utils tagsoup-1.2.1-8.el7.noarch has missing requires of jpackage-utils >= ('0', '1.6', None) Installing : xorgxrdp-0.2.7-1.el7.x86_64 1/2 Installing : 1:xrdp-0.9.7-1.el7.x86_64 2/2 Verifying : xorgxrdp-0.2.7-1.el7.x86_64 1/2 Verifying : 1:xrdp-0.9.7-1.el7.x86_64 2/2 Installed: xrdp.x86_64 1:0.9.7-1.el7 Dependency Installed: xorgxrdp.x86_64 0:0.2.7-1.el7 Complete!
4、安装插件:sudo yum -y install tigervnc-server
5、启动服务:/bin/systemctl start xrdp.service
[hadoop@master ~]$ /bin/systemctl start xrdp.service ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to manage system services or units. Authenticating as: root Password: ==== AUTHENTICATION COMPLETE === [hadoop@master ~]$
Windows端远程连接linux图形桌面:
1、打开远程桌面工具:
2、输入LinuxIP地址,阅读警告后点“是”
3、输入Linux用户名和密码
相关文章教程推荐:linux教程
以上是如何远程连接linux桌面的详细内容。更多信息请关注PHP中文网其他相关文章!

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

DeepSeek 是一款强大的智能搜索与分析工具,提供网页版和官网两种访问方式。网页版便捷高效,免安装即可使用;官网则提供全面产品信息、下载资源和支持服务。无论个人还是企业用户,都可以通过 DeepSeek 轻松获取和分析海量数据,提升工作效率、辅助决策和促进创新。

DeepSeek的安装方法有多种,包括:从源码编译(适用于经验丰富的开发者)使用预编译包(适用于Windows用户)使用Docker容器(最便捷,无需担心兼容性)无论选择哪种方法,请仔细阅读官方文档并充分准备,避免不必要的麻烦。

如何下载BitPie比特派钱包App?步骤如下:在AppStore(苹果设备)或GooglePlay商店(安卓设备)中搜索“BitPie比特派钱包”。点击“获取”或“安装”按钮下载应用程序。对于电脑版,访问BitPie比特派钱包官方网站并下载相应软件包。

BITGet 是一款加密货币交易所,提供各种交易服务,包括现货交易、合约交易和衍生品。该交易所成立于 2018 年,总部位于新加坡,致力于为用户提供安全可靠的交易平台。BITGet 提供多种交易对,包括 BTC/USDT、ETH/USDT 和 XRP/USDT。此外,该交易所还在安全性和流动性方面享有盛誉,并提供多种功能,如高级订单类型、杠杆交易和 24/7 全天候客户支持。

欧易 OKX,全球领先的数字资产交易所,现推出官方安装包,提供安全便捷的交易体验。欧易 OKX 安装包无需通过浏览器访问,可直接在设备上安装独立应用程序,为用户打造稳定高效的交易平台。安装过程简便易懂,用户只需下载最新版本安装包,按照提示一步步操作即可完成安装。

Gate.io是一款受欢迎的加密货币交易所,用户可通过下载其安装包并安装在设备上使用。获取安装包步骤如下:访问Gate.io官方网站,点击“下载”,选择对应操作系统(Windows、Mac或Linux),将安装包下载至计算机。安装过程中建议暂时禁用杀毒软件或防火墙,确保安装顺利。完成后,用户需创建Gate.io账户以开始使用。

欧易,又称OKX,是一个全球领先的加密货币交易平台。文章提供了欧易官方安装包的下载入口,方便用户在不同设备上安装欧易客户端。该安装包支持 Windows、Mac、Android 和 iOS 系统,用户可根据自己的设备类型选择相应版本下载。安装完成后,用户即可注册或登录欧易账户,开始交易加密货币和享受平台提供的其他服务。

Gate.io 是一款备受赞誉的加密货币交易平台,以其广泛的代币选择、低廉的交易费用和用户友好的界面而闻名。凭借其先进的安全功能和优秀的客户服务,Gate.io 为交易者提供一个可靠且便利的加密货币交易环境。想要加入 Gate.io 的行列,欢迎点击提供的链接下载官方注册安装包,开启您的加密货币交易之旅。
