Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128530 - nxserver-freenx session startup fails
Summary: nxserver-freenx session startup fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 08:55 UTC by trendzetter
Modified: 2006-11-04 16:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trendzetter 2006-04-02 08:55:44 UTC
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1JorisWillemsEdition i686)
=================================================================
System uname: 2.6.15-gentoo-r1JorisWillemsEdition i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
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=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/mnt/floppy/joris/gentoo/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.easynet.nl/mirror/gentoo ftp://ftp.easynet.nl/mirror/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo http://ds.thn.htu.se/linux/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo"
LINGUAS="nl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts browserplugin bzip2 cairo cdr crypt cups curl dri dvb dvd dvdr eds emboss encode esd exif expat fam firefox foomaticdb fortran gd gdbm gif glitz glut gnome gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib jack java jpeg junit kde lcms libg++ libwww mad mhash mikmod mng mono motif mozilla mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png python quicktime readline recode ruby samba sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vhosts vorbis win32codecs xine xml2 xmms xv zlib linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS


I am getting the following in my nxserver log:
-- NX SERVER START: -c /usr/NX/bin/nxserver - ORIG_COMMAND=
HELLO NXSERVER - Version 1.5.0-50-SVN OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: joris
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 103 Welcome to: tux.amazingthings.be user: joris
NX> 105 listsession --user="joris" --status="suspended,running" --geometry="1024x768x24+render" --type="unix-gnome"
NX> 127 Sessions list of user 'joris' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: joris
NX> 105 startsession --session="nieuwe" --type="unix-gnome" --cache="8M" --images="32M" --link="lan" --kbtype="pc102/be" --nodelay="1" --backingstore="never" --geometry="1024x737" --media="0" --agent_server="" --agent_user="" agent_password="******""  --screeninfo="1024x737x24+render"

&session=nieuwe&type=unix-gnome&cache=8M&images=32M&link=lan&kbtype=pc102/be&nodelay=1&backingstore=never&geometry=1024x737&media=0&agent_server=&agent_user=&agent_password=******&screeninfo=1024x737x24+render&clientproto=1.5.0&user=joris&userip=192.168.1.8&uniqueid=DF78D14CEFCFB27C45B531A9419159B2&display=1015
Password:
NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL)
NX> 700 Session id: tux.amazingthings.be-1015-DF78D14CEFCFB27C45B531A9419159B2
NX> 705 Session display: 1015
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 9745e9ff28fe2928e6edf7e5eb63b8af
NX> 702 Proxy IP: 192.168.1.8
NX> 706 Agent cookie: 9745e9ff28fe2928e6edf7e5eb63b8af
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 1004 Error: Session did not start.
NX> 504 Session startup failed.
NX> 999 Bye
NX> 1004 Error: nxagent failed to start. Session timed out.
                Blocking 1015 again ...
NX> 1001 Bye.


On the client I have the following:
NX> 203 NXSSH running with pid: 4695
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 192.168.1.6 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-50-SVN OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: joris
NX> 102 Password: 
NX> 103 Welcome to: tux.amazingthings.be user: joris
NX> 105 listsession --user="joris" --status="suspended,running" --geometry="1024x768x24+render" --type="unix-gnome"
NX> 127 Sessions list of user 'joris' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: joris
NX> 105 startsession --session="nieuwe" --type="unix-gnome" --cache="8M" --images="32M" --link="lan" --kbtype="pc102/be" --nodelay="1" --backingstore="never" --geometry="1024x737" --media="0" --agent_server="" --agent_user="" agent_password="******""  --screeninfo="1024x737x24+render" 

NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL)
NX> 700 Session id: tux.amazingthings.be-1015-DF78D14CEFCFB27C45B531A9419159B2
NX> 705 Session display: 1015
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 9745e9ff28fe2928e6edf7e5eb63b8af
NX> 702 Proxy IP: 192.168.1.8
NX> 706 Agent cookie: 9745e9ff28fe2928e6edf7e5eb63b8af
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 1004 Error: Session did not start.
NX> 504 Session startup failed.
NX> 999 Bye
Killed by signal 15.
Comment 1 Jon 2006-04-03 18:59:00 UTC
Hi,

Sorry it took so long to reply.

Are you using the FreeNX 0.5.0 ebuild from portage or the overlay I created? Are you using Xorg 7?

If you are using the ebuild from portage and you are using Xorg 7, type this command as root:
ln -s /usr/share/fonts /usr/X11R6/lib/X11/font
And then this is a know issue and has been corrected in the overlay. :)

If not, then I need to think on this some more. :(

Cheers
Comment 2 trendzetter 2006-04-04 13:08:57 UTC
I am not running xorg 7.0 but 6.8.

ln -s /usr/share/fonts /usr/X11R6/lib/X11/font 

solves the problem for me!

Thanks,
Joris Willems
Comment 3 trendzetter 2006-04-04 13:46:45 UTC
Sorry. I almost forgot I downgraded nxserver to 0.2.8. Upgrading back now!
Do I need xorg 7.0 ?
Comment 4 Jon 2006-04-04 14:04:58 UTC
(In reply to comment #3)
> Sorry. I almost forgot I downgraded nxserver to 0.2.8. Upgrading back now!
> Do I need xorg 7.0 ?
> 
No. You don't need xorg7. :) You can have either xorg 6.8/9 or xorg7. ^^ I was asking, because there are know issues with xorg7, but have recently been fixed. ;)

Cheers
Comment 5 trendzetter 2006-04-04 14:58:44 UTC
nxserver-freenx is 0.5.0 from the ebuild is working really great now. It seems a lot faster!
Thanks
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2006-05-01 13:58:15 UTC
Jon,

Do you know if this bug is definitely fixed by the latest packages?

Best regards,
Stu
Comment 7 Jon 2006-05-01 14:25:18 UTC
It should be. I think it was already solved.

(In reply to comment #6)
> Jon,
> 
> Do you know if this bug is definitely fixed by the latest packages?
> 
> Best regards,
> Stu
> 

Comment 8 Andrew Askew 2006-06-05 17:35:48 UTC
I am also seeing what appears to be the same problem.  I have just installed a gentoo system from scratch so I don't have any old packages or dependancies around.  None of my other packages are ~86. In effect I did:

emerge kde
emerge nxserver-freenx
emerge nxproxy

I turned on some debugging and got a number of errors appear in the /home/user/.nx/C*/session files.

To start with I added /usr/NX/lib/libXcompext.so.1 -> libXcompext.so.1.5.0 because it was complaining about libXcompext.so.1 not being present.

Afterwards I get:
/usr/NX/bin/nxagent: symbol lookup error: /usr/NX/lib/libXcompext.so.1: undefined symbol: _NXContinueOnDisplayError
xsetroot:  unable to open display 'unix:1000'
xset:  unable to open display "unix:1000"
...

or:
/usr/NX/bin/nxviewer: symbol lookup error: /usr/NX/lib/libXcompext.so.1: undefined symbol: _NXContinueOnDisplayError

or:
/usr/NX/bin/nxdesktop: symbol lookup error: /usr/NX/lib/libXcompext.so.1: undefined symbol: _NXContinueOnDisplayError

Is this a build bug or a dependancy bug or am I missing some ~86 setting on another package?

package.keywords:
net-misc/nxproxy ~x86
net-misc/nxssh ~x86
net-misc/nxesd ~x86
net-misc/nxclient ~x86
net-misc/nxcomp ~x86
net-misc/nx-x11 ~x86
net-misc/nxserver-freenx ~x86

package.use:
net-misc/nxserver-freenx nxclient
net-misc/nx-x11 rdesktop vnc

emerge nxserver-freenx-0.5.0.20060311-r1
(nxssh-1.5.0-r2)
(nxesd-1.5.0)
(nxclient-1.5.0-r4)
(nxcomp-1.5.0-r2)
(nx-x11-1.5.0-r8)
(nxproxy-1.5.0-r2)

emerge --info:
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
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-r1
sys-devel/binutils:  2.16.1-r2
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=athlon-xp -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB@euro"
LC_ALL="en_GB@euro"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 idn imlib ipv6 isdnlog java jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv zlib linguas_en linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 9 Andrew Askew 2006-06-11 10:46:31 UTC
After looking around some more, my problem appears to be due to nx-x11-1.5.0-r8 and solved by http://bugs.gentoo.org/show_bug.cgi?id=133874.
Comment 10 Stuart Herbert (RETIRED) gentoo-dev 2006-11-04 16:33:11 UTC
Hi,

The missing symbol is actually caused by a clash between the real libX11 and NX's custom libX11.  I've created new packages in the NX overlay which solve this problem.  The new packages will be added to Portage as soon as possible.

Best regards,
Stu