Chrome 远程桌面支持窗帘模式吗?

Chrome 远程桌面支持窗帘模式吗?

我使用 Chrome 远程桌面访问运行 Linux Mint 的工作计算机。令人沮丧的是,它没有连接到我现有的桌面会话(这样我就可以从上次中断的地方继续),而是在连接时启动一个新会话。

我发现我可以修改/opt/google/chrome-remote-desktop/chrome-remote-desktop以强制连接到现有会话,如下所示:

#Change FIRST_X_DISPLAY_NUMBER to this:
FIRST_X_DISPLAY_NUMBER = 0

#Comment out the following lines:
#while os.path.exists(X_LOCK_FILE_TEMPLATE % display);
#display += 1

#Modify the launch_session() method so it's as follows:
def launch_session(self, x_args):
self._init_child_env()
self._setup_pulseaudio()
self._setup_gnubby()
#self._launch_x_server(x_args)
#self._launch_x_session()
display = self.get_unused_display_number()
self.child_env["DISPLAY"] = ":%d" % display

这是可行的,但有一个重要的警告阻止了我实际使用它:我在办公室的显示器保持打开状态,并且机器已解锁以供任何人访问。

这一页控制 Chrome 远程桌面的使用 指的是“窗帘模式”,这正是我想要的:

启用 Chrome 远程桌面以防止主机旁的人员在远程连接正在进行时查看用户正在执行的操作

然而,提供的启用它的说明仅适用于 Windows 和 Mac,没有提及 Linux。

是否可以为 Linux 主机启用窗帘模式?

答案1

要让每个用户的 CRD 位于其自己的虚拟屏幕上,请按照此处的步骤操作: https://overbrace.com/bernardparent/viewtopic.php?f=91&t=1491

这与窗帘模式类似。重新连接时,您将看到与断开连接时相同的屏幕。

相关内容