[Sugar-devel] SUGAR_PROFILE feature, slimming down sugar-jhbuild

Bert Freudenberg bert at freudenbergs.de
Fri Sep 3 08:28:00 EDT 2010


On 03.09.2010, at 12:53, Bernie Innocenti wrote:

> El Fri, 03-09-2010 a las 10:23 +0200, Tomeu Vizoso escribió:
>> On Thu, Sep 2, 2010 at 23:06, Sascha Silbe <sascha-ml-reply-to-2010-2 at silbe.org> wrote:
>>> The only reason I still haven't removed GConf-dbus is that I lack
>>> patches for the _documentation_, not the code.
>>> We explain how to use SUGAR_PROFILE to run multiple instances of Sugar
>>> in parallel, but not how to do the same using multiple OS-level user
>>> accounts.
> 
> I've put my very simple recipe for testing collaboration here:
> 
>  http://wiki.sugarlabs.org/go/Collaboration#Testing

xauth times out for me:

[bert at fedora13 ~]$ xauth list
fedora13.localdomain/unix:0  MIT-MAGIC-COOKIE-1  74cc20607c72001dd921d6c2fe58cf09
[bert at fedora13 ~]$ sudo useradd -m test1
[sudo] password for bert:
[bert at fedora13 ~]$ sudo -i -u test1
[test1 at fedora13 ~]$ export DISPLAY=:0
[test1 at fedora13 ~]$ xauth add fedora13.localdomain/unix:0  MIT-MAGIC-COOKIE-1  74cc20607c72001dd921d6c2fe58cf09
xauth:  timeout in locking authority file /var/run/gdm/auth-for-bert-an3WwY/database

Any idea? 

Ah, reading the xauth manpage gives a clue:

[test1 at fedora13 ~]$ unset XAUTHORITY
[test1 at fedora13 ~]$ xauth add fedora13.localdomain/unix:0  MIT-MAGIC-COOKIE-1  74cc20607c72001dd921d6c2fe58cf09
xauth:  creating new authority file /home/test1/.Xauthority

Maybe add that to your simple instructions?

This is a vanilla Fedora 13 install. I have no idea why "sudo -i" preserves XAUTHORITY, according to its man page it should not. /var/run/gdm is inaccessible so this seems to make little sense. But then, what do I know? ;)

- Bert -



More information about the Sugar-devel mailing list