'rdesktop' is not recognized as an internal or external command, operable program or batch file.
时间: 2023-09-27 22:10:18 浏览: 110
This error message typically occurs when the 'rdesktop' command is not installed on the system or the path to the command is not set correctly. To resolve this issue, you should first check if 'rdesktop' is installed on your system by running the command 'rdesktop' in the command prompt. If the command is not recognized, you can try installing 'rdesktop' using the package manager for your operating system or downloading it from the official website. Once installed, you may need to add the path to the 'rdesktop' command to your system's environment variables to use it from any directory.
相关问题
rdesktop ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ? Failed to...
这个错误通常出现在使用 rdesktop 连接 Windows 远程桌面时,表示 rdesktop 没有正确初始化 Kerberos tgt。Kerberos tgt 是 Kerberos 服务器颁发的票据,用于身份验证和访问控制。解决方法如下:
1. 确认你的系统上已经安装了 Kerberos 客户端和相应的包。你可以使用以下命令检查:
```
$ rpm -qa | grep krb5
```
2. 确认你已经正确配置了 Kerberos 客户端。你可以使用以下命令检查:
```
$ kinit username@REALM
```
其中,username 是你的 Kerberos 帐户名,REALM 是域名或者 Kerberos 领域名称。
3. 如果你已经正确配置了 Kerberos 客户端,但是仍然出现错误,请尝试在 rdesktop 命令中添加 -x 0 参数,例如:
```
$ rdesktop -x 0 hostname
```
这个参数可以关闭 rdesktop 对 CredSSP 的支持,从而不需要 Kerberos tgt。
希望这可以帮助你解决问题。
rdesktop下载
您可以通过以下方式下载rdesktop:
1. 在Linux上使用包管理器进行安装,例如在Ubuntu上可以使用以下命令进行安装:
```
sudo apt-get install rdesktop
```
2. 手动下载并编译rdesktop源代码。您可以从rdesktop的官方网站(http://www.rdesktop.org/)上获取最新的源代码压缩包,然后按照其中的说明进行编译和安装。
请注意,rdesktop是一个开源项目,因此您还可以在GitHub上找到其源代码,并按照开发者提供的指导进行下载和编译。GitHub上的项目地址是:https://github.com/rdesktop/rdesktop
下载并安装完成后,您就可以在命令行终端中使用rdesktop命令来连接远程Windows计算机了。例如:
```
rdesktop <远程计算机IP地址>
```
希望这能帮到您!如果还有其他问题,请随时提问。