[Sugar-devel] Call for Help: SoaS & Display Manager (Auto-Login)

2009-07-31 Thread Sebastian Dziallas
Hi everybody,

I could use a hand with auto-login on SoaS. We've been using slim so far 
but will switch in the near future (in fact, I already committed a 
change in GIT), as we also need to login automatically after killing / 
restarting X.

Therefore, the most feasible solution seems to be olpc-dm from the 
olpc-utils right now. Unfortunately, I haven't been able to get it 
successfully to work and am lost with a black screen on tty1 so far.

Looking at /var/log/message, the following stuff seems spurious:

olpc-dm: Can't get tty name: inappropriate ioctl for device
init: prefdm main process terminated with status 1

The occurs quite a few times and running initctl start prefdm manually 
from the console also gives a "prefdm respawning too fast".

On the other hand, running olpc-dm directly as root works, though.

If anybody has an idea how to fix this, meaning to get auto-login to 
work again, any help is greatly appreciated. We can also provide the 
current snapshot pre-built as an .iso file, if required.

Feel free to contact me directly, too.

Thanks,
--Sebastian Dziallas for the SoaS Team
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for Help: SoaS & Display Manager (Auto-Login)

2009-08-01 Thread Tomeu Vizoso
On Fri, Jul 31, 2009 at 16:48, Sebastian Dziallas wrote:
> Hi everybody,
>
> I could use a hand with auto-login on SoaS. We've been using slim so far
> but will switch in the near future (in fact, I already committed a
> change in GIT), as we also need to login automatically after killing /
> restarting X.
>
> Therefore, the most feasible solution seems to be olpc-dm from the
> olpc-utils right now. Unfortunately, I haven't been able to get it
> successfully to work and am lost with a black screen on tty1 so far.
>
> Looking at /var/log/message, the following stuff seems spurious:
>
> olpc-dm: Can't get tty name: inappropriate ioctl for device
> init: prefdm main process terminated with status 1
>
> The occurs quite a few times and running initctl start prefdm manually
> from the console also gives a "prefdm respawning too fast".
>
> On the other hand, running olpc-dm directly as root works, though.
>
> If anybody has an idea how to fix this, meaning to get auto-login to
> work again, any help is greatly appreciated. We can also provide the
> current snapshot pre-built as an .iso file, if required.
>
> Feel free to contact me directly, too.

So did you got this working by yourself?

Regards,

Tomeu

> Thanks,
> --Sebastian Dziallas for the SoaS Team
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for Help: SoaS & Display Manager (Auto-Login)

2009-08-01 Thread Sebastian Dziallas
Tomeu Vizoso wrote:
> On Fri, Jul 31, 2009 at 16:48, Sebastian Dziallas  wrote:
>> Hi everybody,
>>
>> I could use a hand with auto-login on SoaS. We've been using slim so far
>> but will switch in the near future (in fact, I already committed a
>> change in GIT), as we also need to login automatically after killing /
>> restarting X.
>>
>> Therefore, the most feasible solution seems to be olpc-dm from the
>> olpc-utils right now. Unfortunately, I haven't been able to get it
>> successfully to work and am lost with a black screen on tty1 so far.
>>
>> Looking at /var/log/message, the following stuff seems spurious:
>>
>> olpc-dm: Can't get tty name: inappropriate ioctl for device
>> init: prefdm main process terminated with status 1
>>
>> The occurs quite a few times and running initctl start prefdm manually
>> from the console also gives a "prefdm respawning too fast".
>>
>> On the other hand, running olpc-dm directly as root works, though.
>>
>> If anybody has an idea how to fix this, meaning to get auto-login to
>> work again, any help is greatly appreciated. We can also provide the
>> current snapshot pre-built as an .iso file, if required.
>>
>> Feel free to contact me directly, too.
>
> So did you got this working by yourself?

Yup, fixed! :)

Thanks,
--Sebastian

> Regards,
>
> Tomeu
>
>> Thanks,
>> --Sebastian Dziallas for the SoaS Team
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for Help: SoaS & Display Manager (Auto-Login)

2009-08-01 Thread Ton van Overbeek
Regarding getting auto-login to work after restarting X.

Yesterday I looked at the slim sources and it seems at first sight easy
to add auto login of the default user after the first login.
Any interest in me trying to implement this?
If we use an extra option to slim we could push this change upstream
to Fedora and then we do not have to maintain our own manager (olpc-dm).
But maybe Sebastian is already happy with a working olpc-dm.

Ton van Overbeek
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for Help: SoaS & Display Manager (Auto-Login)

2009-08-09 Thread Sebastian Dziallas
Ton van Overbeek wrote:
> Regarding getting auto-login to work after restarting X.
>
> Yesterday I looked at the slim sources and it seems at first sight easy
> to add auto login of the default user after the first login.
> Any interest in me trying to implement this?
> If we use an extra option to slim we could push this change upstream
> to Fedora and then we do not have to maintain our own manager (olpc-dm).
> But maybe Sebastian is already happy with a working olpc-dm.
>
> Ton van Overbeek

Ahhh! Sorry, I missed this entirely and just noticed it in another 
folder when going through my e-mail today. Well, I certainly wouldn't 
mind if you went ahead and gave it a try, but I'm not sure how likely it 
is that this change would be accepted, pushed into a release and then 
packaged for Fedora.

Well, you're right, I'm happy with a working olpc-dm, but I'm also 
always looking for ways to improve SoaS... ;)

Thanks a lot,
--Sebastian
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for Help: SoaS & Display Manager (Auto-Login)

2009-08-09 Thread Mathieu Bridon (bochecha)
Sorry, I was once again victim of GMail's interface and answered only
to Sebastian instead of to the list.


-- Forwarded message --
From: Mathieu Bridon (bochecha) 
Date: Sun, Aug 9, 2009 at 19:05
Subject: Re: [Sugar-devel] Call for Help: SoaS & Display Manager (Auto-Login)
To: Sebastian Dziallas 


Hi,

On Sun, Aug 9, 2009 at 19:00, Sebastian Dziallas wrote:
> Ton van Overbeek wrote:
>> Regarding getting auto-login to work after restarting X.
>>
>> Yesterday I looked at the slim sources and it seems at first sight easy
>> to add auto login of the default user after the first login.
>> Any interest in me trying to implement this?
>> If we use an extra option to slim we could push this change upstream
>> to Fedora and then we do not have to maintain our own manager (olpc-dm).
>> But maybe Sebastian is already happy with a working olpc-dm.
>>
>> Ton van Overbeek
>
> Ahhh! Sorry, I missed this entirely and just noticed it in another
> folder when going through my e-mail today. Well, I certainly wouldn't
> mind if you went ahead and gave it a try, but I'm not sure how likely it
> is that this change would be accepted, pushed into a release and then
> packaged for Fedora.

One thing to keep in mind: it would have to be actually accepted
*upstream* before it can go in Fedora.

Also, Rawhide is now frozen for F12Alpha, so even if that's accepted
upstream, if you want this change in Fedora 12, you'll have to ask a
freeze break to Rel-Eng. [1]

Better do it quick :)

Best regards,


[1] http://fedoraproject.org/wiki/ReleaseEngineering/DevelFreezePolicy


--

Mathieu Bridon (bochecha)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel