[Sugar-devel] Supported methods of starting Sugar

Jonas Smedegaard dr at jones.dk
Wed Feb 18 07:20:44 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Feb 18, 2009 at 12:16:26PM +0100, Sascha Silbe wrote:
> On Wed, Feb 18, 2009 at 11:53:48AM +0100, Jonas Smedegaard wrote:
>
>>>> If you're logging in to Sugar directly from gdm,
>>>> then it should run sugar.
>>>           ^^ what's "it"? or did you mean "you"?
>>
>>   From gdm you can only pick a gdm item, not a binary directly.
> So Ubuntu contains some script that's run directly by gdm and invokes  
> sugar? Is it the same as the one in [1]?

Not quite, but the result might(!) be the same. Read on...


> I've only ever used .xsession to choose what to run, especially as I  
> usually use xdm (which AFAIK doesn't have any "session" chooser).

.xsession is (I believe, on Debian at least) part of a bigger chain, 
starting at /etc/X11/xsession - so the actual setup of your environment 
might be dependent on more than just your personal .xsession file.

I believe gdm initializes some environment variables too.

Exactly what variables are needed/wanted by sugar and how fatal it is 
for them to be missing is unknown to me, but an obvious approach is to 
a) make your .xsession script dup environment and b) inspect 
sugar-emulator to see what gets initialized there.


>> Gdm should invoke sugar, not sugar-emulator.
> Great! So my bug isn't invalid. ;)

If you've filed a bug about not working from gdm, then you are right.

If you've filed a bug about not working from an .xsession file then you 
might indirectly be right - we don't know that yet.


  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmb/RwACgkQn7DbMsAkQLie7wCeJzeUs2ixl6/uE3KqBDvAdn3F
ajMAn3xfj4FvNClD8I27TDksx6s+UVXL
=p4Dc
-----END PGP SIGNATURE-----


More information about the Sugar-devel mailing list