Embedding photon

I’m trying to embedding photon on a CD and I really need help

I start telnetd -debug -Q 23

then I type those command on the telnet client

export PHOTON_PATH= /usr/photon
export LD_LIBRARY_PATH= /usr/photon

…/Photon &
…/phfontFF -d /phembed/font_repository -c 20K -j -s 50K -F 10 -S 50 &
…/usr/photon/bin/devi-hirun kbd fd -d/dev/kbd ps2 kb -2 &

At this point I have a black screen with a mouse pointer, and no error
message

after, each time I a try to start an application a got this error
…/phcalc
Ap: unable to access ressource
(/usr/photon/bin/./phcalc)

…/ped
Ap: unable to access ressource
(/usr/photon/bin/./ped)