[FreeNX-kNX] Client has Problems on Login
Daniel Rindt
daniel at rindt.name
Wed Nov 14 20:31:24 UTC 2007
Am Mittwoch, den 14.11.2007, 02:49 +0100 schrieb Fabian Franz:
> Well now NX Agent exits due to some reason.
> One reason might be that it cannot start the gnome-session, KDE,
> whatever.
>
> If so nxloadconfig --check might help or using a custom command like
> xterm, when xterm is installed.
Fabian,
i had tested a local login it works. This is a fresh Installation with
defaults of F8.
I issued the command as you requested for checking:
=== 8< ===
[root at nxserver ~]# su - drindt
[drindt at nxserver ~]$ /usr/libexec/nx/nxloadconfig --check
Error: Invalid value "NX_SESS_DIR=/var/lib/nxserver/db"
Error: Invalid value "NX_HOME_DIR=/var/lib/nxserver/home"
Warning: Invalid value "NX_LOGFILE=/var/log/nx/nxserver.log"
No logfile will be kept.
Warning: Invalid value
"COMMAND_FOOMATIC=/usr/lib/cups/driver/foomatic-ppdfile"
Users will not be able to use foomatic.
Warning: "/usr/lib/cups/backend/nxipp" is not executable.
Users will not be able to enable printing.
Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
Users might not be able to request a default X session.
Warning: Invalid value "COMMAND_START_KDE=startkde"
Users will not be able to request a KDE session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able
to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able
to use SAMBA.
Errors occured during config check.
Please correct the configuration file.
=== 8< ===
That i found in the log now:
=== 8< ===
-- NX SERVER START: - ORIG_COMMAND=
HELLO NXSERVER - Version 1.5.0-70 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: drindt
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 103 Welcome to: nxserver user: drindt
NX> 105 listsession --user="drindt" --status="suspended,running"
--geometry="1024x768x24+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'drindt' for reconnect:
Display Type Session ID Options Depth
Screen Status Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: drindt
NX> 105 startsession --link="adsl" --backingstore="1" --encryption="1"
--cache="16M" --images="64M" --media="0" --session="Office (extern)"
--type="unix-gnome" --geometry="1024x718" --fullscreen="1"
--kbtype="pc105/de" --screeninfo="1024x768x24+render+fullscreen"
&link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&media=0&session=Office (extern)&type=unix-gnome&geometry=1024x718&fullscreen=1&kbtype=pc105/de&screeninfo=1024x768x24+render+fullscreen&clientproto=1.5.0&user=drindt&userip=79.198.78.226&uniqueid=39D9A17772934D7678953B2AF548DD4C&display=1000&host=127.0.0.1
drindt at 127.0.0.1's password:
NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
server_nxnode_echo: NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
NX> 700 Session id: nxserver-1000-39D9A17772934D7678953B2AF548DD4C
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 702944a92307f5e7ea86e439f687f054
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 702944a92307f5e7ea86e439f687f054
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 700 Session id:
nxserver-1000-39D9A17772934D7678953B2AF548DD4C
server_nxnode_echo: NX> 705 Session display: 1000
server_nxnode_echo: NX> 703 Session type: unix-gnome
server_nxnode_echo: NX> 701 Proxy cookie:
702944a92307f5e7ea86e439f687f054
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie:
702944a92307f5e7ea86e439f687f054
server_nxnode_echo: NX> 704 Session cache: unix-gnome
server_nxnode_echo: NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
server_nxnode_echo: NX> 710 Session status: running
server_nxnode_echo: NX> 1002 Commit
NX> 1006 Session status: running
session_status 39D9A17772934D7678953B2AF548DD4C Running
NX> 105 server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set
SESSION_LOG_CLEAN=0 in node.conf and investigate
"/home/drindt/.nx/F-C-nxserver-1000-39D9A17772934D7678953B2AF548DD4C/session". You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode --agent to test the basic functionality. Session log follows:
server_nxnode_echo: NX> 596 Session startup failed.
=== 8< ===
then i had logged in via ssh -Y mynxserver as user drindt and do this:
=== 8< ===
[drindt at nxserver ~]$ /usr/libexec/nx/nxnode --agent
NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
NX> 716 Starting NX Agent ...
NXAGENT - Version 2.1.0
Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Agent running with pid '3580'.
Session: Starting session at 'Wed Nov 14 21:22:29 2007'.
Info: Detected window manager running.
Info: Not using local device configuration changes.
Info: Using alpha channel in render extension.
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing
from list!
Could not init font path element /usr/share/X11/fonts/Speedo/, removing
from list!
Could not init font path element /usr/share/X11/fonts/75dpi/, removing
from list!
Could not init font path element /usr/share/fonts/misc/, removing from
list!
Could not init font path element /usr/share/fonts/Speedo/, removing from
list!
Could not init font path element /usr/share/fonts/Type1/, removing from
list!
Could not init font path element /usr/share/fonts/75dpi/, removing from
list!
Could not init font path element /usr/share/fonts/100dpi/, removing from
list!
Could not init font path element /usr/share/fonts/TTF/, removing from
list!
nxagentRedirectDefaultWindows: WARNING! Redirecting default window id
[69206047] to off-screen memory.
Session: Session started at 'Wed Nov 14 21:22:37 2007'.
Session: Terminating session at 'Wed Nov 14 21:22:50 2007'.
Session: Session terminated at 'Wed Nov 14 21:22:50 2007'.
NX> 716 NX Agent exited with status: 0
NX> 1001 Bye.
=== 8< ===
The !M Window is appearing and inside is a black screen area i guess
thats 640x480 resolution i close it and the exit status is 0 - seems
fine.
But a connection with the NX Client doesnt work. The server told me that
i should investigate the session file and that contains:
=== 8< ===
[root at nxserver ~]#
cat /home/drindt/.nx/F-C-nxserver-1000-8C7A99271A4F7B0C93A746ED99CD592A/session
NXAGENT - Version 2.1.0
Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Agent running with pid '4005'.
Session: Starting session at 'Wed Nov 14 21:23:20 2007'.
Info: Proxy running in server mode with pid '4005'.
Info: Waiting for connection from '127.0.0.1' on port '5000'.
Info: Accepted connection from '127.0.0.1' with port '55345'.
Info: Connection with remote proxy established.
Warning: Connected to remote NXPROXY version 3.0.0 with local version
2.1.0.
Warning: Consider checking http://www.nomachine.com/ for updates.
Info: Synchronizing local and remote caches.
Info: Aborting the procedure due to signal '15'.
Fatal server error:
Error: Unable to open display
'nx/nx,options=/home/drindt/.nx/C-nxserver-1000-8C7A99271A4F7B0C93A746ED99CD592A/options:1000'.
=== 8< ===
I'm complete confused. The Client iam install is the following version:
=== 8< ===
[drindt at diogenes ~]$ rpm -q nxclient
nxclient-3.0.0-84
=== 8< ===
Thanks for helping me.
--
Daniel Rindt <daniel at rindt.name>
More information about the FreeNX-kNX
mailing list