[pkg-fso-maint] Bug#495388: zhone-session: self.evas_obj.evas seems to be of NoneType, leads to crash on zhone startup

Luca Capello luca at pca.it
Tue Aug 26 01:53:12 UTC 2008


Hi Marcel!

Please keep both the bug and the pkg-fso-maint mailing list cc:ed.

On Mon, 18 Aug 2008 01:06:53 +0200, Marcel wrote:
> Am Sonntag 17 August 2008 23:46:14 schrieben Sie:
>> Am Sonntag, den 17.08.2008, 17:48 +0200 schrieb Marcel:
>> > Am Sonntag 17 August 2008 15:25:48 schrieben Sie:
>> > > Am Sonntag, den 17.08.2008, 00:23 +0200 schrieb Marcel:
>> > > > This happened on a virgin installation (Neo Freerunner) after I
>> > > > played around a bit with suspend, which was semi-successful but
>> > > > probably is another bug.

If you're not aware, here my tests about suspend:

  http://lists.linuxtogo.org/pipermail/smartphones-standards/2008-August/000334.html

It can be that suspend have corrupted your filesystem, but at the next
reboot this should have been fixed.

>> Note that when starting zhone from on a shell that’s not an X terminal,
>> you need to run it with the DISPLAY variable set, e.g.
>> DISPLAY=:0 zhone &
>>
>> Maybe that helps you further?
[...]
> Indeed it does. When ssh'ing in from my desktop, DISPLAY is set 
> to "localhost:10.0".

Which ssh command are you using?  Usually, with a plain `ssh $HOST`
DISPLAY is not set, while with `ssh -X $HOST` DISPLAY is set (which is
the case here, too).  From `man ssh`:

      -X      Enables X11 forwarding.  This can also be specified on a
              per-host basis in a configuration file.

> When I export DISPLAY=:0 and then start zhone manually, it
> runs. Unfortunately that doesn't help when running zhone-session
> regularly - because it's being executed on it's own shell and
> therefore has the default $DISPLAY I guess.

The default $DISPLAY should be set by xinit without any manual
intervention and it should take the first available, thus :0.0.

What does the following command produce, from an `ssh $HOST` session
(i.e. without X11 forwarding)?

  root at debian-gta02:~# /usr/bin/xinit /etc/X11/Xsession /usr/bin/zhone-session -- vt4

> I cannot test it on the phone because the matchbox keyboard doesn't
> pop up - the xauth file isn't created correctly in this state and
> therefore the kb cannot get an X connection once I trigger it using
> the aux button (matchbox-keyboard-toggle launched from the ssh
> session)

The xauth file shouldn't be a problem, at least if you use the command
above.

Actually, if you want to start something from an ssh session on your
FreeRunner, you can prepend the command with the DISPLAY you want to
use:

  root at debian-gta02:~# DISPLAY=:0.0 matchbox-keyboard-toggle

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20080826/139c5b46/attachment.pgp 


More information about the pkg-fso-maint mailing list