Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Problems Starting Application Framework

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


acano at dsic

Jan 30, 2010, 9:38 AM

Post #1 of 10 (2325 views)
Permalink
Problems Starting Application Framework

Hello,

I am trying to compile the gtk-helloworld from the documentation of
the SDK and when executing the next command:

af-sb-init.sh start

receive the next message:

Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
DBUS system bus is already running, doing nothing
D-BUS session bus daemon is already running, doing nothing
Starting Maemo Launcher: maemo-launcher.
defender: died my parent is not who he claims to be
Sapwood image server is already running, doing nothing
gconftool-2[14769]: GLIB WARNING ** GConf - Client failed to connect
to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network
connection was broken.
Error setting value: No D-BUS daemon running
gconftool-2[14771]: GLIB WARNING ** GConf - Client failed to connect
to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network
connection was broken.
Error setting value: No D-BUS daemon running


I have no idea how try to solve it.

Does someone could help me, please.

Thanks,

A. Cano

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


a.grandi at gmail

Jan 30, 2010, 9:42 AM

Post #2 of 10 (2271 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

Hello,

On 30 January 2010 18:38, <acano [at] dsic> wrote:
> Hello,
>
> I am trying to compile the gtk-helloworld from the documentation of the SDK
> and when executing the next command:
>
> af-sb-init.sh start
>
> receive the next message:
>
> Note: For remote X connections DISPLAY should contain hostname!
> Sample files present.

you did: export DISPLAY=:2
inside your Scratchbox environment before doing "af-sb-init.sh start" ?

Regards,

--
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


vivainio at gmail

Jan 30, 2010, 11:00 AM

Post #3 of 10 (2267 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

On Sat, Jan 30, 2010 at 7:38 PM, <acano [at] dsic> wrote:

> I am trying to compile the gtk-helloworld from the documentation of the SDK
> and when executing the next command:
>
> af-sb-init.sh start

How did you install scratchbox? If you are just starting out, I
recommend grabbing the GUI installer.

--
Ville M. Vainio
http://tinyurl.com/vainio
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


vivainio at gmail

Jan 30, 2010, 11:01 AM

Post #4 of 10 (2260 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

On Sat, Jan 30, 2010 at 9:00 PM, Ville M. Vainio <vivainio [at] gmail> wrote:

> How did you install scratchbox? If you are just starting out, I

(and by "scratchbox" I mean "everything", of course).

--
Ville M. Vainio
http://tinyurl.com/vainio
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


acano at dsic

Jan 30, 2010, 11:05 AM

Post #5 of 10 (2282 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

Hi,

Quoting Andrea Grandi <a.grandi [at] gmail>:

> Hello,
>
> On 30 January 2010 18:38, <acano [at] dsic> wrote:
>> Hello,
>>
>> I am trying to compile the gtk-helloworld from the documentation of the SDK
>> and when executing the next command:
>>
>> af-sb-init.sh start
>>
>> receive the next message:
>>
>> Note: For remote X connections DISPLAY should contain hostname!
>> Sample files present.
>
> you did: export DISPLAY=:2
> inside your Scratchbox environment before doing "af-sb-init.sh start" ?

Yes I did.

If this helps when trying to start the X-server I obtain the next error:

maemo [at] maemo-deskto:~$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi
96 -ac -kb &
[1] 8225
maemo [at] maemo-deskto:~$ Could not init font path element
/usr/share/fonts/X11/cyrillic, removing from list!
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed


Regards,

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


daniel.wilms at nokia

Feb 1, 2010, 12:02 AM

Post #6 of 10 (2208 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

Hi,

ext acano [at] dsic wrote:
> DBUS system bus is already running, doing nothing
> D-BUS session bus daemon is already running, doing nothing
>
It seems, that the you have started the AF before already, and that it
did not shut down correctly. Try to kill all the related processes. You
can do that by running sb-menu and then by selection killall in that
menu. After that try to restart the AF with the script as usual.

Daniel
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


kimmo.hamalainen at nokia

Feb 1, 2010, 12:47 AM

Post #7 of 10 (2205 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

On Sat, 2010-01-30 at 18:38 +0100, ext acano [at] dsic wrote:
> Hello,
>
> I am trying to compile the gtk-helloworld from the documentation of
> the SDK and when executing the next command:
>
> af-sb-init.sh start
>
> receive the next message:
>
> Note: For remote X connections DISPLAY should contain hostname!
> Sample files present.
> DBUS system bus is already running, doing nothing
> D-BUS session bus daemon is already running, doing nothing

Try killing all D-Bus daemons before running the script. It looks like
it fails to start the session bus, at least.

-Kimmo

> Starting Maemo Launcher: maemo-launcher.
> defender: died my parent is not who he claims to be
> Sapwood image server is already running, doing nothing
> gconftool-2[14769]: GLIB WARNING ** GConf - Client failed to connect
> to the D-BUS daemon:
> Did not receive a reply. Possible causes include: the remote
> application did not send a reply, the message bus security policy
> blocked the reply, the reply timeout expired, or the network
> connection was broken.
> Error setting value: No D-BUS daemon running
> gconftool-2[14771]: GLIB WARNING ** GConf - Client failed to connect
> to the D-BUS daemon:
> Did not receive a reply. Possible causes include: the remote
> application did not send a reply, the message bus security policy
> blocked the reply, the reply timeout expired, or the network
> connection was broken.
> Error setting value: No D-BUS daemon running
>
>
> I have no idea how try to solve it.
>
> Does someone could help me, please.
>
> Thanks,
>
> A. Cano
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


acano at dsic

Feb 2, 2010, 12:41 PM

Post #8 of 10 (2125 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

Hi Daniel,

I tried to use the killall option but this did not work yet.


I also tried to stop and start it manually by:

[sbox-FREMANTLE_ARMEL: ~] > /etc/init.d/dbus stop
Stopping system message bus: dbus.
[sbox-FREMANTLE_ARMEL: ~] > /etc/init.d/dbus start
Starting system message bus: dbus.

But I receive the next error.

[sbox-FREMANTLE_ARMEL: ~] > af-sb-init.sh start
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
DBUS system bus is already running, doing nothing
D-BUS session bus daemon is already running, doing nothing
Starting Maemo Launcher: maemo-launcher start failed.
Sapwood image server is already running, doing nothing
Error setting value: No D-BUS daemon running

Error setting value: No D-BUS daemon running


I do not know what to do. I also tried to use ESbox, but I obtain the
error "osso_initialize failed.", and I think that this is also because
of the bus.

Thanks again for all your help,

Best Regards,

A. Cano


Quoting daniel wilms <daniel.wilms [at] nokia>:

> Hi,
>
> ext acano [at] dsic wrote:
>> DBUS system bus is already running, doing nothing
>> D-BUS session bus daemon is already running, doing nothing
>>
> It seems, that the you have started the AF before already, and that
> it did not shut down correctly. Try to kill all the related
> processes. You can do that by running sb-menu and then by selection
> killall in that menu. After that try to restart the AF with the
> script as usual.
>
> Daniel
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


sampo.savola at nokia

Feb 3, 2010, 12:24 AM

Post #9 of 10 (2102 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

Hey

It seems that you are trying to start it in ARMEL target, but it works
only in X86 target.

Change your target to X86 in sb-menu and try again.



//Sampo


ext acano [at] dsic wrote:
> Hi Daniel,
>
> I tried to use the killall option but this did not work yet.
>
>
> I also tried to stop and start it manually by:
>
> [sbox-FREMANTLE_ARMEL: ~] > /etc/init.d/dbus stop
> Stopping system message bus: dbus.
> [sbox-FREMANTLE_ARMEL: ~] > /etc/init.d/dbus start
> Starting system message bus: dbus.
>
> But I receive the next error.
>
> [sbox-FREMANTLE_ARMEL: ~] > af-sb-init.sh start
> Note: For remote X connections DISPLAY should contain hostname!
> Sample files present.
> DBUS system bus is already running, doing nothing
> D-BUS session bus daemon is already running, doing nothing
> Starting Maemo Launcher: maemo-launcher start failed.
> Sapwood image server is already running, doing nothing
> Error setting value: No D-BUS daemon running
>
> Error setting value: No D-BUS daemon running
>
>
> I do not know what to do. I also tried to use ESbox, but I obtain the
> error "osso_initialize failed.", and I think that this is also because
> of the bus.
>
> Thanks again for all your help,
>
> Best Regards,
>
> A. Cano
>
>
> Quoting daniel wilms <daniel.wilms [at] nokia>:
>
>
>> Hi,
>>
>> ext acano [at] dsic wrote:
>>
>>> DBUS system bus is already running, doing nothing
>>> D-BUS session bus daemon is already running, doing nothing
>>>
>>>
>> It seems, that the you have started the AF before already, and that
>> it did not shut down correctly. Try to kill all the related
>> processes. You can do that by running sb-menu and then by selection
>> killall in that menu. After that try to restart the AF with the
>> script as usual.
>>
>> Daniel
>>
>>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


vivainio at gmail

Feb 3, 2010, 1:06 AM

Post #10 of 10 (2106 views)
Permalink
Re: Problems Starting Application Framework [In reply to]

On Wed, Feb 3, 2010 at 10:24 AM, Sampo Savola <sampo.savola [at] nokia> wrote:

> It seems that you are trying to start it in ARMEL target, but it works only
> in X86 target.

!!!

Perhaps it's time to provide a helpful error message to af-sb-init.sh?

--
Ville M. Vainio
http://tinyurl.com/vainio
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.