【发布时间】:2015-04-07 15:47:15
【问题描述】:
我尝试在我的 Raspberry Pi 上从命令行设置没有 X-Session 的 VNC 服务器“vino”。我不想通过 SSH 等使用共享的 X11Session。
所以,目前我陷入了这样一个事实,即我不知道“vino-preferences”工具将其偏好存储在哪里。 我知道该工具正在使用“gconf”来读取和设置配置属性。
如果我在创建的 X 窗口中执行“vino-preferences”工具(是的,我有一个输出设备,在 Pi 上有一个插入的键盘和鼠标)并在那里更改一些设置并运行
find / -not -path "/proc/*" -not -path "/sys/*" -printf '%TY-%Tm-%Td %TT %p\n' | sort
要找出哪些文件已更改,没有什么相关的。
那么,读取其属性的工具到底在哪里?应用设置的属性是因为如果我停用“允许其他用户使用此桌面”选项,我将无法再与 VNC 客户端连接。
下载“vino”的源代码我发现了一个名为“org.gnome.Vino.gschema.xml”的文件,内容如下:
<schemalist>
<schema id='org.gnome.Vino' path='/org/gnome/desktop/remote-access/'>
<key name='enabled' type='b'>
<summary>Enable remote access to the desktop</summary>
<description>
If true, allows remote access to the desktop via the RFB
protocol. Users on remote machines may then connect to the
desktop using a VNC viewer.
</description>
<default>false</default>
</key>
...
所以也许这个文件必须在某个地方使用?
【问题讨论】:
标签: linux command-line raspberry-pi vnc