Connection refused AND xrdb: Can’t open display ‘:1002’

Asked By 20 points N/A Posted on -
qa-featured

Hello all!

Via FreeNX/NX, I’m going to log into LXDE workstation. My system is upgraded to 12.1 from 11.4. The users on 11.4 are unable to login when new users are formed after the upgrade process. NX authentication process is finished successfully and the M windows disappear after 3 or 4 seconds. Searched for the ~/.nx/C-host-xxxx/sessions file displays the following errors below. A core file also appeared in the user’s home directory. I failed to analyze it.

Info: Established X client connection.
Info: Using shared memory parameters 1/1/0/0K.
*** glibc detected *** /usr/lib/NX/nxagent: free(): invalid pointer: 0x084f0e48
***
======= Backtrace: =========
/lib/libc.so.6(+0x6ed8b)[0xb73a0d8b]
/lib/libc.so.6(cfree+0x9b)[0xb73a528b]
/usr/lib/NX/nxagent[0x80b4830]
/usr/lib/NX/nxagent[0x80b5c5e]
/usr/lib/NX/nxagent[0x80c2e9d]
/usr/lib/NX/nxagent[0x80543c9]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb734b003]
/usr/lib/NX/nxagent[0x8054cd9]
======= Memory map: ========

Warning: Parent process appears to be dead. Exiting keeper.

xrdb: Connection refused

xrdb: Can't open display ':1002'

Help needed to get rid of it.
Thanks

SHARE
Best Answer by Mayank Pilas
Best Answer
Best Answer
Answered By 0 points N/A #91670

Connection refused AND xrdb: Can’t open display ‘:1002’

qa-featured
I would like to ask you if you have x11-xserver-utils already been installed?
 
If you are having this, then try to eliminate freenx-session-launcher and continue a session.
 
If after a session it further print “NXAGENT”
 
1-"/usr/lib/nx/nxagent" need not be present. nxagent package put nxagent at
/usr/bin/
     If you  are having this, try to remove.
 
2-After that when you have already removed "$which nxagent"then there must be printed "/usr/bin/nxagent".
 
3-You need to try to washout freenx-* packages, clear all last installations by removing them (ex.
/usr/lib/nx/*)
     and install back.
 
If you have replaced all last versions of freenx and put in the index /usr/lib/nx/,
then again install  freenx-server.
If the link is still not practical, the attached session log is short (attached).
 
Please finish with
$nxloadconfig –and then try HELP
 
I hope you will not be stuck in this problem again and this will really help you out.
 
Feel free to ask.
Answered By 0 points N/A #91671

Connection refused AND xrdb: Can’t open display ‘:1002’

qa-featured

Hello Honey,

If you are unable to access the display 1002, you will need to check if there isn't a lock to that display that could have been put in an older session. You could maybe try changing the DISPLAY_BASe in the node.conf which by default is 1000 to something different, for instance 2000. After that you will need to restart the NX server and then check what will happen in the event that a client tries accessing the display 2000+n.

Another thing that you need to try is connecting as the same user, the one you are unable to connect with, but from a different computer and see how that works.

Regards,

Carl

Login/Register to Answer

Related Questions