首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >“vino-首选项”存储它的配置属性在哪里?

“vino-首选项”存储它的配置属性在哪里?
EN

Stack Overflow用户
提问于 2015-02-07 15:15:09
回答 1查看 6.7K关注 0票数 4

我尝试设置VNC服务器"vino“,而不是在我的Raspberry Pi上命令行设置X会话。我不想在SSH上使用共享的X11Session等等。

因此,目前我陷入这样一个事实:我不知道工具"vino- preferences“在哪里存储它的首选项。我知道该工具正在使用"gconf“读取和设置配置属性。

如果我在创建的X窗口内执行工具"vino-preferences“(是的,我有一个输出设备,Pi上有一个插入键盘和鼠标),然后更改一些设置并运行。

代码语言:javascript
复制
find / -not -path "/proc/*" -not -path "/sys/*" -printf '%TY-%Tm-%Td %TT %p\n' | sort

要找出哪些文件已经更改,没有任何关系。

那么,读取其属性的工具到底在哪里呢?应用set属性是因为如果我禁用“允许其他用户使用此桌面”选项,则无法再与VNC客户端连接。

下载"vino“的源代码后,我找到了一个名为"org.gnome.Vino.gschema.xml”的文件,其内容如下:

代码语言:javascript
复制
<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>
...

所以也许这个文件一定是用在什么地方了?

EN

回答 1

Stack Overflow用户

发布于 2016-05-06 02:43:17

Yo可以尝试使用gsettings,如果您想通过shell访问。如果您没有安装它,则它们在libglib2.0-bin包中。

  • Yo可以看到所有配置键: gsettings递归org.gnome.Vino
  • 如果您想要更改这些选项,可以这样做: 设置org.gnome.Vino视图仅为true

新设置将在重新启动vino后工作。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28383770

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档