Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145544

Summary: NXAGENT: possible problem with connecting to nxserver-freenx
Product: Gentoo Linux Reporter: Mojito Jones <mojito>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mojito
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mojito Jones 2006-08-29 18:25:00 UTC
I have been unable to connect from NX Client for Windows to a fresh install
of nxserver-freenx.  I have uninstalled and reinstalled all packages for the server and I have attempted connect from two different clients with the same results. 

rain ~ # equery list nx
[ Searching for package 'nx' in all categories among: ]
 * installed packages
 [I--] [ ~] net-misc/nx-x11-1.5.0-r8 (0)
 [I--] [ ~] net-misc/nxclient-1.5.0-r4 (0)
 [I--] [ ~] net-misc/nxcomp-1.5.0-r2 (0)
 [I--] [ ~] net-misc/nxesd-1.5.0 (0)
 [I--] [ ~] net-misc/nxserver-freenx-0.5.0.20060311-r1 (0)
 [I--] [ ~] net-misc/nxssh-1.5.0-r2 (0)


The problems shows in the logs as:

NX> 105 /usr/NX/bin/nxserver: line 1077:   714 Terminated              sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.



In trying to troubleshoot the problem, I tried running nxagent from the
command line and I got the following:

rain bin # ./nxagent
./nxagent: error while loading shared libraries: libXcompext.so.1: cannot open
shared object file: No such file or directory


It appeared to me that nxagent could not find it's libraires.  I looked in
/etc/ld.so.conf and noticed that there was no pointer to /usr/NX/lib so I
added a path to it.

I edited /etc/env.d/50nxpaths
and added
LDPATH=/usr/NX/lib

I ran env-udpate and the path showed in /etc/ld.so.conf.

now the error is:
rain ~ # nxagent
nxagent: symbol lookup error: /usr/NX/lib/libXcompext.so.1: undefined symbol:
_NXContinueOnDisplayError

I dont know if I am on the correct path or not.  From my googling the problem,
it appears that I am not the only one having this problem.

Any help would be appreciated.

EKB

--- emerge --info -----

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11-002 i686)
=================================================================
System uname: 2.6.16-hardened-r11-002 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://adelie.polymtl.ca/ http://www.gtlib.gatech.edu/pub/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.solnet.ch http://cudlug.cudenver.edu/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mirror.datapipe.net/gentoo http://ftp.du.se/pub/os/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://gentoo.netnitco.net http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.arcticnetwork.ca/ http://gentoo.chem.wisc.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.ynet.sk/pub http://ftp.heanet.ie/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.datapipe.net/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx X X509 alsa apm arts authdaemond avi berkdb bitmap-fonts bzip2 cdr cli crypt cups dlloader dri drm eds emboss encode esd extensions fam firefox foomaticdb fortran gdbm gif gnome gs gstreamer gtk gtk2 imap imlib ipv6 isdnlog jbig jpeg jpeg2k kde libg++ libwww mad mbox mikmod motif mp3 mpeg mysql ncurses nls nptl nvidia oav ogg opengl oss pam pam-mysql pcre pdflib perl pic png postfix pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_fbdev video_cards_vga video_cards_tga video_cards_mga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-30 01:19:32 UTC
Don't restrict bugs without any reason. Just leave the checkboxes alone, please.


*** This bug has been marked as a duplicate of 141074 ***