maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Touble to get Maemo 5 beta GUI (af-sb-init.sh) run. (https://talk.maemo.org/showthread.php?t=31716)

iamneo2416 2009-09-16 03:09

Touble to get Maemo 5 beta GUI (af-sb-init.sh) run.
 
I follow development post on the website to step through. Everything is going smoothly, and I also compile helloworld.c to run, also I follow steps as following to manually compile and run gtk_helloworld-1.c (3.4.4 Starting Virtual X Server (Xephyr) ).

Problem occured while I try to follow website instruction to use af-sb-init.sh, it says I should be able to see a GNOME GUI windows manager as descript, but I use: af-sb-init.sh start and get CORE DUMP many times.

My Xclient use: Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb & (also follow instructions.)

How come gtk_helloworld-1 can be manually run, but af-sb-init.sh cannot be finished to show GNOME GUI(windows manager)? Is there anything I missed from website instructions?

My System: Intel-x86, RAM 1G, OS:ubuntu 9.0.4. (Latest release from ubuntu: I install everything inside full download package AND later also update all available security thread and new packages.)

I also followed website to install maemo-5.0beta2 sdk, and scratchbox, nokia-binaries (by fakeroot apt-get install nokia-binaries).

==============================

MORE message from ERROR of XDisplay:

ryo@Ubuntu:~/maemo-5b2$ [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.310" is not allowed to own the service "org.x.config.display2" due to security policies in the configuration file)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed (2)

==============================

Ryo. :confused:

qgil 2009-09-16 03:15

Re: Touble to get Maemo 5 beta GUI (af-sb-init.sh) run.
 
Can an moderator move this thread to the Development forum? There it's easier to get developer attention and support. Thanks!

Nathan 2009-09-16 03:46

Re: Touble to get Maemo 5 beta GUI (af-sb-init.sh) run.
 
Quote:

Originally Posted by iamneo2416 (Post 327593)
My Xclient use: Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb & (also follow instructions.)

The version of XServer/Xephyr that comes w/ Ubuntu 9.04 is broken, you need to pull the a new version otherwise it will crash during development and clicking on certain entry fields.

I use: https://launchpad.net/~openismus-team/+archive/ppa for a replacement version of Xorg/XServer that has the fix.

Quote:

==============================
org.freedesktop.DBus.Error.AccessDenied (Connection ":1.310" is not allowed to own the service "org.x.config.display2" due to security ==============================
To fix this, you need to edit the file:
/etc/dbus-1/system.d/xorg-server.conf

You need to add a "display2" section, copy the section 1 or 0 and replace all 1 (or 0) with 2. So you should have a display 0, 1, and 2.

Nathan.

danielwilms 2009-09-16 07:09

Re: Touble to get Maemo 5 beta GUI (af-sb-init.sh) run.
 
Quote:

Originally Posted by iamneo2416 (Post 327593)
Problem occured while I try to follow website instruction to use af-sb-init.sh, it says I should be able to see a GNOME GUI windows manager as descript, but I use: af-sb-init.sh start and get CORE DUMP many times.
...
How come gtk_helloworld-1 can be manually run, but af-sb-init.sh cannot be finished to show GNOME GUI(windows manager)?

Do you have the error you get from af-sb-init.sh? Which target are you using? Please note that it only works in the X86 target and that the ARMEL target is just for cross-compiling. If the problem still exist you could look as well first for a solution in the wiki.

Cheers Daniel

Nathan 2009-09-16 21:06

Re: Touble to get Maemo 5 beta GUI (af-sb-init.sh) run.
 
Quote:

Originally Posted by danielwilms (Post 327696)
look as well first for a solution in the wiki.

Cheers Daniel

Thanks for the link to the wiki page; I didn't even know it existed. I've added the above error/solution to it since it took me a long time to figure out what was going on and fix it initially on my Jaunty image.

Nathan.


All times are GMT. The time now is 20:04.

vBulletin® Version 3.8.8