Max Feil
02/10/2009 5:47 PM
post21939
|
The general sequence phrelay uses to start its own photon session is:
1) Creates a /dev/ph$$ name where $$ comes from getpid()
2) Starts /usr/photon/bin/Photon with this name, and uses the -l option
to make the photon server run phlogin.
3) When phlogin successfully validate's the user's password, it runs the
/usr/bin/ph script.
4) Phrelay then runs ph.setup and PhAttach's to /dev/ph$$
It looks like you have found a bug in the ph script. It checks to make
sure that io-display is running, but if io-graphics does not need to be
started this check should not be made.
My suggested fix is to edit the /usr/bin/ph script and put the following
if statement around the /dev/io-display check:
if phin -TG -q 2>/dev/null ; then
</dev/io-display check>
fi
I have created PR65352 to track this problem.
-----Original Message-----
From: Mario Charest [mailto:community-noreply@qnx.com]
Sent: Monday, February 09, 2009 8:24 PM
To: momentics-community
Subject: phrelay issue
My x86 6.4.0 target is exhibiting a strange problem. It's a custom make
image which when it was build on 6.3.2 was running fine.
When the machine boots it start an io-display less version of Photon.
That session is only visible with phditto/phindows as it's not attached
to any graphic driver. That works fine.
The problem is when we try to use phindows to create a new photon
session. Phindows closes right after login in . I've added debug option
to phrelay trying to figure out who's not a happy camper. Only
meaningfull message I could find was: io-display is not running, unable
to continue.
I have no idea why phrelay would expect io-display to be there. Any
idea?
_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post21851
|
|
|