macOS 客户端入门Get started with the macOS client

适用于:Windows 10、Windows 8.1、Windows Server 2012 R2、Windows Server 2016Applies To: Windows 10, Windows 8.1, Windows Server 2012 R2, Windows Server 2016

可以使用适用于 Mac 的远程桌面客户端从 Mac 计算机处理 Windows 应用、资源和桌面。You can use the Remote Desktop client for Mac to work with Windows apps, resources, and desktops from your Mac computer. 使用以下信息可开始使用 - 如果有问题,请查看常见问题解答Use the following information to get started - and check out the FAQ if you have questions.

备注

  • 想知道 macOS 客户端的新版本吗?Curious about the new releases for the macOS client? 请查看Mac 上的远程桌面的新增功能有哪些?Check out What's new for Remote Desktop on Mac?
  • Mac 客户端在运行 macOS 10.10 及更高版本的计算机上运行。The Mac client runs on computers running macOS 10.10 and newer.
  • 本文中的信息主要适用于完整版的 Mac 客户端(Mac AppStore 中可用的版本)。The information in this article applies primarily to the full version of the Mac client - the version available in the Mac AppStore. 可通过在以下位置下载我们的预览应用来体验新功能:beta 版客户端发行说明Test-drive new features by downloading our preview app here: beta client release notes.

获取远程桌面客户端Get the Remote Desktop client

按照以下步骤开始在 Mac 上使用远程桌面:Follow these steps to get started with Remote Desktop on your Mac:

  1. Mac App Store 下载 Microsoft 远程桌面客户端。Download the Microsoft Remote Desktop client from the Mac App Store.
  2. 设置电脑接受远程连接Set up your PC to accept remote connections. (如果跳过此步骤中,则无法连接到电脑。)(If you skip this step, you can't connect to your PC.)
  3. 添加远程桌面连接或远程资源。Add a Remote Desktop connection or a remote resource. 可以使用连接直接连接到 Windows 电脑和远程资源,以使用 RemoteApp 程序、基于会话的桌面或是使用 RemoteApp 和桌面连接在本地发布的虚拟桌面。You use a connection to connect directly to a Windows PC and a remote resource to use a RemoteApp program, session-based desktop, or a virtual desktop published on-premises using RemoteApp and Desktop Connections. 此功能通常在企业环境中可用。This feature is typically available in corporate environments.

Mac beta 版客户端怎么样?What about the Mac beta client?

我们要在 AppCenter 上测试预览频道中的新功能。We're testing new features on our preview channel on AppCenter. 要看看么?Want to check it out? 转到适用于 Mac 的 Microsoft 远程桌面,然后选择“下载”。Go to Microsoft Remote Desktop for Mac and select Download. 无需创建帐户或登录 AppCenter 即可下载 beta 版客户端。You don't need to create an account or sign into AppCenter to download the beta client.

如果已有该客户端,则可以检查更新,以确保具有最新版本。If you already have the client, you can check for updates to ensure you have the latest version. 在 beta 版客户端中,选择顶部的“Microsoft 远程桌面 Beta”,然后选择“检查是否有更新”。In the beta client, select Microsoft Remote Desktop Beta at the top, and then select Check for updates.

添加工作区Add a workspace

订阅管理员提供给你的源,以获取能够在 macOS 设备上访问的受管理资源的列表。Subscribe to the feed your admin gave you to get the list of managed resources available to you on your macOS device.

若要订阅源,请执行以下操作:To subscribe to a feed:

  1. 选择主页上的“添加源”,以连接到服务,并检索资源。Select Add feed on the main page to connect to the service and retrieve your resources.
  2. 输入源 URL。Enter the feed URL. 该项可以是 URL 或电子邮件地址:This can be a URL or email address:
    • 此 URL 通常是一个 Windows 虚拟桌面 URL。This URL is usually a Windows Virtual Desktop URL. 使用哪一个取决于所使用的 Windows 虚拟桌面版本。Which one you use depends on which version of Windows Virtual Desktop you're using.
      • 对于 Windows 虚拟桌面(经典),请使用 https://rdweb.wvd.microsoft.com/api/feeddiscovery/webfeeddiscovery.aspxFor Windows Virtual Desktop (classic), use https://rdweb.wvd.microsoft.com/api/feeddiscovery/webfeeddiscovery.aspx.
      • 对于 Windows 虚拟桌面,请使用 https://rdweb.wvd.microsoft.com/api/arm/feeddiscoveryFor Windows Virtual Desktop, use https://rdweb.wvd.microsoft.com/api/arm/feeddiscovery.
    • 若要使用电子邮件地址,请输入你的电子邮件地址。To use email, enter your email address. 这会指示客户端搜索与你的电子邮件地址关联的 URL,前提是管理员已采用这种方式配置了服务器。This tells the client to search for a URL associated with your email address if your admin configured the server that way.
  3. 选择“订阅”。Select Subscribe.
  4. 出现提示时,请使用用户帐户登录。Sign in with your user account when prompted.

登录后,应该会看到可用资源的列表。After you've signed in, you should see a list of available resources.

订阅源后,源的内容会定期自动更新。Once you've subscribed to a feed, the feed's content will update automatically on a regular basis. 资源可能会根据管理员所做的更改而进行添加、更改或删除。Resources may be added, changed, or removed based on changes made by your administrator.

导出和导入连接Export and import connections

可以导出远程桌面连接定义并在另一个设备上使用它。You can export a remote desktop connection definition and use it on a different device. 远程桌面保存在单独的 RDP 文件中。Remote desktops are saved in separate RDP files.

导出 RDP 文件:To export an RDP file:

  1. 在连接中心中,右键单击远程桌面。In the Connection Center, right-click the remote desktop.
  2. 选择“导出”。Select Export.
  3. 浏览到要用于保存远程桌面 RDP 文件的位置。Browse to the location where you want to save the remote desktop RDP file.
  4. 选择“确定”。Select OK.

导入 RDP 文件:To import an RDP file:

  1. 在菜单栏中,依次选择“文件” > “导入”。In the menu bar, select File > Import.
  2. 浏览到 RDP 文件。Browse to the RDP file.
  3. 选择“打开”。Select Open.

添加远程资源Add a remote resource

远程资源包括 RemoteApp 程序、基于会话的桌面和使用 RemoteApp 和桌面连接发布的虚拟桌面。Remote resources are RemoteApp programs, session-based desktops, and virtual desktops published using RemoteApp and Desktop Connections.

  • URL 会显示指向使你可以访问 RemoteApp 和桌面连接的 RD Web 访问服务器的链接。The URL displays the link to the RD Web Access server that gives you access to RemoteApp and Desktop Connections.
  • 配置的 RemoteApp 和桌面连接会列出。The configured RemoteApp and Desktop Connections are listed.

若要添加远程资源:To add a remote resource:

  1. 在 Connection Center 中,依次选择“+”和“添加远程资源”。In the Connection Center select +, and then select Add Remote Resources.
  2. 输入远程资源信息:Enter information for the remote resource:
    • 源 URL - RD Web 访问服务器的 URL。Feed URL - The URL of the RD Web Access server. 也可以在此字段输入公司电子邮件帐户 - 这将告知客户端搜索与电子邮件地址关联的 RD Web 访问服务器。You can also enter your corporate email account in this field – this tells the client to search for the RD Web Access Server associated with your email address.
    • 用户名称 - 要用于连接到的 RD Web 访问服务器的用户名。User name - The user name to use for the RD Web Access server you are connecting to.
    • 密码 - 要用于连接到的 RD Web 访问服务器的密码。Password - The password to use for the RD Web Access server you are connecting to.
  3. 选择“保存”。Select Save.

将在“连接中心”显示远程资源。The remote resources will be displayed in the Connection Center.

连接到 RD 网关以访问内部资产Connect to an RD Gateway to access internal assets

远程桌面网关(RD 网关)允许你从 Internet 上的任何位置连接到企业网络上的远程计算机。A Remote Desktop Gateway (RD Gateway) lets you connect to a remote computer on a corporate network from anywhere on the Internet. 可以在应用的首选项中或是在设置新桌面连接期间创建和管理网关。You can create and manage your gateways in the preferences of the app or while setting up a new desktop connection.

若要在首选项中设置新网关:To set up a new gateway in preferences:

  1. 在 Connection Center 中,依次选择“首选项”>“网关”。In the Connection Center, select Preferences > Gateways.
  2. 选择表底部的“+”按钮,然后输入以下信息:Select the + button at the bottom of the table Enter the following information:
    • 服务器名称 – 要用作网关的计算机的名称。Server name – The name of the computer you want to use as a gateway. 可以是 Windows 计算机名、Internet 域名或 IP 地址。This can be a Windows computer name, an Internet domain name, or an IP address. 此外可以向服务器名称添加端口信息(例如:RDGateway:443 或 10.0.0.1:443)。You can also add port information to the server name (for example: RDGateway:443 or 10.0.0.1:443).
    • 用户名 - 要用于连接到的远程桌面网关的用户名和密码。User name - The user name and password to be used for the Remote Desktop gateway you are connecting to. 还可以选择“使用连接凭据”以使用与用于远程桌面连接的凭据相同的用户名和密码。You can also select Use connection credentials to use the same user name and password as those used for the remote desktop connection.

管理用户帐户Manage your user accounts

当连接到桌面或远程资源时,可以保存用户帐户以便再次选择。When you connect to a desktop or remote resources, you can save the user accounts to select from again. 可以使用远程桌面客户端管理用户帐户。You can manage your user accounts by using the Remote Desktop client.

若要创建新的用户帐户:To create a new user account:

  1. 在 Connection Center 中,依次选择“设置” > “帐户”。In the Connection Center, select Settings > Accounts.
  2. 选择“添加用户帐户”。Select Add User Account.
  3. 输入以下信息:Enter the following information:
    • 用户名 - 要保存以用于远程连接的用户名。User Name - The name of the user to save for use with a remote connection. 可以使用以下任意格式输入用户名:user_name、domain\user_name 或 user_name@domain.com。You can enter the user name in any of the following formats: user_name, domain\user_name, or user_name@domain.com.
    • 密码 - 指定的用户密码。Password - The password for the user you specified. 要保存用于远程连接的每个用户帐户都需要与之关联的密码。Every user account that you want to save to use for remote connections needs to have a password associated with it.
    • 友好名称 - 如果使用具有不同密码的相同用户帐户,则设置友好名称以区分这些用户帐户。Friendly Name - If you are using the same user account with different passwords, set a friendly name to distinguish those user accounts.
  4. 依次选择“保存”和“设置”。Select Save, then select Settings.

自定义显示分辨率Customize your display resolution

可以为远程桌面会话指定显示分辨率。You can specify the display resolution for the remote desktop session.

  1. 在 Connection Center 中,选择“首选项”。In the Connection Center, select Preferences.
  2. 选择“分辨率”。Select Resolution.
  3. 选择“+”。Select +.
  4. 输入分辨率高度和宽度,然后选择“确定”。Enter a resolution height and width, and then select OK.

若要删除分辨率,请依次选择要删除的分辨率和“-”。To delete the resolution, select it, and then select -.

显示具有单独的空间Displays have separate spaces

如果正在运行 Mac OS X 10.9 并且已在 Mavericks 中禁用“显示具有单独的空间”(“系统首选项”>“任务控制”),则需要使用相同选项在远程桌面客户端中配置此设置 。If you're running Mac OS X 10.9 and have disabled Displays have separate spaces in Mavericks (System Preferences > Mission Control), you need to configure this setting in the Remote Desktop client using the same option.

远程资源的驱动器重定向Drive redirection for remote resources

远程资源支持驱动器重定向,以便可以将使用远程应用程序创建的文件在本地保存到 Mac。Drive redirection is supported for remote resources, so that you can save files created with a remote application locally to your Mac. 重定向的文件夹始终是在远程会话中显示为网络驱动器的主目录。The redirected folder is always your home directory displayed as a network drive in the remote session.

备注

若要使用此功能,管理员需要在服务器上设置适当的设置。In order to use this feature, the administrator needs to set the appropriate settings on the server.

在远程会话中使用键盘Use a keyboard in a remote session

Mac 键盘布局与 Windows 键盘布局不同。Mac keyboard layouts differ from the Windows keyboard layouts.

  • Mac 键盘上的 Command 键等于 Windows 键。The Command key on the Mac keyboard equals the Windows key.
  • 若要执行使用 Mac 上的 Command 按钮的操作,则需要使用 Windows 中的控制按钮(例如:Copy = Ctrl+C)。To perform actions that use the Command button on the Mac, you will need to use the control button in Windows (for example Copy = Ctrl+C).
  • 可以通过额外按 FN 键在会话中激活功能键(例如:FN+F1)。The function keys can be activated in the session by pressing additionally the FN key (for example, FN+F1).
  • Mac 键盘上空格键右侧的 Alt 键等于 Windows 中的 Alt Gr/右 Alt 键。The Alt key to the right of the space bar on the Mac keyboard equals the Alt Gr/right Alt key in Windows.

默认情况下,远程会话会使用与客户端运行的操作系统相同的键盘区域设置。By default, the remote session will use the same keyboard locale as the OS you're running the client on. (如果 Mac 运行美国英语操作系统,则也会对远程会话使用该操作系统。)如果未使用操作系统键盘区域设置,请检查远程电脑上的键盘设置并手动更改该设置。(If your Mac is running an en-us OS, that will be used for the remote sessions as well.) If the OS keyboard locale is not used, check the keyboard setting on the remote PC and change it manually. 有关键盘和区域设置的更多信息,请参阅远程桌面客户端常见问题解答See the Remote Desktop Client FAQ for more information about keyboards and locales.

对远程桌面网关可插入身份验证和授权的支持Support for Remote Desktop gateway pluggable authentication and authorization

Windows Server 2012 R2 引入了对新身份验证方法(即远程桌面网关可插入身份验证和授权)的支持,该方法可为自定义身份验证例程提供更高的灵活性。Windows Server 2012 R2 introduced support for a new authentication method, Remote Desktop Gateway pluggable authentication and authorization, which provides more flexibility for custom authentication routines. 现在可以通过 Mac 客户端尝试此身份验证模型。You can now try this authentication model with the Mac client.

重要

不支持 Windows 8.1 之前的自定义身份验证和授权模型,尽管上面的文章讨论了它们。Custom authentication and authorization models before Windows 8.1 aren't supported, although the article above discusses them.

若要了解有关此功能的更多信息,请查看 https://aka.ms/paa-sampleTo learn more about this feature, check out https://aka.ms/paa-sample.

提示

欢迎提出问题和意见。Questions and comments are always welcome. 但是,请不要使用本文末尾的评论功能来请求获取故障排除帮助。However, please do NOT post a request for troubleshooting help by using the comment feature at the end of this article. 而是转到远程桌面客户端论坛并启动一个新线程。Instead, go to the Remote Desktop client forum and start a new thread. 有功能建议?Have a feature suggestion? 请在客户端用户心声论坛告诉我们。Tell us in the client user voice forum.