Re: Question: How to configure multiple Gnome desktops for one user



对,不同的user,用 startx 起两个不同的 X 的 instance,通过gdm,每个 instance 起一个 
gnome-session,这是很常规的用法,我做过。但是同一个user就比较难办了,而且我觉得是不是不应该这样子做?

谢谢你的回复,帮我理清思路!

Happy Halloween!

Sent from Zaiwen iPhone

On Oct 31, 2014, at 3:14 AM, "W.H." <weezee os gmail com> wrote:

不推荐使用 NoMachine 这样的解决方案。

尝试换一种思路,比如用 startx 起两个 X 的 instance,通过gdm,每个 instance 起一个
gnome-session 。不过这种方式我以前只尝试过不同 user 下这么玩,对于同一个 user 的情况我还不太清楚。

On 10/31/14, Zaiwen Gong <zaiwen hotmail com> wrote:
Hi W.H.

多谢你的回复! 我已经黔驴技穷了,现在好像又看到了一丝希望, 哈哈!

你说的对, 应该需要起两个相互独立的 Session, 但是怎么起呢?你有更多细节吗?

我是用NoMachine来联的,NoMachine有两个选择: create a new GNOME virtual desktop 和 create
a new custom session。 我选的第一个, 但是不work. 试着选了第二个, 但是不知道怎么configure custom
session。我打电话问NoMachine, 他们说他们by default 不支持这样的configuration,让我试试问GNOME :)

我看见一个帖子, 描述的问题跟我的很相似, 可惜他提供的patch需要改动gconf的source code,重新compile gconf
package,也许还需要重新compile kernel, 动静太大,我没有时间尝试:
https://bugzilla.gnome.org/show_bug.cgi?id=617017

再次感谢!

Zaiwen (再文)

Date: Fri, 31 Oct 2014 10:21:00 +0800
Subject: Re: Question: How to configure multiple Gnome desktops for one
user
From: weezee os gmail com
To: zaiwen hotmail com
CC: emilychen522 gmail com; gnome-cn-list gnome org

非常抱歉没法及时重现你的问题。我目前的环境是 GNOME 3.10,因为gconf这个东西还是 Gnome2时代的,所以需要安装一个老版本的环境。

看了你前面说的方法,我推测一种可能,就是单纯的把gconf配置文件分离并不能使得 Session 独立。你看看是不是需要起两个相互独立的
Session。

On 10/31/14, Zaiwen Gong <zaiwen hotmail com> wrote:
谢谢Emily!

我还没有收到任何回复:)

Sent from Zaiwen iPhone

On Oct 30, 2014, at 11:09 AM, "Emily Chen" <emilychen522 gmail com>
wrote:

@Zaiwen,这里可以用中文讨论了。

大家有人回复么?

-emily

2014-10-28 22:38 GMT+08:00 Zaiwen Gong <zaiwen hotmail com>:
Hi guys,

Glad to find this Gnome mailing list in China. Not sure if I should
use
English or Chinese. Please let me know if I should use Chinese here.

I have a configuration question:
I want to find out how to configure multiple Gnome desktops for one
user,
each with its own independent configuration?

I am using Red Hat Linux 6.5 with GNOME 2.0. I use SSH to connect.
I understand that by default when you run multiple instances of Gnome
owned by the same user, it is expected the they share the same
desktop
settings. For example, the choice user made for the desktop background
is
applied to all the running instances of Gnome.

I have tried some options, but it seems not working. Here is my
configuration:
In the account's home folder, edit .gconf.path to use
$ENV_NX_SESSIONDIR.
I thought in this way, each session can have its own gconf.xml:
xml:readwrite:$(ENV_NX_SESSIONDIR)/.gconf

And it seems different gconf.xml is generated in different folders:

myaccount/.nx/C-machine1-1004-FD688F7448025DE690553456B2196EF/.gconf/desktop/gnome/background/%gconf.xml
myaccount/.nx/C-machine1-1003-56DFB1F58E548E266618D463CE5DBD2/.gconf/desktop/gnome/background/%gconf.xml

But it is not working. It seems the second desktop is controlling the
first desktop’s gnome session. For example, on the second desktop,
run
“gconf-editor” and then change its background, both desktops’
background
will be changed.

Do I miss anything? Please advise.  Thanks a lot!

Zaiwen

_______________________________________________
gnome-cn-list mailing list
gnome-cn-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-cn-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]