translated

This commit is contained in:
geekpi 2022-03-02 08:44:47 +08:00
parent 581d1075dc
commit 5d3ddfca27
2 changed files with 68 additions and 69 deletions

View File

@ -1,69 +0,0 @@
[#]: subject: "How to screen share with the Linux KDE Plasma Desktop"
[#]: via: "https://opensource.com/article/22/2/screen-share-linux-kde"
[#]: author: "Seth Kenlon https://opensource.com/users/seth"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to screen share with the Linux KDE Plasma Desktop
======
The combination of krfb and krdc are valuable tools for making remote
Linux support frustration-free.
![Person using a laptop][1]
If you've ever done remote support professionally or out of familial obligation, then you've been on a call where solving problems are only secondary to the impossible task of visualizing what's actually on your user's screen. How many times have you described complex desktop tasks only to later realize that your user hasn't even turned their computer on yet? Support is important, but the frustration is real, and it's a shared experience for both the people in need of support and the people who graciously try to provide it. I believe it's important for people to perform tasks themselves as a way to learn a new skill, but there's also an argument for observing the way it's meant to be done by an expert. That's what screen sharing is for, and the KDE Plasma Desktop has it built-in.
### Network safety
The Plasma Desktop uses a point-to-point invitation model for screen sharing. The user launches an application, which starts a Virtual Network Connection (VNC) server, at which point the support person is able to view and even control the computer remotely. If it sounds like this is potentially unsafe, that's because it can be, but for the intervention of firewalls. If you're the support person for somebody who's not on the same network as you, then you must set up a safe pathway from your network to your user's network before screen sharing can work. Ideally, you would do this before emergency strikes:
1. [Configure the user's router][2] to route the VNC port (5900 by default, but you can use any port you like) to their computer.
2. [Open a service in the user's local firewall][3] to permit VNC traffic (on the port you specified in the first step).
### Remote invitation
To start a screen sharing session, the user must start the **krfb** (that stands for _KDE remote frame buffer_) application. This starts a VNC server, and creates a temporary password.
![krfb][4]
(Seth Kenlon, [CC BY-SA 4.0][5])
The default port **krfb** uses is 5900, but you can change that if you need to in **krfb** settings. This is something you probably would want to do in advance, however, so you can avoid trying to explain to your user how to change a protocol's port.
### Viewing and controlling
While this window is open, you can log in over VNC using your favorite VNC client. KDE includes the **krdc** (that stands for _KDE remote desktop client_) application. On the support computer, launch it and provide it with the destination IP address. When you're prompted for a password, enter the one showing in the **krfb** session you're connecting to.
![Screen sharing with krdc][6]
(Seth Kenlon, [CC BY-SA 4.0][5])
Once you've connected, you can view your user's screen, and you can guide them as they follow your instructions. If they're having trouble following your directions, then you can take control of their mouse and demonstrate how something is done. By default, **krfb** (that's the application _they're_ running) asks them for permission before relinquishing control to you.
### Help is on the way
Having the ability to see what your user sees can speed up troubleshooting and lessen frustration on both sides of a support call. Provided that you set up the network for your support in advance, the combination of **krfb** and **krdc** are valuable tools for the Linux professional guiding new users through their journey of Linux desktop discovery.
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/2/screen-share-linux-kde
作者:[Seth Kenlon][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/seth
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/laptop_screen_desk_work_chat_text.png?itok=UXqIDRDD (Person using a laptop)
[2]: https://opensource.com/article/20/9/firewall
[3]: https://opensource.com/article/19/7/make-linux-stronger-firewalls
[4]: https://opensource.com/sites/default/files/kde-krfb.jpg (krfb)
[5]: https://creativecommons.org/licenses/by-sa/4.0/
[6]: https://opensource.com/sites/default/files/kde-krdc-session.jpg (Screen sharing with krdc)

View File

@ -0,0 +1,68 @@
[#]: subject: "How to screen share with the Linux KDE Plasma Desktop"
[#]: via: "https://opensource.com/article/22/2/screen-share-linux-kde"
[#]: author: "Seth Kenlon https://opensource.com/users/seth"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
如何用 Linux KDE Plasma 桌面进行屏幕共享
======
krfb 和 krdc 的组合是使远程 Linux 支持无挫折感的宝贵工具。
![Person using a laptop][1]
如果你曾经做过专业的或出于家庭义务的远程支持那么你曾经在一个电话中解决问题只是次要的你要把用户屏幕上的实际内容可视化。有多少次你描述了复杂的桌面任务后来才发现你的用户甚至还没有打开他们的电脑支持是重要的但挫折是真实的对于需要支持的人和慷慨地试图提供支持的人来说这都是一种共同的经历。我相信作为学习新技能的一种方式人们自己执行任务是很重要的但也有一种说法是观察专家应该如何做。这就是屏幕共享的作用KDE Plasma 桌面已经内置了它。
### 网络安全
Plasma 桌面使用点对点的邀请模式进行屏幕共享。用户启动一个应用启动一个虚拟网络连接VNC服务器这时支持人员就可以远程查看甚至控制计算机。如果这听起来像是潜在的不安全那是因为它可能是但有防火墙的干预。如果你是一个与你不在同一网络上的人的支持人员那么你必须在屏幕共享工作之前建立一个从你的网络到你的用户的网络的安全通道。理想情况下你会在紧急情况发生前完成这项工作。
1. [配置用户的路由器][2],将 VNC 端口(默认为 5900但你可以使用任何你喜欢的端口路由到他们的计算机。
2. [在用户的本地防火墙中打开一个服务][3],允许 VNC 流量(在你在第一步中指定的端口)。
### 远程邀请
为了启动屏幕共享会话,用户必须启动 **krfb**(表示 _KDE remote frame buffer_)应用。这将启动一个 VNC 服务器,并创建一个临时密码。
![krfb][4]
Seth Kenlon[CC BY-SA 4.0][5]
**krfb** 使用的默认端口是 5900但如果你需要可以在 **krfb** 设置中改变。不过,这可能是你想提前做的事情,这样你就可以避免向你的用户解释如何改变协议的端口。
### 查看和控制
当这个窗口打开时,你可以使用你喜欢的 VNC 客户端通过 VNC 登录。KDE 有 **krdc**(表示 _KDE remote desktop client_)应用。在支持的计算机上,启动它并向它提供目标 IP 地址。当你被提示输入密码时,输入你正在连接的 **krfb** 会话中显示的密码。
![Screen sharing with krdc][6]
Seth Kenlon[CC BY-SA 4.0][5]
连接上后,你就可以看到你用户的屏幕,你可以在他们遵循你的指示时引导他们。如果他们在遵循你的指示方面有困难,那么你可以控制他们的鼠标,并演示如何做某事。默认情况下,**krfb**(即他们正在运行的应用)在将控制权交给你之前会征求他们的同意。
### 帮助进行中
能够看到你的用户所看到的东西可以加速故障排除,减少支持电话双方的挫折感。只要你事先为你的支持设置好网络,**krfb** 和 **krdc** 的组合对于指导新用户完成 Linux 桌面发现之旅的 Linux 专业人士来说是很有价值的工具。
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/2/screen-share-linux-kde
作者:[Seth Kenlon][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/seth
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/laptop_screen_desk_work_chat_text.png?itok=UXqIDRDD (Person using a laptop)
[2]: https://opensource.com/article/20/9/firewall
[3]: https://opensource.com/article/19/7/make-linux-stronger-firewalls
[4]: https://opensource.com/sites/default/files/kde-krfb.jpg (krfb)
[5]: https://creativecommons.org/licenses/by-sa/4.0/
[6]: https://opensource.com/sites/default/files/kde-krdc-session.jpg (Screen sharing with krdc)