phrelay on an embedded box

What issues are involved in running phrelay on a remote embedded system,
which has no display hardware? Does phrelay require video hardware and
drivers in Photon? How minimal can the Photon/phrelay install be to allow a
Phindows connection?

Cheers,
Stuart Harding

Stuart Harding <stuart@intellidesign.com.au> wrote:

What issues are involved in running phrelay on a remote embedded system,
which has no display hardware? Does phrelay require video hardware and
drivers in Photon? How minimal can the Photon/phrelay install be to allow a
Phindows connection?

You just need Photon, phfont and the associated fonts and some method
of launching phrelay (say, inetd) (and the shared libs etc etc)


cburgess@qnx.com

On 13 Feb 2002 07:28:08 GMT, Colin Burgess <cburgess@qnx.com> wrote:

Stuart Harding <> stuart@intellidesign.com.au> > wrote:
What issues are involved in running phrelay on a remote embedded system,
which has no display hardware? Does phrelay require video hardware and
drivers in Photon? How minimal can the Photon/phrelay install be to allow a
Phindows connection?

You just need Photon, phfont and the associated fonts and some method
of launching phrelay (say, inetd) (and the shared libs etc etc)

ie about the same as having Photon anyway?
As I recall from a similar project a long time ago to create a QNX based thin client,
one only saved on the drivers ?

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:a4d4i8$enc$1@nntp.qnx.com

Stuart Harding <> stuart@intellidesign.com.au> > wrote:
What issues are involved in running phrelay on a remote embedded system,
which has no display hardware? Does phrelay require video hardware and
drivers in Photon? How minimal can the Photon/phrelay install be to
allow a
Phindows connection?

You just need Photon, phfont and the associated fonts and some method
of launching phrelay (say, inetd) (and the shared libs etc etc)


cburgess@qnx.com

Also you need to use the -u option to phindows b/c you’ll have an Input
group with a size of zero if you aren’t running a graphics driver. This
causes a connecton error 2.

I have connected into the embedded box, and now have a blank Phindows
screen. When I try to run any Photon apps, I get the following error:

Ap: Unable to open resource file
(/usr/photon/bin/phcalc)

Note that this is a diskless, network-booted system. I am including the
binaries in the boot image. If however, I fs-nfs2 mount a directory from
the server containing only the binary file I want to run and run it from
that directory, it runs fine.
I can’t find any doco about the appbuilder library. Can anyone explain this
error?

Thanks,
Stuart

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:a4d4i8$enc$1@nntp.qnx.com

Stuart Harding <> stuart@intellidesign.com.au> > wrote:
What issues are involved in running phrelay on a remote embedded system,
which has no display hardware? Does phrelay require video hardware and
drivers in Photon? How minimal can the Photon/phrelay install be to
allow a
Phindows connection?

You just need Photon, phfont and the associated fonts and some method
of launching phrelay (say, inetd) (and the shared libs etc etc)


cburgess@qnx.com

Found it - need to add [+raw] to the binary in the mkifs build file.
“Stuart Harding” <stuart@intellidesign.com.au> wrote in message
news:a4hjhd$195$1@inn.qnx.com

I have connected into the embedded box, and now have a blank Phindows
screen. When I try to run any Photon apps, I get the following error:

Ap: Unable to open resource file
(/usr/photon/bin/phcalc)

Note that this is a diskless, network-booted system. I am including the
binaries in the boot image. If however, I fs-nfs2 mount a directory from
the server containing only the binary file I want to run and run it from
that directory, it runs fine.
I can’t find any doco about the appbuilder library. Can anyone explain
this
error?

Thanks,
Stuart

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:a4d4i8$enc$> 1@nntp.qnx.com> …
Stuart Harding <> stuart@intellidesign.com.au> > wrote:
What issues are involved in running phrelay on a remote embedded
system,
which has no display hardware? Does phrelay require video hardware
and
drivers in Photon? How minimal can the Photon/phrelay install be to
allow a
Phindows connection?

You just need Photon, phfont and the associated fonts and some method
of launching phrelay (say, inetd) (and the shared libs etc etc)


cburgess@qnx.com

Where can I specify what applications I want started when the Phindows
session connects? At the moment, I connect with phindows, and then start a
pterm session from a console, specifying the -s option.
The $HOME/.ph/phapps doesn’t seem to do anything (maybe because ph is not
running?).
The phrelay log file mentions a ph.setup file - is there any doco on what
this file does?

Cheers,
Stuart

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:a4d4i8$enc$1@nntp.qnx.com

Stuart Harding <> stuart@intellidesign.com.au> > wrote:
What issues are involved in running phrelay on a remote embedded system,
which has no display hardware? Does phrelay require video hardware and
drivers in Photon? How minimal can the Photon/phrelay install be to
allow a
Phindows connection?

You just need Photon, phfont and the associated fonts and some method
of launching phrelay (say, inetd) (and the shared libs etc etc)


cburgess@qnx.com

Hi Stuart,

You can check out the following link it might give some insight into this:

http://qdn.qnx.com/support/bok/solution.qnx?10298

Regards
Brenda

Stuart Harding wrote:

Where can I specify what applications I want started when the Phindows
session connects? At the moment, I connect with phindows, and then start a
pterm session from a console, specifying the -s option.
The $HOME/.ph/phapps doesn’t seem to do anything (maybe because ph is not
running?).
The phrelay log file mentions a ph.setup file - is there any doco on what
this file does?

Cheers,
Stuart

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:a4d4i8$enc$> 1@nntp.qnx.com> …

Stuart Harding <> stuart@intellidesign.com.au> > wrote:

What issues are involved in running phrelay on a remote embedded system,
which has no display hardware? Does phrelay require video hardware and
drivers in Photon? How minimal can the Photon/phrelay install be to

allow a

Phindows connection?

You just need Photon, phfont and the associated fonts and some method
of launching phrelay (say, inetd) (and the shared libs etc etc)


cburgess@qnx.com