SocketCreateListener() ?!?

When I try to start xdm, I get the following message:

_XSERVTransSocketINETCreateListener: …SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

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

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file “/var/log/XFree86.0.log”.
Please report problems to xfree86@xfree86.org.

xdm error (pid 5627953): server unexpectedly died
xdm error (pid 5627953): Server for display :0 can’t be started, session
disabled



Does anybody know what’s wrong?

Thanks,
Alain.

are you running xfree as your base gui?
I don’t think xdm will work with photon or xphoton.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

When I try to start xdm, I get the following message:

_XSERVTransSocketINETCreateListener: …SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

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

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file “/var/log/XFree86.0.log”.
Please report problems to > xfree86@xfree86.org> .

xdm error (pid 5627953): server unexpectedly died
xdm error (pid 5627953): Server for display :0 can’t be started, session
disabled



Does anybody know what’s wrong?

Thanks,
Alain.

My public key can be found at
http://mama.indstate.edu/users/liug/key.txt

LiuG a écrit :

are you running xfree as your base gui?
I don’t think xdm will work with photon or xphoton.

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
When I try to start xdm, I get the following message:

_XSERVTransSocketINETCreateListener: …SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

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

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file “/var/log/XFree86.0.log”.
Please report problems to > xfree86@xfree86.org> .

xdm error (pid 5627953): server unexpectedly died
xdm error (pid 5627953): Server for display :0 can’t be started, session
disabled

Does anybody know what’s wrong?

Thanks,
Alain.

My public key can be found at
http://mama.indstate.edu/users/liug/key.txt

I tried to start X and I get the same problem about SocketCreateListener()!

Any idea?
Thanks
Alain.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

I tried to start X and I get the same problem about SocketCreateListener()!

so you are on a text console (with no photon running in the background),
and you have tcpip running,
and you configured X,
and you “startx”,
and you get
SocketCreateListener error ?

post your x config file in /etc/X11

LiuG a écrit :

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:

I tried to start X and I get the same problem about SocketCreateListener()!

so you are on a text console (with no photon running in the background),

Oups ok, understand that it be impossible to start 2 graphics server on the same
console.
I didn’t believe that the error could happen on SocketCreatelistener.
I tried in text mode and now, the error happen on the graphic card init. I’ll
check it.
Just one question about X config: What to give for mouse access? Do we have to
start a special mouse driver to have a /dev/mouse?

Back to my original problem!
I think that it could be possible to run photon and vncserver as we run a X
server without graphic chip access.
Anyway, I tried in text mode to start xdm. no error but unable to get a login
window on the viewer (NT).
I tried xdm -debug 1 and I get the same error about SocketCreateListener!
I don’t know why does it try to start a X server on display 0 as the line
DisplayManager.server is commented. According to the doc it should only listen
for XDMCP requests!
After that it display ‘waiting for something’ but start a viewer does nothing!

Any idea?

Thanks
Alain.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

Oups ok, understand that it be impossible to start 2 graphics server on the same
console.
I didn’t believe that the error could happen on SocketCreatelistener.
I tried in text mode and now, the error happen on the graphic card init. I’ll
check it.
Just one question about X config: What to give for mouse access? Do we have to
start a special mouse driver to have a /dev/mouse?

join the openqnx mailing list on specific questions on the XFree86 setup.

Back to my original problem!
I think that it could be possible to run photon and vncserver as we run a X
server without graphic chip access.

yes, you can photon and vncserver. but xdm is a different story.

Anyway, I tried in text mode to start xdm. no error but unable to get a login
window on the viewer (NT).

I’ve never tried xdm with vncserver (why would you need that? vncserver/client
has its own logon/auth screen). that’s why I suggested posting to vnc
mailing list to see if this is possible at all.

I tried xdm -debug 1 and I get the same error about SocketCreateListener!
I don’t know why does it try to start a X server on display 0 as the line

that explains the error. photon/xphoton alreadys listens at display 0 (6000)
so you get the SocketCreateListener error.

DisplayManager.server is commented. According to the doc it should only listen
for XDMCP requests!

My guess is xdm needs to start the graphics (X server) and then attache
itself as a X client.

After that it display ‘waiting for something’ but start a viewer does nothing!
Any idea?

again I would suggest checking with the vnc mailing list to make sure
it is possible to run xdm with vnc before spending lots of time.



Thanks
Alain.

My public key can be found at
http://mama.indstate.edu/users/liug/key.txt

LiuG a écrit :

[cut]

I’ve never tried xdm with vncserver (why would you need that? vncserver/client
has its own logon/auth screen). that’s why I suggested posting to vnc
mailing list to see if this is possible at all.

its own logon if you start vncserver on dedicated display number and then start
vncviewer on this display.
But, I want to start vncserver through inetd. In that case, I need xdm!

[cut]

I’m going to see the mailing lists.

Thanks a lot,
Alain