QtMoko - QX - "Unable to connect to X server"

Torfinn Ingolfsen tingox at gmail.com
Tue Sep 8 20:39:37 CEST 2009


Hei,

On Tue, Sep 8, 2009 at 6:53 PM, Radek Polak <psonek2 at seznam.cz> wrote:

> You can start Qtopia from command line to see all output:
>
> ssh root at 192.168.0.202
> killall qpe
> source /opt/qtmoko/qpe.env
> echo 0 > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
> echo 1 > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
> qpe
>

Ok, I am now trying this. fter initail startup (rge above) this is the
output:

neo:~# source /opt/qtmoko/qpe.env
neo:/root# echo 0 > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
neo:/root# echo 1 > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
neo:/root# qpe
NeoKbdDriverPlugin:create()
Before call NeoKbdHandler()
NeoBattery::NeoBattery
56484 0
0
Unable to register with BlueZ service manager...
Unable to register with BlueZ service manager...
Unable to register with BlueZ service manager...
Unable to register with BlueZ service manager...
Unable to register with BlueZ service manager...
Unable to register with BlueZ service manager...

First startup of QX and TsngoGPS:
(II) verbosity set to 5
Using GLAMO 3362 card
(II) Screen: 16/16 depth/bpp
(II) vram size:4194304, onscreen vram size:614400, offscreen vram
size:3579904
(II) initialising offscreen pixmaps
error opening security policy file /usr/lib/xserver/SecurityPolicy
Extended Input Devices not yet supported. Impelement it at line 637 in
../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing
from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing from
list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from
list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from
list!
Could not init font path element
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1;
fixing.
(II) verbosity set to 5
Using GLAMO 3362 card
(II) Screen: 16/16 depth/bpp
(II) vram size:4194304, onscreen vram size:614400, offscreen vram
size:3579904
(II) initialising offscreen pixmaps
error opening security policy file /usr/lib/xserver/SecurityPolicy
Extended Input Devices not yet supported. Impelement it at line 637 in
../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing
from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing from
list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from
list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from
list!
Could not init font path element
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
REPOLIST == NULL
*** on_drawingarea1_configure_event():
pixmap created
*** fill_tiles_pixel(): xyz 890 515 3
---repo dir: /home/root/Maps/OSM
---i,j,x,y,offsetx,y: 3,2 -- 890,515 -- -122,-3
* load tile()
IMG: /home/root/Maps/OSM/3/3/2.png
*** Not downloading tile
PIXBUF: error loading png
### tile /home/root/Maps/OSM/3/3/2 not found in hash, trying DL
download_tile():
http://tile.openstreetmap.org/3/3/2.png|/home/root/Maps/OSM/3/3/2.png|/home/root/Maps/OSM/3/3/######################


 # of threads: 1

I then press AUX briefly and get back in QX. I select the "Stop TnagGPS
button, and get this output:

*** on_drawingarea1_button_release_event():
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1;
fixing.
(II) verbosity set to 5
Using GLAMO 3362 card
(II) Screen: 16/16 depth/bpp
(II) vram size:4194304, onscreen vram size:614400, offscreen vram
size:3579904
(II) initialising offscreen pixmaps
error opening security policy file /usr/lib/xserver/SecurityPolicy
Extended Input Devices not yet supported. Impelement it at line 637 in
../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing
from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing from
list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from
list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from
list!
Could not init font path element
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1;
fixing.
Can't deallocate console 7 errno 16

Ok, let's try to start TangoGPS again, without leaving QX:
Yes - that worked.
Now lets quit both TnagoGPS and QX.
Then I start QX again:

Strange - this time it works. I can even start TangoGPS.
I have tried this many times now, and I can reliably start QX and TangGPS
when qpe run from a shell, instead of the "normal" way (startup script or
whatever).

Could it be caused by the different way qpe is being started?
-- 
Regards,
Torfinn Ingolfsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090908/fdfcd6a9/attachment-0001.htm 


More information about the community mailing list