Launching Xphoton

I installed QNX RTP, I installed the Xphoton package but I can not launch
Xphoton; I have the following output:

_XSERVTransSocketOpen: socket() failed for tcp
_XSERVTransSocketOpenCOTSServer: Unable to open socket for tcp
_XSERVTransOpen: transport open failed for tcp/oemcomputer:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for tcp

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn’t already
running

I tried in a Photon session and in a console session (without Photon) but I
have the same errors.
Is there a file to configure before launching Xphoton ?
Thanks

In article <9301pj$et8$1@inn.qnx.com>,
Jean-Louis MEYRIAL <jlmeyrial@infonie.fr> wrote:

I installed QNX RTP, I installed the Xphoton package but I can not launch
Xphoton; I have the following output:

_XSERVTransSocketOpen: socket() failed for tcp
_XSERVTransSocketOpenCOTSServer: Unable to open socket for tcp
_XSERVTransOpen: transport open failed for tcp/oemcomputer:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for tcp

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn’t already
running

I tried in a Photon session and in a console session (without Photon) but I
have the same errors.
Is there a file to configure before launching Xphoton ?
Thanks

My guess is that you aren’t running io-net
Xphoton only accepts tcp connections, so it fails
if it can’t get a listening socket.
The only other thing I can think of is that
another program has claimed the X tcp port (6000)
Try ‘netstat -a’ or ‘cat /proc/ipstats’ to check


Garry Turcotte (R&D)
QNX Software Systems, Ltd.

Thanks a lot
I have no ethernet card; I tried the following commands in a phterm:
io-net -p ttcpip if=ppp0:localhost
and I launched
xphoton_start
And wonderful, when I run ps, I see Xphoton and I can run xterm

Other questions:
Is it possible to have scrollbars in a pterm?
Is it possible to see the exact contents (all names of files) of repositary
QNX packages with “Package manager”?
Does it exist man or help when these packages are installed? (for example, I
cann’t see man or helpfiles for Xphoton or man xterm)
Does it exist bibliography or doc for QNX users?

Garry Turcotte <garry@qnx.com> a écrit dans le message :
93027p$fqp$1@nntp.qnx.com

In article <9301pj$et8$> 1@inn.qnx.com> >,
Jean-Louis MEYRIAL <> jlmeyrial@infonie.fr> > wrote:
I installed QNX RTP, I installed the Xphoton package but I can not launch
Xphoton; I have the following output:

_XSERVTransSocketOpen: socket() failed for tcp
_XSERVTransSocketOpenCOTSServer: Unable to open socket for tcp
_XSERVTransOpen: transport open failed for tcp/oemcomputer:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for tcp

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn’t
already
running

I tried in a Photon session and in a console session (without Photon) but
I
have the same errors.
Is there a file to configure before launching Xphoton ?
Thanks

My guess is that you aren’t running io-net
Xphoton only accepts tcp connections, so it fails
if it can’t get a listening socket.
The only other thing I can think of is that
another program has claimed the X tcp port (6000)
Try ‘netstat -a’ or ‘cat /proc/ipstats’ to check


Garry Turcotte (R&D)
QNX Software Systems, Ltd.

Jean-Louis MEYRIAL <jlmeyrial@infonie.fr> wrote:

Thanks a lot
I have no ethernet card; I tried the following commands in a phterm:
io-net -p ttcpip if=ppp0:localhost
and I launched
xphoton_start
And wonderful, when I run ps, I see Xphoton and I can run xterm

Other questions:
Is it possible to have scrollbars in a pterm?

I don’t think you can, but you can use “ctl-alt, up/down arrows” to scroll
back and fourth. However there is limits to this, depending on how much
buffer space you set in your pterm.



Is it possible to see the exact contents (all names of files) of repositary
QNX packages with “Package manager”?

Don’t think so, but someone who did the Package Manager would have to confirm.

Does it exist man or help when these packages are installed? (for example, I
cann’t see man or helpfiles for Xphoton or man xterm)

I am not sure what you mean. I am guessing but it sounds like you want help
pages. In QNX the equvalent of “man” is “use”

e.g. use pterm



Does it exist bibliography or doc for QNX users?

If you are looking for docs you can find em under “Help” or online
at:

http://qdn.qnx.com/support/docs/index.html

Take care!

Erick.