从命令行更改远程桌面权限(远程?)

Dav*_*uer 0 remote-desktop permissions command-line tsclient

我可以ssh在工作时进入我的桌面并在命令行中工作,但我想使用远程桌面协议来检查我保持打开和运行的一些程序。

我没有设置在桌面上使用远程桌面客户端(例如 tsclient)的权限,所以我的连接请求被拒绝(见图)。

在此处输入图片说明

上一个问题中给出的说明表明以下应该有效:

gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
/usr/lib/vino/vino-server
Run Code Online (Sandbox Code Playgroud)

但我明白了:

(30/07/2011 11:25:35 PM Autoprobing TCP port in (all) network interface
30/07/2011 11:25:35 PM Listening IPv6://[::]:5900
30/07/2011 11:25:35 PM Listening IPv4://0.0.0.0:5900
30/07/2011 11:25:35 PM Autoprobing selected port 5900
30/07/2011 11:25:35 PM Advertising security type: 'TLS' (18)
30/07/2011 11:25:35 PM Advertising authentication type: 'No Authentication' (1)
30/07/2011 11:25:35 PM Advertising security type: 'No Authentication' (1)
Run Code Online (Sandbox Code Playgroud)

我做错了什么吗?

是否可以通过 ssh 登录并授予自己使用 tsclient 所需的权限?

Tak*_*kat 5

如果您已设置 ssh 服务器和客户端以接受 X 转发,我们可以通过以下命令启动 Vino 首选项管理器:

ssh -X <remote>
user@remote:~$ vino-preferences
Run Code Online (Sandbox Code Playgroud)

这样我们就可以启用 vino 服务器,并更改包括 VNC 密码在内的设置。