View previous topic :: View next topic |
Author |
Message |
faceman Apprentice
Joined: 10 Jan 2005 Posts: 200 Location: inter terram et caelo
|
Posted: Sun Apr 30, 2006 9:37 pm Post subject: nx session won't connect |
|
|
This is what I get when I try to connect:
Code: | NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL)
NX> 105 /usr/NX/bin/nxserver: line 1077: 26954 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open /usr/NX/var/db/running/sessionId{A627D731703B4A3D97CC2DA18FC16F50}: No such file or directory.
mv: cannot stat `/usr/NX/var/db/running/sessionId{A627D731703B4A3D97CC2DA18FC16F50}': No such file or directory
NX> 1006 Session status: closed
NX> 700 Session id: antonius-1000-A627D731703B4A3D97CC2DA18FC16F50
NX> 705 Session display: 1000
NX> 703 Session type: unix-console
NX> 701 Proxy cookie: 4b9e144966ea4d52c6c9cb6802c36388
NX> 702 Proxy IP: 192.168.0.10
NX> 706 Agent cookie: 4b9e144966ea4d52c6c9cb6802c36388
NX> 704 Session cache: unix-console
NX> 707 SSL tunneling: 0
NX> 1001 Bye.
Killed by signal 15. |
I get this trying to connect from 2 different machines to each other. The directories /usr/NX/var/db/running are there on each machine, with correct permissions.
Anybody help? _________________ www.impressusart.com |
|
Back to top |
|
|
2lt.chronic n00b
Joined: 02 Feb 2005 Posts: 52 Location: york.on.ca
|
Posted: Tue May 23, 2006 12:14 pm Post subject: |
|
|
I am getting same problem, any luck yet? |
|
Back to top |
|
|
sinterklaas n00b
Joined: 10 Feb 2003 Posts: 20
|
Posted: Wed May 24, 2006 5:27 am Post subject: |
|
|
also have the same problem since I updated to freenx-0.5.0.20060311.
Tried rolling back but even that didn't help,
I'm using a 1.4 nxclient.
Jeroen |
|
Back to top |
|
|
genus n00b
Joined: 25 Aug 2004 Posts: 53
|
Posted: Thu Jun 01, 2006 10:53 pm Post subject: |
|
|
Same error. Any luck? |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Fri Jun 02, 2006 10:09 pm Post subject: |
|
|
I had the same error. If you look at the output carefully, you'll see that 'nxagent' is failing:
Code: |
NX> 1004 Error: NX Agent exited with exit status 1.
|
When I tried executing 'nxagent' from the command line, I was getting this:
Code: |
# ./nxagent :1
./nxagent: error while loading shared libraries: libXcompext.so.1: cannot open shared object file: No such file or directory
|
but using LD_LIBRARY_PATH worked:
Code: |
LD_LIBRARY_PATH=/usr/NX/lib nxagent :1
NXAGENT - Version 1.5.0
Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Agent running with pid '18900'.
nxagentProcessOptionsFile: Option file is [(null)].
Fatal server error:
NXAGENT: Unable to open display "".
|
So like I saw in this post, I moved 'nxagent' to 'nxagent.bin' and replaced it with the following script:
Code: |
#!/bin/bash
LD_LIBRARY_PATH=/usr/NX/lib /usr/NX/bin/nxagent.bin "$@"
|
Once I did this, I was able to log in properly. _________________ Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside. |
|
Back to top |
|
|
Robzy n00b
Joined: 19 Mar 2006 Posts: 5
|
Posted: Tue Jun 06, 2006 7:43 am Post subject: |
|
|
[edit]: I have a similar problem, except it apears to be a different library that nxagent is looking for:
Code: | gentoo usr # nxagent
nxagent: error while loading shared libraries: libXcomp.so.1: cannot open shared object file: No such file or directory
gentoo usr #
|
Could this be because i dont have "nxssh" installed? (I didnt have the 'nxclient' use flag set so i didnt need it)
I would have "nxssh", though, but trying to emerge it results in error:
Code: | gcc -g -O3 -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -I/usr/NX/include -c readpass.c
packet.c:94:16: NX.h: No such file or directory
gcc -g -O3 -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -I/usr/NX/include -c rsa.c
make: *** [packet.o] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: net-misc/nxssh-1.5.0-r2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! emake nxssh failed
!!! If you need support, post the topmost build error, NOT this status message.
gentoo usr #
|
Any help is more than welcome, and very much so apreciated
[edit]: What do you know? All because i didnt have "nxcomp" installed! All working now.... beautifully too.
Thanks,
Rob. |
|
Back to top |
|
|
RyoHazuki n00b
Joined: 16 Nov 2004 Posts: 39 Location: Tokyo, Japan
|
Posted: Thu Jun 15, 2006 2:52 am Post subject: |
|
|
Hi Mates,
I am also trying to set up my FreeNX and I encounter similar problems.
However, when I was about to try to execute the nxagent manually, I notice
it simple do not exist on my system.
I also tried to search for it using the equery utility and could not locate it at all.
Code: | [ebuild R ] net-misc/nx-x11-1.5.0-r8 USE="-rdesktop -vnc" 0 kB
[ebuild R ] net-misc/nxserver-freenx-0.5.0.20060311-r1 USE="cups nxclient -arts -esd" 0 kB
[ebuild R ] net-misc/nxclient-1.5.0-r4 USE="-xft" 0 kB
[ebuild R ] net-misc/nxssh-1.5.0-r2 USE="pam tcpd -ipv6" 0 kB
[ebuild R ] net-misc/nxcomp-1.5.0-r2 0 kB |
This is what I have currently installed on my system.
I am using AMD64 arch just in case.
Any one have any clues?
Cheers,
Ryo.
PS. Sorry for my english. |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Thu Jun 15, 2006 3:34 am Post subject: |
|
|
I don't think that NX is in your path by default. Try checking '/usr/NX/bin'. _________________ Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside. |
|
Back to top |
|
|
RyoHazuki n00b
Joined: 16 Nov 2004 Posts: 39 Location: Tokyo, Japan
|
Posted: Thu Jun 15, 2006 4:01 am Post subject: |
|
|
nahpets wrote: | I don't think that NX is in your path by default. Try checking '/usr/NX/bin'. |
I have double checked that.
NX is indeed not in my path, yet, the nxagent binary do not exist on my system.
Code: | total 5749
drwxr-xr-x 2 root root 352 Jun 15 11:33 .
drwxr-xr-x 9 root root 240 Jun 15 11:34 ..
-rwxr-xr-x 1 root root 33696 Jun 13 17:51 nxauth
-rwxr-xr-x 1 root root 5341748 Jun 13 17:36 nxclient
-rwxr-xr-x 1 root root 67856 Jun 13 17:30 nxesd
-rwxr-xr-x 1 root root 2093 Jun 13 17:30 nxesddsp
-rwxr-xr-x 1 nx root 1784 Jun 13 17:51 nxkeygen
-rwxr-xr-x 1 nx root 21663 Jun 13 17:51 nxloadconfig
-rwxr-xr-x 1 nx root 26768 Jun 13 17:51 nxnode
-rwxr-xr-x 1 nx root 1705 Jun 13 17:51 nxnode-login
-rwxr-xr-x 1 root root 6916 Jun 13 17:36 nxprint
-rwxr-xr-x 1 nx root 40285 Jun 13 17:51 nxserver
-rwxr-xr-x 1 nx root 17511 Jun 13 17:51 nxsetup
-rwxr-xr-x 1 root root 291104 Jun 15 11:33 nxssh
|
|
|
Back to top |
|
|
Tlaloc Guru
Joined: 21 Feb 2005 Posts: 451 Location: Europe - Alps - Tyrol
|
Posted: Tue Jun 20, 2006 9:10 pm Post subject: |
|
|
nahpets wrote: | I had the same error. If you look at the output carefully, you'll see that 'nxagent' is failing:
Code: |
NX> 1004 Error: NX Agent exited with exit status 1.
|
When I tried executing 'nxagent' from the command line, I was getting this:
Code: |
# ./nxagent :1
./nxagent: error while loading shared libraries: libXcompext.so.1: cannot open shared object file: No such file or directory
|
but using LD_LIBRARY_PATH worked:
Code: |
LD_LIBRARY_PATH=/usr/NX/lib nxagent :1
NXAGENT - Version 1.5.0
Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Agent running with pid '18900'.
nxagentProcessOptionsFile: Option file is [(null)].
Fatal server error:
NXAGENT: Unable to open display "".
|
So like I saw in this post, I moved 'nxagent' to 'nxagent.bin' and replaced it with the following script:
Code: |
#!/bin/bash
LD_LIBRARY_PATH=/usr/NX/lib /usr/NX/bin/nxagent.bin "$@"
|
Once I did this, I was able to log in properly. |
I installed nx-x11-bin instead of nx-x11 and the problem was gone for me.
Code: | net-misc/nx-x11
selected: 1.5.0-r8
protected: none
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging net-misc/nx-x11-1.5.0-r8...
No package files given... Grabbing a set.
<<< obj /usr/NX/lib/libXrender.so.1.2
<<< obj /usr/NX/lib/libXext.so.6.4
<<< obj /usr/NX/lib/libXcompext.so.1.5.0
<<< obj /usr/NX/lib/libX11.so.6.2
<<< obj /usr/NX/bin/nxauth
<<< obj /usr/NX/bin/nxagent
--- !empty dir /usr/NX/lib
--- !empty dir /usr/NX/bin
--- !empty dir /usr/NX
--- !empty dir /usr
>>> Regenerating /etc/ld.so.cache...
* GNU info directory index is up-to-date.
|
Code: | >>> Merging net-misc/nx-x11-bin-1.5.0 to /
--- /usr/
--- /usr/NX/
--- /usr/NX/bin/
>>> /usr/NX/bin/nxauth
>>> /usr/NX/bin/nxagent
--- /usr/NX/lib/
>>> /usr/NX/lib/libXext.so.6.4
>>> /usr/NX/lib/libXcompext.so.1.5.0
>>> /usr/NX/lib/libX11.so.6.2
>>> /usr/NX/lib/libXrender.so.1.2
>>> /usr/NX/lib/libXcompext.so -> libXcompext.so.1.5.0
>>> /usr/NX/lib/libX11.so -> libX11.so.6.2
>>> /usr/NX/lib/libXcompext.so.1 -> libXcompext.so.1.5.0
>>> /usr/NX/lib/libXrender.so.1 -> libXrender.so.1.2
>>> /usr/NX/lib/libXext.so.6 -> libXext.so.6.4
>>> /usr/NX/lib/libXext.so -> libXext.so.6.4
>>> /usr/NX/lib/libXrender.so -> libXrender.so.1.2
>>> /usr/NX/lib/libX11.so.6 -> libX11.so.6.2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
>>> Original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> net-misc/nx-x11-bin-1.5.0 merged.
>>> Recording net-misc/nx-x11-bin in "world" favorites file...
|
Bye, Val. |
|
Back to top |
|
|
kjelle n00b
Joined: 05 Jul 2006 Posts: 16 Location: Norway, Lillehammer
|
Posted: Fri Jul 07, 2006 9:24 am Post subject: Problem connecting to NXFree 1.5.0 from WindowsXP |
|
|
I'v been searching the net (forums.gentoo.org and google generally) without any luck.
I'm connected to my box through SSH. Im running KDE 3.5.
Lets give some info about my system.
Quote: | hunter ~ # emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
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-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no http://mirror.gentoo.se ftp://mirror.pudas.net/gentoo/ http://mirror.pudas.net/gentoo/"
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.se/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd dvdr eds emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 imap imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nptl opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl server session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
Quote: | hunter ~ # nxserver --status
NX> 100 NXSERVER - Version 1.5.0-50-SVN OS (GPL)
NX> 110 NX Server is running
NX> 999 Bye
|
Quote: | * net-misc/nx-x11
Latest version available: 1.5.0-r8
Latest version installed: [ Not Installed ]
Size of files: 32,856 kB
Homepage: http://www.nomachine.com/developers.php
Description: A special version of the X11 libraries supporting NX compression technology
License: GPL-2
* net-misc/nx-x11-bin
Latest version available: 1.5.0
Latest version installed: 1.5.0
Size of files: 2,599 kB
Homepage: http://www.nomachine.com/
Description: A special version of the X11 libraries supporting NX compression technology
License: GPL-2
* net-misc/nxclient
Latest version available: 1.5.0-r4
Latest version installed: [ Not Installed ]
Size of files: 6,521 kB
Homepage: http://www.nomachine.com
Description: NXClient is a X11/VNC/NXServer client especially tuned for using remote desktops over low-bandwidth links such as the Internet
License: as-is
* net-misc/nxcomp
Latest version available: 1.5.0-r2
Latest version installed: 1.5.0-r2
Size of files: 513 kB
Homepage: http://www.nomachine.com/
Description: X11 protocol compression library
License: GPL-2
* net-misc/nxesd
Latest version available: 1.5.0
Latest version installed: [ Not Installed ]
Size of files: 647 kB
Homepage: http://www.nomachine.com/
Description: Modified esound server, used by nxclient
License: GPL-2
* net-misc/nxproxy
Latest version available: 1.5.0-r2
Latest version installed: 1.5.0-r2
Size of files: 71 kB
Homepage: http://www.nomachine.com/
Description: X11 protocol compression library wrapper
License: GPL-2
* net-misc/nxserver-freenx
Latest version available: 0.5.0.20060311-r1
Latest version installed: 0.5.0.20060311-r1
Size of files: 49 kB
Homepage: http://freenx.berlios.de/
Description: An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as wireless, WANS, and worse
License: GPL-2
* net-misc/nxssh
Latest version available: 1.5.0-r2
Latest version installed: 1.5.0-r2
Size of files: 847 kB
Homepage: http://www.nomachine.com/
Description: Modified openssh client, used by nxclient
License: as-is |
Quote: | hunter ~ # cat /usr/NX/etc/node.conf | grep -v ^#
ENABLE_PASSDB_AUTHENTICATION="1"
ENABLE_SSH_AUTHENTICATION="1"
ENABLE_USER_DB="1"
NX_LOG_LEVEL=6
NX_LOG_SECURE=1
NX_LOGFILE=/var/log/nxserver.log
DEFAULT_X_SESSION=/etc/X11/Sessions/kde-3.5
COMMAND_START_KDE=startkde
COMMAND_XAUTH=/usr/bin/xauth
PROXY_TCP_NODELAY="1"
ENABLE_1_5_0_BACKEND="1" |
Quote: | hunter ~ # nxagent :1000
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
NXAGENT - Version 1.5.0
Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Agent running with pid '9438'.
nxagentVerifyDefaultFontPath: WARNING! Can't find a valid font directory.
nxagentVerifyDefaultFontPath: WARNING! Using font path [/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/TTF/].
nxagentProcessOptionsFile: Option file is [(null)].
Fatal server error:
NXAGENT: Unable to open display "".
|
Client log
Quote: | NX> 203 NXSSH running with pid: 3404
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 127.0.0.1 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: kjelle
NX> 102 Password:
NX> 103 Welcome to: hunter user: kjelle
NX> 105 listsession --user="kjelle" --status="suspended,running" --geometry="1280x1024x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'kjelle' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: kjelle
NX> 105 startsession --link="adsl" --backingstore="when_requested" --nodelay="1" --cache="32M" --images="128M" --media="0" --session="LianLi" --type="unix-kde" --geometry="1024x768" --kbtype="pc102/us" --screeninfo="1024x768x32+render"
NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL)
NX> 105 /usr/NX/bin/nxserver: line 1077: 9573 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
NX> 1006 Session status: closed
NX> 700 Session id: hunter-1000-86A3D9335E74C53208FC1A125932EEE1
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 9418120a1f8a007e8837fba5c55db919
NX> 702 Proxy IP: 10.0.0.120
NX> 706 Agent cookie: 9418120a1f8a007e8837fba5c55db919
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 0
rm: cannot remove `/tmp/.X11-unix/X1000': Operation not permitted
rm: cannot remove `/tmp/.X11-unix/X1000': Operation not permitted
Can't open /usr/NX/var/db/running/sessionId{86A3D9335E74C53208FC1A125932EEE1}: No such file or directory.
mv: cannot stat `/usr/NX/var/db/running/sessionId{86A3D9335E74C53208FC1A125932EEE1}': No such file or directory
Killed by signal 15.
|
Quote: | hunter ~ # cat /usr/NX/var/db/failed/sessionId\{86A3D9335E74C53208FC1A125932EEE1\}
sessionName=LianLi
display=1000
status=Failed
startTime=1152270792
foreignAddress=10.0.0.120
sessionRootlessMode=0
type=unix-kde
sessionId=86A3D9335E74C53208FC1A125932EEE1
creationTime=1152270792
userName=kjelle
serverPid=
screeninfo=1024x768x32+render
geometry=1024x768
host=127.0.0.1
|
So.. Any clues as to why my 'nxagent' is failing?
Quote: | NX> 105 /usr/NX/bin/nxserver: line 1077: 9573 Terminated sleep $AGENT_STARTUP_TIMEOUT |
Edited:
I also added some more to node.conf:
AGENT_STARTUP_TIMEOUT="60"
Then running "nxloadconfig" and "nxserver --restart"
It didnt take any longer for the client to fail.
Thanks for any advice! |
|
Back to top |
|
|
gami Apprentice
Joined: 02 Jun 2006 Posts: 297
|
Posted: Fri Jul 07, 2006 2:07 pm Post subject: Re: Problem connecting to NXFree 1.5.0 from WindowsXP |
|
|
kjelle wrote: |
Quote: | hunter ~ # nxagent :1000
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
NXAGENT - Version 1.5.0
Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Agent running with pid '9438'.
nxagentVerifyDefaultFontPath: WARNING! Can't find a valid font directory.
nxagentVerifyDefaultFontPath: WARNING! Using font path [/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/TTF/].
nxagentProcessOptionsFile: Option file is [(null)].
Fatal server error:
NXAGENT: Unable to open display "".
|
|
A lot of people (myself included) have been / will be bitten by this after an upgrade to Xorg 7. Fonts under Xorg 7 are no longer stored in /usr/X11R6/lib/X11/fonts. Unfortunately some of the NX software has a hardcoded path to the old locations in it.
I needed to manually set a symlink to the old font directory and also to the location of the keyboard layouts and the RGB database.
Code: | ln -s /usr/share/fonts /usr/X11R6/lib/X11/fonts
ln -s /usr/share/X11/xkb /usr/X11R6/lib/X11/xkb
ln -s /usr/share/X11/rgb.txt /usr/X11R6/lib/X11/rgb.txt |
|
|
Back to top |
|
|
kjelle n00b
Joined: 05 Jul 2006 Posts: 16 Location: Norway, Lillehammer
|
Posted: Mon Jul 10, 2006 8:24 am Post subject: Re: Problem connecting to NXFree 1.5.0 from WindowsXP |
|
|
gami wrote: |
I needed to manually set a symlink to the old font directory and also to the location of the keyboard layouts and the RGB database.
Code: | ln -s /usr/share/fonts /usr/X11R6/lib/X11/fonts
ln -s /usr/share/X11/xkb /usr/X11R6/lib/X11/xkb
ln -s /usr/share/X11/rgb.txt /usr/X11R6/lib/X11/rgb.txt |
|
Thanks. That really worked!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|