Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Sep 2009
#1
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.

Last edited by iamneo2416; 2009-09-16 at 03:29.
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#2
Can an moderator move this thread to the Development forum? There it's easier to get developer attention and support. Thanks!
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#3
Originally Posted by iamneo2416 View Post
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.

==============================
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.
 

The Following User Says Thank You to Nathan For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#4
Originally Posted by iamneo2416 View Post
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
 

The Following 2 Users Say Thank You to danielwilms For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#5
Originally Posted by danielwilms View Post
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.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:28.